mirror of
https://git.rockylinux.org/rocky/pungi-rocky.git
synced 2024-11-06 21:31:24 +00:00
add nfv
This commit is contained in:
parent
4396193edf
commit
f333ed3b6e
48
nfv.conf
Normal file
48
nfv.conf
Normal file
@ -0,0 +1,48 @@
|
||||
release_name = "Rocky Linux NFV"
|
||||
release_short = "NFV"
|
||||
release_version = "8"
|
||||
release_is_layered = False
|
||||
|
||||
variants_file='variants-nfv.xml'
|
||||
sigkeys = ['6D745A60']
|
||||
create_jigdo = False
|
||||
|
||||
pkgset_source='koji'
|
||||
|
||||
pkgset_koji_tag='nfv8-el8-compose'
|
||||
gather_method = {
|
||||
'^.*': { # For all variants
|
||||
'comps': 'nodeps', # resolve dependencies for packages from comps file
|
||||
'module': 'nodeps', # but not for packages from modules
|
||||
}
|
||||
}
|
||||
|
||||
gather_backend = 'dnf'
|
||||
greedy_method = 'build'
|
||||
koji_profile = "koji"
|
||||
|
||||
check_deps = False
|
||||
|
||||
filter_packages = [
|
||||
('^extras$', {
|
||||
'*': [
|
||||
'*',
|
||||
],
|
||||
}),
|
||||
]
|
||||
|
||||
additional_packages = [
|
||||
('^nfv$', {
|
||||
'*': [
|
||||
'*',
|
||||
],
|
||||
}),
|
||||
]
|
||||
|
||||
createiso_skip = [
|
||||
|
||||
('^extras$', {
|
||||
'*': True,
|
||||
'src': True
|
||||
}),
|
||||
]
|
18
scripts/updates-8-nfv.sh
Executable file
18
scripts/updates-8-nfv.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
TARGET_DIR="/mnt/compose/8"
|
||||
SHORT=NFV
|
||||
CONFIG=/etc/pungi-prod/nfv.conf
|
||||
# Unused for now
|
||||
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-8/COMPOSE_ID)
|
||||
SKIP="--skip-phase buildinstall --skip-phase createiso --skip-phase extra_isos --skip-phase productimg"
|
||||
LABEL="--production --no-label"
|
||||
CMD="pungi-koji --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $SKIP $LABEL"
|
||||
|
||||
if [ -z "$COMPOSE_ID" ]; then
|
||||
CMD="$CMD --target-dir=$TARGET_DIR"
|
||||
else
|
||||
CMD="$CMD --debug-mode --compose-dir=$TARGET_DIR/$COMPOSE_ID"
|
||||
fi
|
||||
|
||||
time $CMD
|
11
variants-nfv.xml
Normal file
11
variants-nfv.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE variants PUBLIC "-//Rocky, Inc.//DTD Variants info//EN" "variants2012.dtd">
|
||||
<variants>
|
||||
<variant id="nfv" name="nfv" type="variant">
|
||||
<arches>
|
||||
<arch>aarch64</arch>
|
||||
<arch>ppc64le</arch>
|
||||
<arch>x86_64</arch>
|
||||
</arches>
|
||||
</variant>
|
||||
</variants>
|
Loading…
Reference in New Issue
Block a user