mirror of
https://git.rockylinux.org/rocky/pungi-rocky.git
synced 2024-11-17 10:21:26 +00:00
add rockypi variant
This commit is contained in:
parent
e94e12375a
commit
06a1020230
58
rockypi.conf
Normal file
58
rockypi.conf
Normal file
@ -0,0 +1,58 @@
|
||||
release_name = "Rocky Linux Rasperry Pi"
|
||||
release_short = "rockyrpi"
|
||||
release_version = "8"
|
||||
release_is_layered = False
|
||||
|
||||
variants_file='variants-rockyrpi.xml'
|
||||
sigkeys = ['6D745A60']
|
||||
create_jigdo = False
|
||||
|
||||
pkgset_source='koji'
|
||||
|
||||
pkgset_koji_tag='rpi-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
|
||||
|
||||
createrepo_deltas = False
|
||||
createrepo_database = True
|
||||
createrepo_c = True
|
||||
createrepo_checksum = "sha256"
|
||||
createrepo_use_xz = True
|
||||
createrepo_num_threads = 8
|
||||
createrepo_num_workers = 8
|
||||
createrepo_extra_args = ['--distro=cpe:/o:rocky:rocky:8,Rocky Linux 8', '--revision=8.4']
|
||||
hashed_directories = True
|
||||
|
||||
filter_packages = [
|
||||
('^extras$', {
|
||||
'*': [
|
||||
'*',
|
||||
],
|
||||
}),
|
||||
]
|
||||
|
||||
additional_packages = [
|
||||
('^nfv$', {
|
||||
'*': [
|
||||
'*',
|
||||
],
|
||||
}),
|
||||
]
|
||||
|
||||
createiso_skip = [
|
||||
|
||||
('^extras$', {
|
||||
'*': True,
|
||||
'src': True
|
||||
}),
|
||||
]
|
19
scripts/updates-8-rockypi.sh
Executable file
19
scripts/updates-8-rockypi.sh
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname "$0")/common-8"
|
||||
TARGET_DIR="/mnt/compose/8"
|
||||
SHORT=rockypi
|
||||
CONFIG=/etc/pungi-prod/rockypi.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
|
9
variants-rockyrpi.xml
Normal file
9
variants-rockyrpi.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE variants PUBLIC "-//Rocky, Inc.//DTD Variants info//EN" "variants2012.dtd">
|
||||
<variants>
|
||||
<variant id="rockyrpi" name="rockyrpi" type="variant">
|
||||
<arches>
|
||||
<arch>aarch64</arch>
|
||||
</arches>
|
||||
</variant>
|
||||
</variants>
|
Loading…
Reference in New Issue
Block a user