From 149293e717ca3a420e803539b1fe360ff5fbbc10 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 25 Feb 2019 09:35:04 +0000 Subject: [PATCH 001/125] IoT: setup for F-30 branched compose Signed-off-by: Peter Robinson --- fedora-iot.conf | 21 ++++++++++----------- twoweek-nightly.sh | 4 ++-- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index ff27852..4709d6e 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -38,7 +38,6 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -#pkgset_koji_tag = 'f30-atomic' pkgset_koji_tag = 'f30-iot' pkgset_koji_inherit = False @@ -220,7 +219,7 @@ image_build = { 'distro': 'Fedora-22', 'disk_size': 4, 'arches': ['aarch64', 'x86_64'], - 'install_tree_from': "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/", + 'install_tree_from': "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$arch/os/", 'subvariant': 'IoT', } } @@ -232,10 +231,10 @@ ostree = [ "aarch64": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "treefile": "fedora-iot.json", - "config_url": "https://pagure.io/fedora-iot/atomic.git", + "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "master", "repo": [ - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" + "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$basearch/os/" ] "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", @@ -245,10 +244,10 @@ ostree = [ "armhfp": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "treefile": "fedora-iot.json", - "config_url": "https://pagure.io/fedora-iot/atomic.git", + "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "master", "repo": [ - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" + "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$basearch/os/" ] "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", @@ -258,10 +257,10 @@ ostree = [ "x86_64": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "treefile": "fedora-iot.json", - "config_url": "https://pagure.io/fedora-iot/atomic.git", + "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "master", "repo": [ - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" + "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$basearch/os/" ] "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", @@ -275,7 +274,7 @@ ostree_installer = [ ("^IoT$", { "aarch64": { "repo": [ - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" + "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$arch/os/" ], "release": None, "rootfs_size": "4", @@ -295,7 +294,7 @@ ostree_installer = [ }, "armhfp": { "repo": [ - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" + "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$arch/os/" ], "release": None, "rootfs_size": "4", @@ -315,7 +314,7 @@ ostree_installer = [ }, "x86_64": { "repo": [ - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" + "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$arch/os/" ], "release": None, "rootfs_size": "4", diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 1ad7f85..7f0ed64 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -18,7 +18,7 @@ TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " RSYNCPREFIX="sudo -u ftpsync" -RSYNCTARGET="/pub/alt/iot/rawhide/" +RSYNCTARGET="/pub/alt/iot/branched/" OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) # assume a releng dir is a git checkout of the releng repo @@ -77,4 +77,4 @@ SUBJECT='Fedora '$RELEASE' compose report: '$SHORTCOMPOSE_ID' changes' # mutt -e "set from=\"$FROM\"" -e 'set envelope_from=yes' -s "$SUBJECT" $tomail #done -find $TARGET_DIR -xdev -depth -maxdepth 2 -mtime +14 -name Fedora-IoT-${RELEASE}\* -exec rm -rf {} \; +#find $TARGET_DIR -xdev -depth -maxdepth 2 -mtime +14 -name Fedora-IoT-${RELEASE}\* -exec rm -rf {} \; From f6ea1360696a01884bd87a93ee841f925fef5c09 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 1 Mar 2019 15:47:54 +0000 Subject: [PATCH 002/125] Enable armhfp image builds Signed-off-by: Peter Robinson --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 4709d6e..b266bf3 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -218,7 +218,7 @@ image_build = { 'kickstart': 'fedora-iot.ks', 'distro': 'Fedora-22', 'disk_size': 4, - 'arches': ['aarch64', 'x86_64'], + 'arches': ['aarch64', 'armhfp', 'x86_64'], 'install_tree_from': "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$arch/os/", 'subvariant': 'IoT', } From 27032caf8e1520ef766b0d8c7a35cb5e47f6f099 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 15 Mar 2019 07:43:06 +0000 Subject: [PATCH 003/125] IoT: images: allow armhfp to fail while things settle out Signed-off-by: Peter Robinson --- fedora-iot.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index b266bf3..9354825 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -221,6 +221,7 @@ image_build = { 'arches': ['aarch64', 'armhfp', 'x86_64'], 'install_tree_from': "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$arch/os/", 'subvariant': 'IoT', + 'failable': ['armhfp'], } } ], From f498ab9efcc0a3eff83ed4054f489fea136d4a70 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 22 May 2019 12:47:19 +0100 Subject: [PATCH 004/125] don't sync out --- twoweek-nightly.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 7f0ed64..fb6aa3c 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -49,6 +49,9 @@ if [ "$?" != "0" ]; then fi ostree summary --update --repo=/mnt/koji/compose/iot/repo/ +# Exit now we're post release +exit 1 + NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-.*-||g') From 1106bac109c0a9b1004f93e91c2738bb986aba8b Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 25 Jun 2019 18:45:22 +0100 Subject: [PATCH 005/125] add inital script for release sync Signed-off-by: Peter Robinson --- sync-release.sh | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100755 sync-release.sh diff --git a/sync-release.sh b/sync-release.sh new file mode 100755 index 0000000..65977d1 --- /dev/null +++ b/sync-release.sh @@ -0,0 +1,53 @@ +#!/bin/sh +set -x +export LC_ALL=C +LABEL=$1 +# Remove the label from arguments. It gets special treatment. Other arguments +# to the script are passed to pungi-koji directly. +shift +CONFIG="fedora-iot.conf" +TARGET_DIR="/mnt/koji/compose/iot" +NIGHTLY="" +DEST=$(pwd) +DATE=$(date "+%Y%m%d") +# the Pungi 'shortname', which we will include in fedmsgs for disambiguation +SHORT="Fedora-IoT" +RELEASE="30" +RELEASE_TITLE="30" +COMPSFILE="comps-f30.xml" +TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` +TOMAIL="iot@lists.fedoraproject.org" +FROM="Fedora IoT Report " +RSYNCPREFIX="sudo -u ftpsync" +RSYNCTARGET="/pub/alt/iot/30/" +OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) + +NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) +SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-.*-||g') + +DESTDIR=$TARGET_DIR/$NEWCOMPOSE_ID +# Public URL the synced compose will wind up at, we put it in fedmsgs +LOCATION="https://dl.fedoraproject.org$RSYNCTARGET" +# Update fedmsg template +#fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID", "$LOCATION") +#fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID" "$LOCATION") + +$RSYNCPREFIX mkdir -p $DESTDIR +# Tell interested persons that the rsync is starting (zomg!) +#send_fedmsg "${fedmsg_json_start}" ${RELEASE} rsync.start +for dir in IoT metadata ; + do + $RSYNCPREFIX rsync -avhH --delete-after $DESTDIR/compose/$dir/ "$RSYNCTARGET/$dir/" ; + $RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCTARGET/" --name $NEWCOMPOSE_ID + done +# Tell interested persons that the rsync is done. +#send_fedmsg "${fedmsg_json_done}" ${RELEASE} rsync.complete +# Tell everyone by fedmsg about the compose +#send_fedmsg "${fedmsg_json_done}" ${RELEASE} complete +#SUBJECT='Fedora IoT'$RELEASE' compose report: '$SHORTCOMPOSE_ID' changes' +#for tomail in $TOMAIL ; do +# cat $DESTDIR/logs/*verbose $DESTDIR/logs/depcheck | \ +# mutt -e "set from=\"$FROM\"" -e 'set envelope_from=yes' -s "$SUBJECT" $tomail +#done + +#find $TARGET_DIR -xdev -depth -maxdepth 2 -mtime +14 -name Fedora-IoT-${RELEASE}\* -exec rm -rf {} \; From 776f4c41c87e514cc3001c49d47099a35d162b30 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 2 Jul 2019 14:04:47 +0100 Subject: [PATCH 006/125] setup for F-31 --- fedora-iot.conf | 42 +++++++++++++++++++++--------------------- twoweek-nightly.sh | 6 +++--- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index ff27852..78f848f 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,10 +1,10 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '30' +release_version = '31' release_is_layered = False # Let's not build install media during this run. For the image builds -# and OSTree installer we'll use inputs from other f30 runs. +# and OSTree installer we'll use inputs from other f31 runs. skip_phases = ["buildinstall", "productimg", "extra_files"] ostree_installer_overwrite = True @@ -14,8 +14,8 @@ comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'master', - 'file': 'comps-f30.xml', - 'command': 'make comps-f30.xml' + 'file': 'comps-f31.xml', + 'command': 'make comps-f31.xml' } variants_file='variants-fedora.xml' sigkeys = ['CFC659B9'] @@ -29,7 +29,7 @@ hashed_directories = True # RUNROOT settings runroot = True runroot_channel = 'compose' -runroot_tag = 'f30-build' +runroot_tag = 'f31-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -38,8 +38,8 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -#pkgset_koji_tag = 'f30-atomic' -pkgset_koji_tag = 'f30-iot' +#pkgset_koji_tag = 'f31-atomic' +pkgset_koji_tag = 'f31-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -207,9 +207,9 @@ translate_paths = [ # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '30' +global_version = '31' # live_images ignores this in favor of live_target -global_target = 'f30' +global_target = 'f31' image_build = { '^IoT$': [ { @@ -232,7 +232,7 @@ ostree = [ "aarch64": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "treefile": "fedora-iot.json", - "config_url": "https://pagure.io/fedora-iot/atomic.git", + "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "master", "repo": [ "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" @@ -245,7 +245,7 @@ ostree = [ "armhfp": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "treefile": "fedora-iot.json", - "config_url": "https://pagure.io/fedora-iot/atomic.git", + "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "master", "repo": [ "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" @@ -258,7 +258,7 @@ ostree = [ "x86_64": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "treefile": "fedora-iot.json", - "config_url": "https://pagure.io/fedora-iot/atomic.git", + "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "master", "repo": [ "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" @@ -285,10 +285,10 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-iot-2019", + "ostree_oskey=fedora-31", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", - "ostree_install_ref=fedora/devel/aarch64/iot", - "ostree_update_ref=fedora/devel/aarch64/iot", + "ostree_install_ref=fedora/rawhide/aarch64/iot", + "ostree_update_ref=fedora/rawhide/aarch64/iot", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', 'template_branch': 'master', @@ -305,10 +305,10 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-iot-2019", + "ostree_oskey=fedora-31", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", - "ostree_install_ref=fedora/devel/armhfp/iot", - "ostree_update_ref=fedora/devel/armhfp/iot", + "ostree_install_ref=fedora/rawhide/armhfp/iot", + "ostree_update_ref=fedora/rawhide/armhfp/iot", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', 'template_branch': 'master', @@ -325,10 +325,10 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-iot-2019", + "ostree_oskey=fedora-31", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", - "ostree_install_ref=fedora/devel/x86_64/iot", - "ostree_update_ref=fedora/devel/x86_64/iot", + "ostree_install_ref=fedora/rawhide/x86_64/iot", + "ostree_update_ref=fedora/rawhide/x86_64/iot", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', 'template_branch': 'master', diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 1ad7f85..70d1569 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="30" -RELEASE_TITLE="30" -COMPSFILE="comps-f30.xml" +RELEASE="31" +RELEASE_TITLE="31" +COMPSFILE="comps-f31.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " From c22d479fa04f7c59fe61e7cae6a3e43147ac24a4 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 2 Jul 2019 15:49:42 +0100 Subject: [PATCH 007/125] drop key config, should be able to auto roll it Signed-off-by: Peter Robinson --- fedora-iot.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 78f848f..da30204 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -285,7 +285,6 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-31", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/aarch64/iot", "ostree_update_ref=fedora/rawhide/aarch64/iot", @@ -305,7 +304,6 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-31", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/armhfp/iot", "ostree_update_ref=fedora/rawhide/armhfp/iot", @@ -325,7 +323,6 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-31", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/x86_64/iot", "ostree_update_ref=fedora/rawhide/x86_64/iot", From 6306cea75fa8388910c6af4123c96b9af10c3234 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 2 Jul 2019 23:35:27 +0100 Subject: [PATCH 008/125] Revert "drop key config, should be able to auto roll it" This reverts commit c22d479fa04f7c59fe61e7cae6a3e43147ac24a4. Signed-off-by: Peter Robinson --- fedora-iot.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index da30204..78f848f 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -285,6 +285,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", + "ostree_oskey=fedora-31", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/aarch64/iot", "ostree_update_ref=fedora/rawhide/aarch64/iot", @@ -304,6 +305,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", + "ostree_oskey=fedora-31", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/armhfp/iot", "ostree_update_ref=fedora/rawhide/armhfp/iot", @@ -323,6 +325,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", + "ostree_oskey=fedora-31", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/x86_64/iot", "ostree_update_ref=fedora/rawhide/x86_64/iot", From 4ed473c1751109b682d6ae59b841ed52700125a9 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 10 Jul 2019 18:34:50 +0100 Subject: [PATCH 009/125] update compose branches for F-30 Signed-off-by: Peter Robinson --- fedora-iot.conf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 9354825..038f6e1 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -204,7 +204,7 @@ translate_paths = [ ] # These will be inherited by live_media, live_images and image_build -global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' +global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#origin/f30' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' global_version = '30' # live_images ignores this in favor of live_target @@ -233,7 +233,7 @@ ostree = [ "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", - "config_branch": "master", + "config_branch": "f30", "repo": [ "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$basearch/os/" ] @@ -246,7 +246,7 @@ ostree = [ "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", - "config_branch": "master", + "config_branch": "f30", "repo": [ "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$basearch/os/" ] @@ -259,7 +259,7 @@ ostree = [ "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", - "config_branch": "master", + "config_branch": "f30", "repo": [ "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$basearch/os/" ] @@ -291,7 +291,7 @@ ostree_installer = [ "ostree_update_ref=fedora/devel/aarch64/iot", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', - 'template_branch': 'master', + 'template_branch': 'f30', }, "armhfp": { "repo": [ @@ -311,7 +311,7 @@ ostree_installer = [ "ostree_update_ref=fedora/devel/armhfp/iot", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', - 'template_branch': 'master', + 'template_branch': 'f30', }, "x86_64": { "repo": [ @@ -331,7 +331,7 @@ ostree_installer = [ "ostree_update_ref=fedora/devel/x86_64/iot", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', - 'template_branch': 'master', + 'template_branch': 'f30', } }) ] From d0215f0d88866a36dac66ed2297c8bd79e3d16b0 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 10 Jul 2019 19:07:32 +0100 Subject: [PATCH 010/125] add updates and override repos Signed-off-by: Peter Robinson --- fedora-iot.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index 038f6e1..cefa3f7 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -235,7 +235,9 @@ ostree = [ "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "f30", "repo": [ + "IoT", "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$basearch/os/" + "https://kojipkgs.fedoraproject.org/compose/updates/f30-updates/compose/Everything/$basearch/os/", ] "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", @@ -248,7 +250,9 @@ ostree = [ "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "f30", "repo": [ + "IoT", "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$basearch/os/" + "https://kojipkgs.fedoraproject.org/compose/updates/f30-updates/compose/Everything/$basearch/os/", ] "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", @@ -261,7 +265,9 @@ ostree = [ "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "f30", "repo": [ + "IoT", "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$basearch/os/" + "https://kojipkgs.fedoraproject.org/compose/updates/f30-updates/compose/Everything/$basearch/os/", ] "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", @@ -275,6 +281,7 @@ ostree_installer = [ ("^IoT$", { "aarch64": { "repo": [ + "IoT", "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$arch/os/" ], "release": None, @@ -295,6 +302,7 @@ ostree_installer = [ }, "armhfp": { "repo": [ + "IoT", "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$arch/os/" ], "release": None, @@ -315,6 +323,7 @@ ostree_installer = [ }, "x86_64": { "repo": [ + "IoT", "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$arch/os/" ], "release": None, From 9cb7e4719d6adf72c26c40437e862c20b0c30af8 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 22 Jul 2019 15:51:52 +0100 Subject: [PATCH 011/125] move F-30 to stable ostree branch Signed-off-by: Peter Robinson --- fedora-iot.conf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index cefa3f7..213bdb6 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -294,8 +294,8 @@ ostree_installer = [ "ostree_osname=fedora-iot", "ostree_oskey=fedora-iot-2019", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", - "ostree_install_ref=fedora/devel/aarch64/iot", - "ostree_update_ref=fedora/devel/aarch64/iot", + "ostree_install_ref=fedora/stable/aarch64/iot", + "ostree_update_ref=fedora/stable/aarch64/iot", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', 'template_branch': 'f30', @@ -315,8 +315,8 @@ ostree_installer = [ "ostree_osname=fedora-iot", "ostree_oskey=fedora-iot-2019", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", - "ostree_install_ref=fedora/devel/armhfp/iot", - "ostree_update_ref=fedora/devel/armhfp/iot", + "ostree_install_ref=fedora/stable/armhfp/iot", + "ostree_update_ref=fedora/stable/armhfp/iot", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', 'template_branch': 'f30', @@ -336,8 +336,8 @@ ostree_installer = [ "ostree_osname=fedora-iot", "ostree_oskey=fedora-iot-2019", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", - "ostree_install_ref=fedora/devel/x86_64/iot", - "ostree_update_ref=fedora/devel/x86_64/iot", + "ostree_install_ref=fedora/stable/x86_64/iot", + "ostree_update_ref=fedora/stable/x86_64/iot", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', 'template_branch': 'f30', From a97c5ffb6fe80f07c9f3de895d2217cfb8dc9573 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 23 Jul 2019 09:53:26 +0100 Subject: [PATCH 012/125] update keys for F-31 Signed-off-by: Peter Robinson --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 78f848f..535fc74 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -18,7 +18,7 @@ comps_file = { 'command': 'make comps-f31.xml' } variants_file='variants-fedora.xml' -sigkeys = ['CFC659B9'] +sigkeys = ['3C3359C4'] # limit tree architectures # if undefined, all architectures from variants.xml will be included # tree_arches = ['aarch64', 'armhfp', 'x86_64'] From cffcb981a94ec23e2ac52c477ad50b62eeffd581 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 27 Aug 2019 20:13:26 +0100 Subject: [PATCH 013/125] setup rawhide up for F-32 Signed-off-by: Peter Robinson --- fedora-iot.conf | 24 ++++++++++++------------ twoweek-nightly.sh | 6 +++--- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 535fc74..7a10578 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,10 +1,10 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '31' +release_version = '32' release_is_layered = False # Let's not build install media during this run. For the image builds -# and OSTree installer we'll use inputs from other f31 runs. +# and OSTree installer we'll use inputs from other f32 runs. skip_phases = ["buildinstall", "productimg", "extra_files"] ostree_installer_overwrite = True @@ -14,8 +14,8 @@ comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'master', - 'file': 'comps-f31.xml', - 'command': 'make comps-f31.xml' + 'file': 'comps-f32.xml', + 'command': 'make comps-f32.xml' } variants_file='variants-fedora.xml' sigkeys = ['3C3359C4'] @@ -29,7 +29,7 @@ hashed_directories = True # RUNROOT settings runroot = True runroot_channel = 'compose' -runroot_tag = 'f31-build' +runroot_tag = 'f32-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -38,8 +38,8 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -#pkgset_koji_tag = 'f31-atomic' -pkgset_koji_tag = 'f31-iot' +#pkgset_koji_tag = 'f32-atomic' +pkgset_koji_tag = 'f32-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -207,9 +207,9 @@ translate_paths = [ # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '31' +global_version = '32' # live_images ignores this in favor of live_target -global_target = 'f31' +global_target = 'f32' image_build = { '^IoT$': [ { @@ -285,7 +285,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-31", + "ostree_oskey=fedora-32", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/aarch64/iot", "ostree_update_ref=fedora/rawhide/aarch64/iot", @@ -305,7 +305,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-31", + "ostree_oskey=fedora-32", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/armhfp/iot", "ostree_update_ref=fedora/rawhide/armhfp/iot", @@ -325,7 +325,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-31", + "ostree_oskey=fedora-32", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/x86_64/iot", "ostree_update_ref=fedora/rawhide/x86_64/iot", diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 70d1569..fa59364 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="31" -RELEASE_TITLE="31" -COMPSFILE="comps-f31.xml" +RELEASE="32" +RELEASE_TITLE="32" +COMPSFILE="comps-f32.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " From 2a2719ba1042a90a6e82d45d7a19d245fc30bcaf Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 28 Aug 2019 10:16:56 +0100 Subject: [PATCH 014/125] Update F-30 GA release location Signed-off-by: Peter Robinson --- fedora-iot.conf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 213bdb6..0862e81 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -219,7 +219,7 @@ image_build = { 'distro': 'Fedora-22', 'disk_size': 4, 'arches': ['aarch64', 'armhfp', 'x86_64'], - 'install_tree_from': "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$arch/os/", + 'install_tree_from': "https://kojipkgs.fedoraproject.org/compose/30/latest-Fedora-30/compose/Everything/$arch/os/", 'subvariant': 'IoT', 'failable': ['armhfp'], } @@ -236,7 +236,7 @@ ostree = [ "config_branch": "f30", "repo": [ "IoT", - "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$basearch/os/" + "https://kojipkgs.fedoraproject.org/compose/30/latest-Fedora-30/compose/Everything/$basearch/os/", "https://kojipkgs.fedoraproject.org/compose/updates/f30-updates/compose/Everything/$basearch/os/", ] "tag_ref": False, @@ -251,7 +251,7 @@ ostree = [ "config_branch": "f30", "repo": [ "IoT", - "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$basearch/os/" + "https://kojipkgs.fedoraproject.org/compose/30/latest-Fedora-30/compose/Everything/$basearch/os/", "https://kojipkgs.fedoraproject.org/compose/updates/f30-updates/compose/Everything/$basearch/os/", ] "tag_ref": False, @@ -266,7 +266,7 @@ ostree = [ "config_branch": "f30", "repo": [ "IoT", - "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$basearch/os/" + "https://kojipkgs.fedoraproject.org/compose/30/latest-Fedora-30/compose/Everything/$basearch/os/", "https://kojipkgs.fedoraproject.org/compose/updates/f30-updates/compose/Everything/$basearch/os/", ] "tag_ref": False, @@ -282,7 +282,7 @@ ostree_installer = [ "aarch64": { "repo": [ "IoT", - "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$arch/os/" + "https://kojipkgs.fedoraproject.org/compose/30/latest-Fedora-30/compose/Everything/$basearch/os/", ], "release": None, "rootfs_size": "4", @@ -303,7 +303,7 @@ ostree_installer = [ "armhfp": { "repo": [ "IoT", - "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$arch/os/" + "https://kojipkgs.fedoraproject.org/compose/30/latest-Fedora-30/compose/Everything/$basearch/os/", ], "release": None, "rootfs_size": "4", @@ -324,7 +324,7 @@ ostree_installer = [ "x86_64": { "repo": [ "IoT", - "https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-30/compose/Everything/$arch/os/" + "https://kojipkgs.fedoraproject.org/compose/30/latest-Fedora-30/compose/Everything/$basearch/os/", ], "release": None, "rootfs_size": "4", From c7d0541c8617b7f39a8bf707added67959b0d0a8 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 1 Nov 2019 15:51:51 +0000 Subject: [PATCH 015/125] f32: update sigkey Signed-off-by: Peter Robinson --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 7a10578..3ba1f6d 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -18,7 +18,7 @@ comps_file = { 'command': 'make comps-f32.xml' } variants_file='variants-fedora.xml' -sigkeys = ['3C3359C4'] +sigkeys = ['12C944D0'] # limit tree architectures # if undefined, all architectures from variants.xml will be included # tree_arches = ['aarch64', 'armhfp', 'x86_64'] From 6dfcd92387bafa34829d7fe9e7851a36cf01c609 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 9 Nov 2019 16:39:03 +0000 Subject: [PATCH 016/125] minor pungi config cleanups Signed-off-by: Peter Robinson --- fedora-iot.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 3ba1f6d..1c50a91 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -2,14 +2,12 @@ release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' release_version = '32' -release_is_layered = False # Let's not build install media during this run. For the image builds # and OSTree installer we'll use inputs from other f32 runs. skip_phases = ["buildinstall", "productimg", "extra_files"] ostree_installer_overwrite = True # GENERAL SETTINGS -bootable = True comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', @@ -27,7 +25,6 @@ sigkeys = ['12C944D0'] tree_variants = ['IoT'] hashed_directories = True # RUNROOT settings -runroot = True runroot_channel = 'compose' runroot_tag = 'f32-build' # PKGSET From fb9efbe9773e7c1241931a530bbd255275a3c8fc Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 10 Nov 2019 17:43:15 +0000 Subject: [PATCH 017/125] Add gather to the skip_phases option Signed-off-by: Peter Robinson --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 1c50a91..3ecde31 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -4,7 +4,7 @@ release_short = 'Fedora-IoT' release_version = '32' # Let's not build install media during this run. For the image builds # and OSTree installer we'll use inputs from other f32 runs. -skip_phases = ["buildinstall", "productimg", "extra_files"] +skip_phases = ["buildinstall", "productimg", "gather", "extra_files"] ostree_installer_overwrite = True # GENERAL SETTINGS From 1242f72efae825689b79f04fa3fe92162667f6f0 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 11 Feb 2020 12:40:06 +0000 Subject: [PATCH 018/125] Updates to pungi config for F-32+ Signed-off-by: Peter Robinson --- fedora-iot.conf | 114 ++++++++++++++++++++++++------------------------ 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 3ecde31..26f79b9 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -4,7 +4,7 @@ release_short = 'Fedora-IoT' release_version = '32' # Let's not build install media during this run. For the image builds # and OSTree installer we'll use inputs from other f32 runs. -skip_phases = ["buildinstall", "productimg", "gather", "extra_files"] +skip_phases = ["buildinstall", "gather", "extra_files"] ostree_installer_overwrite = True # GENERAL SETTINGS @@ -17,16 +17,19 @@ comps_file = { } variants_file='variants-fedora.xml' sigkeys = ['12C944D0'] + # limit tree architectures # if undefined, all architectures from variants.xml will be included -# tree_arches = ['aarch64', 'armhfp', 'x86_64'] +tree_arches = ['aarch64', 'armhfp', 'x86_64'] # limit tree variants # if undefined, all variants from variants.xml will be included tree_variants = ['IoT'] hashed_directories = True + # RUNROOT settings runroot_channel = 'compose' runroot_tag = 'f32-build' + # PKGSET pkgset_source = 'koji' # koji, repos @@ -35,24 +38,35 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -#pkgset_koji_tag = 'f32-atomic' pkgset_koji_tag = 'f32-iot' pkgset_koji_inherit = False filter_system_release_packages = False # GATHER -gather_method = 'deps' +gather_method = { + '^.*': { # For all variants + 'comps': 'deps', # resolve dependencies for packages from comps file + 'module': 'nodeps', # but not for packages from modules + } +} +gather_backend = 'dnf' gather_profiler = True check_deps = False greedy_method = 'build' + +repoclosure_backend = 'dnf' + # CREATEREPO -createrepo_c = True -createrepo_checksum = 'sha256' +createrepo_deltas = False +createrepo_database = True +createrepo_use_xz = True +createrepo_num_workers = 10 + # CHECKSUMS media_checksums = ['sha256'] media_checksum_one_file = True -media_checksum_base_filename = 'Fedora-%(variant)s-%(version)s-%(date)s.%(respin)s-%(arch)s' +media_checksum_base_filename = '%(release_short)s-%(variant)s-%(version)s-%(arch)s-%(date)s%(type_suffix)s.%(respin)s' #jigdo create_jigdo = False @@ -64,12 +78,11 @@ buildinstall_skip = [ }), ] -# Enables macboot on x86_64 for all variants and disables upgrade image building -# # everywhere. +# disables macboot and upgrade image building lorax_options = [ ('^.*$', { 'x86_64': { - 'nomacboot': False + 'nomacboot': True }, '*': { 'noupgrade': True @@ -77,8 +90,6 @@ lorax_options = [ }) ] -# We just grab everything, since everything that's gather'ed is meant as an -# override. additional_packages = [ ('^IoT$$', { '*': [ @@ -97,11 +108,12 @@ filter_packages = [] multilib_blacklist = { '*': ['kernel', 'kernel-PAE*', 'kernel*debug*', 'dmraid-devel', 'kdeutils-devel', 'mkinitrd-devel', - 'php-devel', 'java-*', + 'php-devel', 'java-*', 'bash-devel', 'httpd-devel', 'tomcat-native', 'php*', 'httpd', 'krb5-server', 'krb5-server-ldap', 'mod_*', 'ghc-*' ], } + # format: {arch|*: [packages]} multilib_whitelist = { '*': ['libgnat', 'wine', 'lmms-vst', 'nspluginwrapper', @@ -110,33 +122,24 @@ multilib_whitelist = { 'syslinux-tftpboot', 'nosync', '*-static', 'apitrace-libs', 'fakeroot-libs', 'postgresql-odbc', 'mysql-connector-odbc', 'fakechroot-libs','mesa-vdpau-drivers', 'p11-kit-trust', - 'mariadb-connector-odbc', 'compiler-rt' + 'mariadb-connector-odbc', 'compiler-rt', + 'nvidia-query-resource-opengl-lib', + 'ibus-libs', 'ibus-gtk2', 'ibus-gtk3', + 'glib-networking' ], } + createiso_skip = [ - ('^Workstation$', { - '*': True, - 'src': True - }), - - ('^Server$', { - 'src': True - }), - ('^Everything$', { '*': True, 'src': True }), - ('^Modular$', { - '*': True, - 'src': True - }), ] # fomat: [(variant_uid_regex, {arch|*: [scm_dicts]})] #extra_files = [ -# ('^(Server|Workstation)$', { +# ('^(Server)$', { # '*': [ # { # 'scm': 'rpm', @@ -150,11 +153,12 @@ createiso_skip = [ # ], # }), #] + # Image name respecting Fedora's image naming policy -image_name_format = 'Fedora-%(variant)s-%(disc_type)s-%(arch)s-%(version)s-%(date)s.%(respin)s.iso' +image_name_format = '%(release_short)s-%(variant)s-%(disc_type)s-%(arch)s-%(version)s-%(date)s%(type_suffix)s.%(respin)s.iso' # # Use the same format for volume id image_volid_formats = [ - 'Fedora-%(variant)s-%(disc_type)s-%(arch)s-%(version)s' + '%(release_short)s-%(variant)s-%(disc_type)s-%(arch)s-%(version)s' ] # No special handling for layered products, use same format as for regular images image_volid_layered_product_formats = [] @@ -170,10 +174,10 @@ volume_id_substitutions = { 'Beta': 'B', 'Rawhide': 'rawh', 'Astronomy_KDE': 'AstK', - 'AtomicHost': 'AH', - 'AtomicWorkstation': 'AW', + 'Silverblue': 'SB', 'Cinnamon': 'Cinn', 'Cloud': 'C', + 'Comp_Neuro': 'CNr', 'Design_suite': 'Dsgn', 'Electronic_Lab': 'Elec', 'Everything': 'E', @@ -198,7 +202,7 @@ disc_types = { } translate_paths = [ - ('/mnt/koji/compose/', 'http://kojipkgs.fedoraproject.org/compose/'), + ('/mnt/koji/compose/', 'https://kojipkgs.fedoraproject.org/compose/'), ] # These will be inherited by live_media, live_images and image_build @@ -207,6 +211,7 @@ global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' global_version = '32' # live_images ignores this in favor of live_target global_target = 'f32' + image_build = { '^IoT$': [ { @@ -228,42 +233,42 @@ ostree = [ ("^IoT$", { "aarch64": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "force_new_commit": True, "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "master", - "repo": [ - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" - ] + "repo": "Everything", "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", - 'failable': ['*'], - 'update_summary': True, + "ostree_ref": "fedora/rawhide/${basearch}/iot", + "failable": ['*'], + "update_summary": True, }, "armhfp": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "force_new_commit": True, "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "master", - "repo": [ - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" - ] + "repo": "Everything", "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", - 'failable': ['*'], - 'update_summary': True, + "ostree_ref": "fedora/rawhide/${basearch}/iot", + "failable": ['*'], + "update_summary": True, }, "x86_64": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "force_new_commit": True, "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "master", - "repo": [ - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" - ] + "repo": "Everything", "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", - 'failable': ['*'], - 'update_summary': True, + "ostree_ref": "fedora/rawhide/${basearch}/iot", + "failable": ['*'], + "update_summary": True, } }) ] @@ -271,9 +276,7 @@ ostree = [ ostree_installer = [ ("^IoT$", { "aarch64": { - "repo": [ - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" - ], + "repo": "Everything", "release": None, "rootfs_size": "4", "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", @@ -291,9 +294,7 @@ ostree_installer = [ 'template_branch': 'master', }, "armhfp": { - "repo": [ - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" - ], + "repo": "Everything", "release": None, "rootfs_size": "4", "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", @@ -311,9 +312,7 @@ ostree_installer = [ 'template_branch': 'master', }, "x86_64": { - "repo": [ - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" - ], + "repo": "Everything", "release": None, "rootfs_size": "4", "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", @@ -332,4 +331,5 @@ ostree_installer = [ } }) ] + koji_profile = 'compose_koji' From ed0775db965044c5f46bbdc8828c917442382702 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 11 Feb 2020 12:53:04 +0000 Subject: [PATCH 019/125] Go back from 'Everything' to full URL Signed-off-by: Peter Robinson --- fedora-iot.conf | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 26f79b9..0e5abc4 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -237,7 +237,9 @@ ostree = [ "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "master", - "repo": "Everything", + "repo": [ + "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" + ] "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", "ostree_ref": "fedora/rawhide/${basearch}/iot", @@ -250,7 +252,9 @@ ostree = [ "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "master", - "repo": "Everything", + "repo": [ + "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" + ] "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", "ostree_ref": "fedora/rawhide/${basearch}/iot", @@ -263,7 +267,9 @@ ostree = [ "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "master", - "repo": "Everything", + "repo": [ + "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" + ] "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", "ostree_ref": "fedora/rawhide/${basearch}/iot", @@ -276,7 +282,9 @@ ostree = [ ostree_installer = [ ("^IoT$", { "aarch64": { - "repo": "Everything", + "repo": [ + "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" + ], "release": None, "rootfs_size": "4", "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", @@ -294,7 +302,9 @@ ostree_installer = [ 'template_branch': 'master', }, "armhfp": { - "repo": "Everything", + "repo": [ + "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" + ], "release": None, "rootfs_size": "4", "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", @@ -312,7 +322,9 @@ ostree_installer = [ 'template_branch': 'master', }, "x86_64": { - "repo": "Everything", + "repo": [ + "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" + ], "release": None, "rootfs_size": "4", "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", From c800cde67d6416c43679ab0c7d9ca4c6bb694920 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 13 Feb 2020 11:04:02 +0000 Subject: [PATCH 020/125] drop createrepo/gather sections, we don't generate consumable yum repos Signed-off-by: Peter Robinson --- fedora-iot.conf | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 0e5abc4..79c5db6 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -4,7 +4,7 @@ release_short = 'Fedora-IoT' release_version = '32' # Let's not build install media during this run. For the image builds # and OSTree installer we'll use inputs from other f32 runs. -skip_phases = ["buildinstall", "gather", "extra_files"] +skip_phases = ["buildinstall", "gather", "createrepo", "extra_files"] ostree_installer_overwrite = True # GENERAL SETTINGS @@ -43,26 +43,6 @@ pkgset_koji_inherit = False filter_system_release_packages = False -# GATHER -gather_method = { - '^.*': { # For all variants - 'comps': 'deps', # resolve dependencies for packages from comps file - 'module': 'nodeps', # but not for packages from modules - } -} -gather_backend = 'dnf' -gather_profiler = True -check_deps = False -greedy_method = 'build' - -repoclosure_backend = 'dnf' - -# CREATEREPO -createrepo_deltas = False -createrepo_database = True -createrepo_use_xz = True -createrepo_num_workers = 10 - # CHECKSUMS media_checksums = ['sha256'] media_checksum_one_file = True From f9a75d5335c1d560b096c94d5c8a8de517ae94cd Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 17 Feb 2020 19:05:02 +0000 Subject: [PATCH 021/125] Re-add gather method --- fedora-iot.conf | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 79c5db6..516e639 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -4,7 +4,7 @@ release_short = 'Fedora-IoT' release_version = '32' # Let's not build install media during this run. For the image builds # and OSTree installer we'll use inputs from other f32 runs. -skip_phases = ["buildinstall", "gather", "createrepo", "extra_files"] +skip_phases = ["buildinstall", "createrepo", "extra_files"] ostree_installer_overwrite = True # GENERAL SETTINGS @@ -43,6 +43,20 @@ pkgset_koji_inherit = False filter_system_release_packages = False +# GATHER +gather_method = { + '^.*': { # For all variants + 'comps': 'deps', # resolve dependencies for packages from comps file + 'module': 'nodeps', # but not for packages from modules + } +} +gather_backend = 'dnf' +gather_profiler = True +check_deps = False +greedy_method = 'build' + +repoclosure_backend = 'dnf' + # CHECKSUMS media_checksums = ['sha256'] media_checksum_one_file = True From d23132e009337480060664838eb71f03d18cbab8 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 17 Feb 2020 19:15:09 +0000 Subject: [PATCH 022/125] setup rawhide up for F-33 --- fedora-iot.conf | 24 ++++++++++++------------ twoweek-nightly.sh | 6 +++--- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 516e639..bdf2850 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,9 +1,9 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '32' +release_version = '33' # Let's not build install media during this run. For the image builds -# and OSTree installer we'll use inputs from other f32 runs. +# and OSTree installer we'll use inputs from other f33 runs. skip_phases = ["buildinstall", "createrepo", "extra_files"] ostree_installer_overwrite = True @@ -12,11 +12,11 @@ comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'master', - 'file': 'comps-f32.xml', - 'command': 'make comps-f32.xml' + 'file': 'comps-f33.xml', + 'command': 'make comps-f33.xml' } variants_file='variants-fedora.xml' -sigkeys = ['12C944D0'] +sigkeys = ['9570FF31'] # limit tree architectures # if undefined, all architectures from variants.xml will be included @@ -28,7 +28,7 @@ hashed_directories = True # RUNROOT settings runroot_channel = 'compose' -runroot_tag = 'f32-build' +runroot_tag = 'f33-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -38,7 +38,7 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -pkgset_koji_tag = 'f32-iot' +pkgset_koji_tag = 'f33-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -202,9 +202,9 @@ translate_paths = [ # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '32' +global_version = '33' # live_images ignores this in favor of live_target -global_target = 'f32' +global_target = 'f33' image_build = { '^IoT$': [ @@ -287,7 +287,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-32", + "ostree_oskey=fedora-33", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/aarch64/iot", "ostree_update_ref=fedora/rawhide/aarch64/iot", @@ -307,7 +307,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-32", + "ostree_oskey=fedora-33", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/armhfp/iot", "ostree_update_ref=fedora/rawhide/armhfp/iot", @@ -327,7 +327,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-32", + "ostree_oskey=fedora-33", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/x86_64/iot", "ostree_update_ref=fedora/rawhide/x86_64/iot", diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index fa59364..9d8689b 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="32" -RELEASE_TITLE="32" -COMPSFILE="comps-f32.xml" +RELEASE="33" +RELEASE_TITLE="33" +COMPSFILE="comps-f33.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " From e3c39d89f54391fc3bb5ce9053561ed5f0bb5f77 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 19 Feb 2020 10:17:17 +0000 Subject: [PATCH 023/125] Update F-33 ostree key name Signed-off-by: Peter Robinson --- fedora-iot.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index bdf2850..137e6d5 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -287,7 +287,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-33", + "ostree_oskey=fedora-33-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/aarch64/iot", "ostree_update_ref=fedora/rawhide/aarch64/iot", @@ -307,7 +307,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-33", + "ostree_oskey=fedora-33-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/armhfp/iot", "ostree_update_ref=fedora/rawhide/armhfp/iot", @@ -327,7 +327,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-33", + "ostree_oskey=fedora-33-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/x86_64/iot", "ostree_update_ref=fedora/rawhide/x86_64/iot", From ffce9387043312426cd239c1b30e4a7a98d7f6cb Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 28 Apr 2020 14:59:17 +0100 Subject: [PATCH 024/125] Add IoT override repos to rawhide composes. Signed-off-by: Peter Robinson --- fedora-iot.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index 137e6d5..b41b62a 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -232,6 +232,7 @@ ostree = [ "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "master", "repo": [ + "IoT", "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" ] "tag_ref": False, @@ -247,6 +248,7 @@ ostree = [ "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "master", "repo": [ + "IoT", "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" ] "tag_ref": False, @@ -262,6 +264,7 @@ ostree = [ "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "master", "repo": [ + "IoT", "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" ] "tag_ref": False, @@ -277,6 +280,7 @@ ostree_installer = [ ("^IoT$", { "aarch64": { "repo": [ + "IoT", "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" ], "release": None, @@ -297,6 +301,7 @@ ostree_installer = [ }, "armhfp": { "repo": [ + "IoT", "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" ], "release": None, @@ -317,6 +322,7 @@ ostree_installer = [ }, "x86_64": { "repo": [ + "IoT", "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" ], "release": None, From e62634796e8b9af8201e0201cb28b30b0ae0f28f Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Wed, 13 May 2020 11:27:22 -0400 Subject: [PATCH 025/125] Generating .composeinfo file after the compose run Signed-off-by: Mohan Boddu --- nightly.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nightly.sh b/nightly.sh index afcf79b..1dee5cf 100755 --- a/nightly.sh +++ b/nightly.sh @@ -67,6 +67,8 @@ fi NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-.*-||g') +./releng/scripts/build_composeinfo "$TARGET_DIR/$NEWCOMPOSE_ID/" --name "$NEWCOMPOSE_ID" + # Set this to use later for a few items include depcheck DESTDIR=$TARGET_DIR/$NEWCOMPOSE_ID # Public URLs the synced compose will wind up at, we put them in fedmsgs From e6696c65c094039cd8c3da73829b7f8d106c8711 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 14 May 2020 11:27:34 +0100 Subject: [PATCH 026/125] Add .composeinfo generation to twoweek script too Signed-off-by: Peter Robinson --- twoweek-nightly.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 9d8689b..e2b1b05 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -52,6 +52,8 @@ ostree summary --update --repo=/mnt/koji/compose/iot/repo/ NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-.*-||g') +./releng/scripts/build_composeinfo "$TARGET_DIR/$NEWCOMPOSE_ID/" --name "$NEWCOMPOSE_ID" + DESTDIR=$TARGET_DIR/$NEWCOMPOSE_ID # Public URL the synced compose will wind up at, we put it in fedmsgs LOCATION="https://dl.fedoraproject.org$RSYNCTARGET" From 5368b17c8d665ca88393e3bec89aa255d0c1e4c8 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 11 Aug 2020 12:08:24 +0100 Subject: [PATCH 027/125] The ostree component should fail the compose Signed-off-by: Peter Robinson --- fedora-iot.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index b41b62a..e1f359c 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -238,7 +238,6 @@ ostree = [ "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", "ostree_ref": "fedora/rawhide/${basearch}/iot", - "failable": ['*'], "update_summary": True, }, "armhfp": { @@ -254,7 +253,6 @@ ostree = [ "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", "ostree_ref": "fedora/rawhide/${basearch}/iot", - "failable": ['*'], "update_summary": True, }, "x86_64": { @@ -270,7 +268,6 @@ ostree = [ "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", "ostree_ref": "fedora/rawhide/${basearch}/iot", - "failable": ['*'], "update_summary": True, } }) From 14a1d5de21bd81e89325b18a572c867b3cc0a171 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 17 Aug 2020 19:06:05 +0100 Subject: [PATCH 028/125] setup rawhide up for F-34 Signed-off-by: Peter Robinson --- fedora-iot.conf | 24 ++++++++++++------------ twoweek-nightly.sh | 6 +++--- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index e1f359c..606a34f 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,9 +1,9 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '33' +release_version = '34' # Let's not build install media during this run. For the image builds -# and OSTree installer we'll use inputs from other f33 runs. +# and OSTree installer we'll use inputs from other f34 runs. skip_phases = ["buildinstall", "createrepo", "extra_files"] ostree_installer_overwrite = True @@ -12,11 +12,11 @@ comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'master', - 'file': 'comps-f33.xml', - 'command': 'make comps-f33.xml' + 'file': 'comps-f34.xml', + 'command': 'make comps-f34.xml' } variants_file='variants-fedora.xml' -sigkeys = ['9570FF31'] +sigkeys = ['45719a39'] # limit tree architectures # if undefined, all architectures from variants.xml will be included @@ -28,7 +28,7 @@ hashed_directories = True # RUNROOT settings runroot_channel = 'compose' -runroot_tag = 'f33-build' +runroot_tag = 'f34-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -38,7 +38,7 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -pkgset_koji_tag = 'f33-iot' +pkgset_koji_tag = 'f34-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -202,9 +202,9 @@ translate_paths = [ # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '33' +global_version = '34' # live_images ignores this in favor of live_target -global_target = 'f33' +global_target = 'f34' image_build = { '^IoT$': [ @@ -288,7 +288,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-33-primary", + "ostree_oskey=fedora-34-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/aarch64/iot", "ostree_update_ref=fedora/rawhide/aarch64/iot", @@ -309,7 +309,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-33-primary", + "ostree_oskey=fedora-34-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/armhfp/iot", "ostree_update_ref=fedora/rawhide/armhfp/iot", @@ -330,7 +330,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-33-primary", + "ostree_oskey=fedora-34-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/x86_64/iot", "ostree_update_ref=fedora/rawhide/x86_64/iot", diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index e2b1b05..0908cff 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="33" -RELEASE_TITLE="33" -COMPSFILE="comps-f33.xml" +RELEASE="34" +RELEASE_TITLE="34" +COMPSFILE="comps-f34.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " From 51dc3fd0aa9cb5396c41a219e7c466c1b6ef287e Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 3 Oct 2020 19:00:12 +0100 Subject: [PATCH 029/125] Enable ARMv7 image builds Signed-off-by: Peter Robinson --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 606a34f..45755b8 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -215,7 +215,7 @@ image_build = { 'kickstart': 'fedora-iot.ks', 'distro': 'Fedora-22', 'disk_size': 4, - 'arches': ['aarch64', 'x86_64'], + 'arches': ['armhfp', 'aarch64', 'x86_64'], 'install_tree_from': "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/", 'subvariant': 'IoT', } From 3fc9725f0f55a2470e72da91d7b02bfde280be5f Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 8 Oct 2020 11:47:52 +0100 Subject: [PATCH 030/125] imange_build: allow armhfp to fail for the time being Signed-off-by: Peter Robinson --- fedora-iot.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index 45755b8..c1772d9 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -218,6 +218,7 @@ image_build = { 'arches': ['armhfp', 'aarch64', 'x86_64'], 'install_tree_from': "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/", 'subvariant': 'IoT', + 'failable': ['armhfp'], } } ], From 11161a4fac49aab97147d8c6a26fe49e5cbae096 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 9 Oct 2020 10:42:55 +0100 Subject: [PATCH 031/125] ARMv7 images are now working so we should remove the fail option Signed-off-by: Peter Robinson --- fedora-iot.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index c1772d9..45755b8 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -218,7 +218,6 @@ image_build = { 'arches': ['armhfp', 'aarch64', 'x86_64'], 'install_tree_from': "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/", 'subvariant': 'IoT', - 'failable': ['armhfp'], } } ], From 7e3ceed980146f33f2c21fb06fc31e80213e3b97 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 13 Jan 2021 12:32:22 +0000 Subject: [PATCH 032/125] Migrate git master -> main Signed-off-by: Peter Robinson --- fedora-iot.conf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 45755b8..fa27055 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -11,7 +11,7 @@ ostree_installer_overwrite = True comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', - 'branch': 'master', + 'branch': 'main', 'file': 'comps-f34.xml', 'command': 'make comps-f34.xml' } @@ -230,7 +230,7 @@ ostree = [ "force_new_commit": True, "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", - "config_branch": "master", + "config_branch": "main", "repo": [ "IoT", "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" @@ -245,7 +245,7 @@ ostree = [ "force_new_commit": True, "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", - "config_branch": "master", + "config_branch": "main", "repo": [ "IoT", "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" @@ -260,7 +260,7 @@ ostree = [ "force_new_commit": True, "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", - "config_branch": "master", + "config_branch": "main", "repo": [ "IoT", "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" @@ -294,7 +294,7 @@ ostree_installer = [ "ostree_update_ref=fedora/rawhide/aarch64/iot", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', - 'template_branch': 'master', + 'template_branch': 'main', }, "armhfp": { "repo": [ @@ -315,7 +315,7 @@ ostree_installer = [ "ostree_update_ref=fedora/rawhide/armhfp/iot", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', - 'template_branch': 'master', + 'template_branch': 'main', }, "x86_64": { "repo": [ @@ -336,7 +336,7 @@ ostree_installer = [ "ostree_update_ref=fedora/rawhide/x86_64/iot", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', - 'template_branch': 'master', + 'template_branch': 'main', } }) ] From 6cfbc8b41c4d6542536cfa1eab5d33d911d69d73 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 14 Feb 2021 12:24:14 +0000 Subject: [PATCH 033/125] setup rawhide up for F-35 Signed-off-by: Peter Robinson --- fedora-iot.conf | 24 ++++++++++++------------ twoweek-nightly.sh | 6 +++--- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index fa27055..a3122d7 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,9 +1,9 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '34' +release_version = '35' # Let's not build install media during this run. For the image builds -# and OSTree installer we'll use inputs from other f34 runs. +# and OSTree installer we'll use inputs from other f35 runs. skip_phases = ["buildinstall", "createrepo", "extra_files"] ostree_installer_overwrite = True @@ -12,11 +12,11 @@ comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'main', - 'file': 'comps-f34.xml', - 'command': 'make comps-f34.xml' + 'file': 'comps-f35.xml', + 'command': 'make comps-f35.xml' } variants_file='variants-fedora.xml' -sigkeys = ['45719a39'] +sigkeys = ['9867C58F'] # limit tree architectures # if undefined, all architectures from variants.xml will be included @@ -28,7 +28,7 @@ hashed_directories = True # RUNROOT settings runroot_channel = 'compose' -runroot_tag = 'f34-build' +runroot_tag = 'f35-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -38,7 +38,7 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -pkgset_koji_tag = 'f34-iot' +pkgset_koji_tag = 'f35-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -202,9 +202,9 @@ translate_paths = [ # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '34' +global_version = '35' # live_images ignores this in favor of live_target -global_target = 'f34' +global_target = 'f35' image_build = { '^IoT$': [ @@ -288,7 +288,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-34-primary", + "ostree_oskey=fedora-35-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/aarch64/iot", "ostree_update_ref=fedora/rawhide/aarch64/iot", @@ -309,7 +309,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-34-primary", + "ostree_oskey=fedora-35-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/armhfp/iot", "ostree_update_ref=fedora/rawhide/armhfp/iot", @@ -330,7 +330,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-34-primary", + "ostree_oskey=fedora-35-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/x86_64/iot", "ostree_update_ref=fedora/rawhide/x86_64/iot", diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 0908cff..d1b345a 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="34" -RELEASE_TITLE="34" -COMPSFILE="comps-f34.xml" +RELEASE="35" +RELEASE_TITLE="35" +COMPSFILE="comps-f35.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " From 4d8ce8d53b0e56dc204686fc541e328814439bba Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 20 Aug 2021 09:31:25 +0100 Subject: [PATCH 034/125] setup rawhide up for F-36 Signed-off-by: Peter Robinson --- fedora-iot.conf | 22 +++++++++++----------- twoweek-nightly.sh | 6 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index a3122d7..579d34d 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,9 +1,9 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '35' +release_version = '36' # Let's not build install media during this run. For the image builds -# and OSTree installer we'll use inputs from other f35 runs. +# and OSTree installer we'll use inputs from other f36 runs. skip_phases = ["buildinstall", "createrepo", "extra_files"] ostree_installer_overwrite = True @@ -12,8 +12,8 @@ comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'main', - 'file': 'comps-f35.xml', - 'command': 'make comps-f35.xml' + 'file': 'comps-f36.xml', + 'command': 'make comps-f36.xml' } variants_file='variants-fedora.xml' sigkeys = ['9867C58F'] @@ -28,7 +28,7 @@ hashed_directories = True # RUNROOT settings runroot_channel = 'compose' -runroot_tag = 'f35-build' +runroot_tag = 'f36-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -38,7 +38,7 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -pkgset_koji_tag = 'f35-iot' +pkgset_koji_tag = 'f36-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -202,9 +202,9 @@ translate_paths = [ # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '35' +global_version = '36' # live_images ignores this in favor of live_target -global_target = 'f35' +global_target = 'f36' image_build = { '^IoT$': [ @@ -288,7 +288,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-35-primary", + "ostree_oskey=fedora-36-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/aarch64/iot", "ostree_update_ref=fedora/rawhide/aarch64/iot", @@ -309,7 +309,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-35-primary", + "ostree_oskey=fedora-36-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/armhfp/iot", "ostree_update_ref=fedora/rawhide/armhfp/iot", @@ -330,7 +330,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-35-primary", + "ostree_oskey=fedora-36-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/x86_64/iot", "ostree_update_ref=fedora/rawhide/x86_64/iot", diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index d1b345a..3d13535 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="35" -RELEASE_TITLE="35" -COMPSFILE="comps-f35.xml" +RELEASE="36" +RELEASE_TITLE="36" +COMPSFILE="comps-f36.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " From 34892024b58f5f5a97ad45144fd21a5bdc867a0e Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 9 Feb 2022 11:25:13 +0000 Subject: [PATCH 035/125] setup rawhide up for F-37, retire armhfp RIP ARMv7 my friend Signed-off-by: Peter Robinson --- fedora-iot.conf | 62 ++++++++++----------------------------------- nightly.sh | 2 +- twoweek-nightly.sh | 6 ++--- variants-fedora.xml | 1 - 4 files changed, 17 insertions(+), 54 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 579d34d..1eda147 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,9 +1,9 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '36' +release_version = '37' # Let's not build install media during this run. For the image builds -# and OSTree installer we'll use inputs from other f36 runs. +# and OSTree installer we'll use inputs from other f37 runs. skip_phases = ["buildinstall", "createrepo", "extra_files"] ostree_installer_overwrite = True @@ -12,15 +12,15 @@ comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'main', - 'file': 'comps-f36.xml', - 'command': 'make comps-f36.xml' + 'file': 'comps-f37.xml', + 'command': 'make comps-f37.xml' } variants_file='variants-fedora.xml' -sigkeys = ['9867C58F'] +sigkeys = ['5323552A'] # limit tree architectures # if undefined, all architectures from variants.xml will be included -tree_arches = ['aarch64', 'armhfp', 'x86_64'] +tree_arches = ['aarch64', 'x86_64'] # limit tree variants # if undefined, all variants from variants.xml will be included tree_variants = ['IoT'] @@ -28,7 +28,7 @@ hashed_directories = True # RUNROOT settings runroot_channel = 'compose' -runroot_tag = 'f36-build' +runroot_tag = 'f37-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -38,7 +38,7 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -pkgset_koji_tag = 'f36-iot' +pkgset_koji_tag = 'f37-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -202,9 +202,9 @@ translate_paths = [ # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '36' +global_version = '37' # live_images ignores this in favor of live_target -global_target = 'f36' +global_target = 'f37' image_build = { '^IoT$': [ @@ -215,7 +215,7 @@ image_build = { 'kickstart': 'fedora-iot.ks', 'distro': 'Fedora-22', 'disk_size': 4, - 'arches': ['armhfp', 'aarch64', 'x86_64'], + 'arches': ['aarch64', 'x86_64'], 'install_tree_from': "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/", 'subvariant': 'IoT', } @@ -240,21 +240,6 @@ ostree = [ "ostree_ref": "fedora/rawhide/${basearch}/iot", "update_summary": True, }, - "armhfp": { - "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "force_new_commit": True, - "treefile": "fedora-iot.json", - "config_url": "https://pagure.io/fedora-iot/ostree.git", - "config_branch": "main", - "repo": [ - "IoT", - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" - ] - "tag_ref": False, - "ostree_repo": "/mnt/koji/compose/iot/repo/", - "ostree_ref": "fedora/rawhide/${basearch}/iot", - "update_summary": True, - }, "x86_64": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "force_new_commit": True, @@ -288,7 +273,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-36-primary", + "ostree_oskey=fedora-37-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/aarch64/iot", "ostree_update_ref=fedora/rawhide/aarch64/iot", @@ -296,27 +281,6 @@ ostree_installer = [ 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', 'template_branch': 'main', }, - "armhfp": { - "repo": [ - "IoT", - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" - ], - "release": None, - "rootfs_size": "4", - "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", - "ostree-based-installer/lorax-embed-repo.tmpl"], - "add_template_var": [ - "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", - "ostree_update_repo=https://ostree.fedoraproject.org/iot/", - "ostree_osname=fedora-iot", - "ostree_oskey=fedora-36-primary", - "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", - "ostree_install_ref=fedora/rawhide/armhfp/iot", - "ostree_update_ref=fedora/rawhide/armhfp/iot", - ], - 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', - 'template_branch': 'main', - }, "x86_64": { "repo": [ "IoT", @@ -330,7 +294,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-36-primary", + "ostree_oskey=fedora-37-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/x86_64/iot", "ostree_update_ref=fedora/rawhide/x86_64/iot", diff --git a/nightly.sh b/nightly.sh index 1dee5cf..d4f2617 100755 --- a/nightly.sh +++ b/nightly.sh @@ -89,7 +89,7 @@ chmod -R go+r $DESTDIR/compose/*/*/os/EFI/ # sync over iot -#for arch in x86_64 aarch64 armhfp; do +#for arch in x86_64 aarch64; do # ostree pull-local --repo=$OSTREEDESTREPO $OSTREESRCREPO --depth=-1 "fedora/devel/${arch}/iot" #done #ostree summary -u --repo=$OSTREEDESTREPO # update summary file diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 3d13535..059993c 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="36" -RELEASE_TITLE="36" -COMPSFILE="comps-f36.xml" +RELEASE="37" +RELEASE_TITLE="37" +COMPSFILE="comps-f37.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " diff --git a/variants-fedora.xml b/variants-fedora.xml index 8586282..32be413 100644 --- a/variants-fedora.xml +++ b/variants-fedora.xml @@ -4,7 +4,6 @@ aarch64 - armhfp x86_64 From 47408148cf995202174e9e898c5b1587eb1e4a41 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 17 Feb 2022 15:26:19 +0000 Subject: [PATCH 036/125] Update Image Builder to Fedora 30 to ensure UEFI firmware for build VM --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 1eda147..6bc1030 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -213,7 +213,7 @@ image_build = { 'format': [('raw-xz','raw.xz')], 'name': 'Fedora-IoT', 'kickstart': 'fedora-iot.ks', - 'distro': 'Fedora-22', + 'distro': 'Fedora-30', 'disk_size': 4, 'arches': ['aarch64', 'x86_64'], 'install_tree_from': "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/", From 2a9dc70b5ac9f940f547dd24fd7f02dcb2ee5f88 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Wed, 6 Apr 2022 15:21:49 -0400 Subject: [PATCH 037/125] Remove duplicated 'IoT' in release artifacts Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 6bc1030..926f07a 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,6 +1,6 @@ # PRODUCT INFO release_name = 'Fedora-IoT' -release_short = 'Fedora-IoT' +release_short = 'Fedora' release_version = '37' # Let's not build install media during this run. For the image builds # and OSTree installer we'll use inputs from other f37 runs. From 29870031a4aa0702515f9efbc72b1640336e89b6 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Thu, 7 Apr 2022 14:08:13 -0400 Subject: [PATCH 038/125] Re-add shortname, remove variant from artifact names Signed-off-by: Paul Whalen --- fedora-iot.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 926f07a..9dd2805 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,6 +1,6 @@ # PRODUCT INFO release_name = 'Fedora-IoT' -release_short = 'Fedora' +release_short = 'Fedora-IoT' release_version = '37' # Let's not build install media during this run. For the image builds # and OSTree installer we'll use inputs from other f37 runs. @@ -60,7 +60,7 @@ repoclosure_backend = 'dnf' # CHECKSUMS media_checksums = ['sha256'] media_checksum_one_file = True -media_checksum_base_filename = '%(release_short)s-%(variant)s-%(version)s-%(arch)s-%(date)s%(type_suffix)s.%(respin)s' +media_checksum_base_filename = '%(release_short)s-%(version)s-%(arch)s-%(date)s%(type_suffix)s.%(respin)s' #jigdo create_jigdo = False @@ -149,10 +149,10 @@ createiso_skip = [ #] # Image name respecting Fedora's image naming policy -image_name_format = '%(release_short)s-%(variant)s-%(disc_type)s-%(arch)s-%(version)s-%(date)s%(type_suffix)s.%(respin)s.iso' +image_name_format = '%(release_short)s-%(disc_type)s-%(arch)s-%(version)s-%(date)s%(type_suffix)s.%(respin)s.iso' # # Use the same format for volume id image_volid_formats = [ - '%(release_short)s-%(variant)s-%(disc_type)s-%(arch)s-%(version)s' + '%(release_short)s-%(disc_type)s-%(arch)s-%(version)s' ] # No special handling for layered products, use same format as for regular images image_volid_layered_product_formats = [] From bf2cc155d89175e52d99064019778ceabd0c72a5 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 13 Aug 2022 15:09:59 +0100 Subject: [PATCH 039/125] add sync-release.sh script from release branches Signed-off-by: Peter Robinson --- sync-release.sh | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100755 sync-release.sh diff --git a/sync-release.sh b/sync-release.sh new file mode 100755 index 0000000..91069ab --- /dev/null +++ b/sync-release.sh @@ -0,0 +1,53 @@ +#!/bin/sh +set -x +export LC_ALL=C +LABEL=$1 +# Remove the label from arguments. It gets special treatment. Other arguments +# to the script are passed to pungi-koji directly. +shift +CONFIG="fedora-iot.conf" +TARGET_DIR="/mnt/koji/compose/iot" +NIGHTLY="" +DEST=$(pwd) +DATE=$(date "+%Y%m%d") +# the Pungi 'shortname', which we will include in fedmsgs for disambiguation +SHORT="Fedora-IoT" +RELEASE="36" +RELEASE_TITLE="36" +COMPSFILE="comps-f36.xml" +TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` +TOMAIL="iot@lists.fedoraproject.org" +FROM="Fedora IoT Report " +RSYNCPREFIX="sudo -u ftpsync" +RSYNCTARGET="/pub/alt/iot/36/" +OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) + +NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) +SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-.*-||g') + +DESTDIR=$TARGET_DIR/$NEWCOMPOSE_ID +# Public URL the synced compose will wind up at, we put it in fedmsgs +LOCATION="https://dl.fedoraproject.org$RSYNCTARGET" +# Update fedmsg template +#fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID", "$LOCATION") +#fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID" "$LOCATION") + +$RSYNCPREFIX mkdir -p $DESTDIR +# Tell interested persons that the rsync is starting (zomg!) +#send_fedmsg "${fedmsg_json_start}" ${RELEASE} rsync.start +for dir in IoT metadata ; + do + $RSYNCPREFIX rsync -avhH --delete-after $DESTDIR/compose/$dir/ "$RSYNCTARGET/$dir/" ; + $RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCTARGET/" --name $NEWCOMPOSE_ID + done +# Tell interested persons that the rsync is done. +#send_fedmsg "${fedmsg_json_done}" ${RELEASE} rsync.complete +# Tell everyone by fedmsg about the compose +#send_fedmsg "${fedmsg_json_done}" ${RELEASE} complete +#SUBJECT='Fedora IoT'$RELEASE' compose report: '$SHORTCOMPOSE_ID' changes' +#for tomail in $TOMAIL ; do +# cat $DESTDIR/logs/*verbose $DESTDIR/logs/depcheck | \ +# mutt -e "set from=\"$FROM\"" -e 'set envelope_from=yes' -s "$SUBJECT" $tomail +#done + +#find $TARGET_DIR -xdev -depth -maxdepth 2 -mtime +14 -name Fedora-IoT-${RELEASE}\* -exec rm -rf {} \; From 39ea67df26e4e00935411c83ff219f21dd57b628 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 13 Aug 2022 15:27:37 +0100 Subject: [PATCH 040/125] setup rawhide up for F-38 Signed-off-by: Peter Robinson --- fedora-iot.conf | 22 +++++++++++----------- nightly.sh | 6 +++--- sync-release.sh | 8 ++++---- twoweek-nightly.sh | 6 +++--- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 9dd2805..1db80ff 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,9 +1,9 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '37' +release_version = '38' # Let's not build install media during this run. For the image builds -# and OSTree installer we'll use inputs from other f37 runs. +# and OSTree installer we'll use inputs from other f38 runs. skip_phases = ["buildinstall", "createrepo", "extra_files"] ostree_installer_overwrite = True @@ -12,11 +12,11 @@ comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'main', - 'file': 'comps-f37.xml', - 'command': 'make comps-f37.xml' + 'file': 'comps-f38.xml', + 'command': 'make comps-f38.xml' } variants_file='variants-fedora.xml' -sigkeys = ['5323552A'] +sigkeys = ['eb10b464'] # limit tree architectures # if undefined, all architectures from variants.xml will be included @@ -28,7 +28,7 @@ hashed_directories = True # RUNROOT settings runroot_channel = 'compose' -runroot_tag = 'f37-build' +runroot_tag = 'f38-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -38,7 +38,7 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -pkgset_koji_tag = 'f37-iot' +pkgset_koji_tag = 'f38-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -202,9 +202,9 @@ translate_paths = [ # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '37' +global_version = '38' # live_images ignores this in favor of live_target -global_target = 'f37' +global_target = 'f38' image_build = { '^IoT$': [ @@ -273,7 +273,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-37-primary", + "ostree_oskey=fedora-38-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/aarch64/iot", "ostree_update_ref=fedora/rawhide/aarch64/iot", @@ -294,7 +294,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-37-primary", + "ostree_oskey=fedora-38-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/x86_64/iot", "ostree_update_ref=fedora/rawhide/x86_64/iot", diff --git a/nightly.sh b/nightly.sh index d4f2617..b155fd7 100755 --- a/nightly.sh +++ b/nightly.sh @@ -9,9 +9,9 @@ SKIP_PHASES="--skip-phase=productimg" DEST=$(pwd) DATE=$(date "+%Y%m%d") SHORT="Fedora-IoT" -RELEASE="30" -RELEASE_TITLE="30" -COMPSFILE="comps-f30.xml" +RELEASE="38" +RELEASE_TITLE="38" +COMPSFILE="comps-f38.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " diff --git a/sync-release.sh b/sync-release.sh index 91069ab..6fd5ea1 100755 --- a/sync-release.sh +++ b/sync-release.sh @@ -12,14 +12,14 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="36" -RELEASE_TITLE="36" -COMPSFILE="comps-f36.xml" +RELEASE="38" +RELEASE_TITLE="38" +COMPSFILE="comps-f38.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " RSYNCPREFIX="sudo -u ftpsync" -RSYNCTARGET="/pub/alt/iot/36/" +RSYNCTARGET="/pub/alt/iot/38/" OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 059993c..609b185 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="37" -RELEASE_TITLE="37" -COMPSFILE="comps-f37.xml" +RELEASE="38" +RELEASE_TITLE="38" +COMPSFILE="comps-f38.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " From ed669b1042bd5c3583135895f1207ea11230c6ba Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 16 Aug 2022 08:13:37 -0400 Subject: [PATCH 041/125] Set createiso to use xorrisofs (should fix compose) This is needed since this Change: https://fedoraproject.org/wiki/Changes/BIOSBootISOWithGrub2 Signed-off-by: Adam Williamson --- fedora-iot.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index 1db80ff..ad08c4d 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -64,6 +64,10 @@ media_checksum_base_filename = '%(release_short)s-%(version)s-%(arch)s-%(date)s% #jigdo create_jigdo = False +# CREATEISO +# use xorrisofs to make isos +createiso_use_xorrisofs = True + # BUILDINSTALL buildinstall_method = 'lorax' buildinstall_skip = [ From 2c2e1a7f381faa2b07fe132bca4cb485ca670468 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Mon, 26 Sep 2022 11:29:15 -0400 Subject: [PATCH 042/125] Move disk image creation to osbuild. Signed-off-by: Paul Whalen --- fedora-iot.conf | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index ad08c4d..33d19e4 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -210,21 +210,20 @@ global_version = '38' # live_images ignores this in favor of live_target global_target = 'f38' -image_build = { - '^IoT$': [ - { - 'image-build': { - 'format': [('raw-xz','raw.xz')], - 'name': 'Fedora-IoT', - 'kickstart': 'fedora-iot.ks', - 'distro': 'Fedora-30', - 'disk_size': 4, - 'arches': ['aarch64', 'x86_64'], - 'install_tree_from': "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/", - 'subvariant': 'IoT', - } - } - ], +osbuild = { + "^IoT$": [ + { + "name": "%s-disk-image" % release_name, + "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "distro": "fedora-38", + "image_types": ["iot-raw-image"], + "target": "fedora-iot-%s" % release_version, + "arches": ["x86_64", "aarch64"], + "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", + "ostree_ref": "fedora/rawhide/$arch/iot", + "subvariant": "IoT", + }, + ], } ostree = [ From c875349a086f05f37de390ec343445296c82de6a Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 27 Sep 2022 10:11:10 -0400 Subject: [PATCH 043/125] Add repo and fix target for osbuild disk images. Signed-off-by: Paul Whalen --- fedora-iot.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 33d19e4..e9a23d0 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -217,8 +217,9 @@ osbuild = { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "distro": "fedora-38", "image_types": ["iot-raw-image"], - "target": "fedora-iot-%s" % release_version, + "target": "f%s-candidate" % release_version, "arches": ["x86_64", "aarch64"], + "repo": "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_ref": "fedora/rawhide/$arch/iot", "subvariant": "IoT", From 1b9162b9fe4a181e247695f5d0e255275bc3d143 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 27 Sep 2022 15:23:57 +0100 Subject: [PATCH 044/125] fix the repo config array Signed-off-by: Peter Robinson --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index e9a23d0..42b87a0 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -219,7 +219,7 @@ osbuild = { "image_types": ["iot-raw-image"], "target": "f%s-candidate" % release_version, "arches": ["x86_64", "aarch64"], - "repo": "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" + "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"], "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_ref": "fedora/rawhide/$arch/iot", "subvariant": "IoT", From 1848f9ce8290244615d2d1e18c144aaa326db22f Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Thu, 29 Sep 2022 10:18:13 -0400 Subject: [PATCH 045/125] Add is_empty to variants-fedora.xml. Signed-off-by: Paul Whalen --- variants-fedora.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variants-fedora.xml b/variants-fedora.xml index 32be413..fc87bb1 100644 --- a/variants-fedora.xml +++ b/variants-fedora.xml @@ -1,7 +1,7 @@ - + aarch64 x86_64 From 64edd1aecd92294c6c0fb1ac9e626e8400089a80 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Thu, 29 Sep 2022 11:27:43 -0400 Subject: [PATCH 046/125] Remove 'disk-image' from raw image name Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 42b87a0..d269a7f 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -213,7 +213,7 @@ global_target = 'f38' osbuild = { "^IoT$": [ { - "name": "%s-disk-image" % release_name, + "name": "%s" % release_name, "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "distro": "fedora-38", "image_types": ["iot-raw-image"], From 13158bc3865edecbd6d0e0080ccaaca0f769b6a4 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Wed, 5 Oct 2022 16:20:23 -0400 Subject: [PATCH 047/125] Move iso installation to osbuild Signed-off-by: Paul Whalen --- fedora-iot.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index d269a7f..daa3748 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -224,6 +224,18 @@ osbuild = { "ostree_ref": "fedora/rawhide/$arch/iot", "subvariant": "IoT", }, + { + "name": "%s" % release_name, + "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "distro": "fedora-38", + "image_types": ["iot-installer"], + "target": "f%s-candidate" % release_version, + "arches": ["x86_64", "aarch64"], + "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"], + "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", + "ostree_ref": "fedora/rawhide/$arch/iot", + "subvariant": "IoT", + }, ], } From 5e1ab7cbfe52b2e8dc540e141bf0378f4ee971b1 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Mon, 14 Nov 2022 12:25:39 -0500 Subject: [PATCH 048/125] Update iso name to match previous Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index daa3748..988efbe 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -225,7 +225,7 @@ osbuild = { "subvariant": "IoT", }, { - "name": "%s" % release_name, + "name": "%s-ostree" % release_name, "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "distro": "fedora-38", "image_types": ["iot-installer"], From 05684f6079652f982b996aec554310688c2a7081 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 3 Jan 2023 15:58:06 -0500 Subject: [PATCH 049/125] Remove old installer section Signed-off-by: Paul Whalen --- fedora-iot.conf | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 988efbe..4291b90 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -274,51 +274,4 @@ ostree = [ }) ] -ostree_installer = [ - ("^IoT$", { - "aarch64": { - "repo": [ - "IoT", - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" - ], - "release": None, - "rootfs_size": "4", - "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", - "ostree-based-installer/lorax-embed-repo.tmpl"], - "add_template_var": [ - "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", - "ostree_update_repo=https://ostree.fedoraproject.org/iot/", - "ostree_osname=fedora-iot", - "ostree_oskey=fedora-38-primary", - "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", - "ostree_install_ref=fedora/rawhide/aarch64/iot", - "ostree_update_ref=fedora/rawhide/aarch64/iot", - ], - 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', - 'template_branch': 'main', - }, - "x86_64": { - "repo": [ - "IoT", - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" - ], - "release": None, - "rootfs_size": "4", - "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", - "ostree-based-installer/lorax-embed-repo.tmpl"], - "add_template_var": [ - "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", - "ostree_update_repo=https://ostree.fedoraproject.org/iot/", - "ostree_osname=fedora-iot", - "ostree_oskey=fedora-38-primary", - "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", - "ostree_install_ref=fedora/rawhide/x86_64/iot", - "ostree_update_ref=fedora/rawhide/x86_64/iot", - ], - 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', - 'template_branch': 'main', - } - }) -] - koji_profile = 'compose_koji' From 31b2e8a27193e66ca6cec05f2865486bdcab065d Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Thu, 5 Jan 2023 10:07:15 -0500 Subject: [PATCH 050/125] Revert "Remove old installer section" This reverts commit 05684f6079652f982b996aec554310688c2a7081. --- fedora-iot.conf | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index 4291b90..988efbe 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -274,4 +274,51 @@ ostree = [ }) ] +ostree_installer = [ + ("^IoT$", { + "aarch64": { + "repo": [ + "IoT", + "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" + ], + "release": None, + "rootfs_size": "4", + "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", + "ostree-based-installer/lorax-embed-repo.tmpl"], + "add_template_var": [ + "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", + "ostree_update_repo=https://ostree.fedoraproject.org/iot/", + "ostree_osname=fedora-iot", + "ostree_oskey=fedora-38-primary", + "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", + "ostree_install_ref=fedora/rawhide/aarch64/iot", + "ostree_update_ref=fedora/rawhide/aarch64/iot", + ], + 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', + 'template_branch': 'main', + }, + "x86_64": { + "repo": [ + "IoT", + "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" + ], + "release": None, + "rootfs_size": "4", + "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", + "ostree-based-installer/lorax-embed-repo.tmpl"], + "add_template_var": [ + "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", + "ostree_update_repo=https://ostree.fedoraproject.org/iot/", + "ostree_osname=fedora-iot", + "ostree_oskey=fedora-38-primary", + "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", + "ostree_install_ref=fedora/rawhide/x86_64/iot", + "ostree_update_ref=fedora/rawhide/x86_64/iot", + ], + 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', + 'template_branch': 'main', + } + }) +] + koji_profile = 'compose_koji' From fee826a6ea4f2c978a752bc58ec49a328d4e585a Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Fri, 10 Feb 2023 11:35:40 -0500 Subject: [PATCH 051/125] f39: update for branching Signed-off-by: Paul Whalen --- fedora-iot.conf | 26 +++++++++++++------------- nightly.sh | 6 +++--- sync-release.sh | 8 ++++---- twoweek-nightly.sh | 6 +++--- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 988efbe..6c88f25 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,9 +1,9 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '38' +release_version = '39' # Let's not build install media during this run. For the image builds -# and OSTree installer we'll use inputs from other f38 runs. +# and OSTree installer we'll use inputs from other f39 runs. skip_phases = ["buildinstall", "createrepo", "extra_files"] ostree_installer_overwrite = True @@ -12,11 +12,11 @@ comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'main', - 'file': 'comps-f38.xml', - 'command': 'make comps-f38.xml' + 'file': 'comps-f39.xml', + 'command': 'make comps-f39.xml' } variants_file='variants-fedora.xml' -sigkeys = ['eb10b464'] +sigkeys = ['18B8e74c'] # limit tree architectures # if undefined, all architectures from variants.xml will be included @@ -28,7 +28,7 @@ hashed_directories = True # RUNROOT settings runroot_channel = 'compose' -runroot_tag = 'f38-build' +runroot_tag = 'f39-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -38,7 +38,7 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -pkgset_koji_tag = 'f38-iot' +pkgset_koji_tag = 'f39-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -206,16 +206,16 @@ translate_paths = [ # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '38' +global_version = '39' # live_images ignores this in favor of live_target -global_target = 'f38' +global_target = 'f39' osbuild = { "^IoT$": [ { "name": "%s" % release_name, "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "distro": "fedora-38", + "distro": "fedora-39", "image_types": ["iot-raw-image"], "target": "f%s-candidate" % release_version, "arches": ["x86_64", "aarch64"], @@ -227,7 +227,7 @@ osbuild = { { "name": "%s-ostree" % release_name, "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "distro": "fedora-38", + "distro": "fedora-39", "image_types": ["iot-installer"], "target": "f%s-candidate" % release_version, "arches": ["x86_64", "aarch64"], @@ -289,7 +289,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-38-primary", + "ostree_oskey=fedora-39-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/aarch64/iot", "ostree_update_ref=fedora/rawhide/aarch64/iot", @@ -310,7 +310,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot/", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-38-primary", + "ostree_oskey=fedora-39-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/x86_64/iot", "ostree_update_ref=fedora/rawhide/x86_64/iot", diff --git a/nightly.sh b/nightly.sh index b155fd7..d73de5e 100755 --- a/nightly.sh +++ b/nightly.sh @@ -9,9 +9,9 @@ SKIP_PHASES="--skip-phase=productimg" DEST=$(pwd) DATE=$(date "+%Y%m%d") SHORT="Fedora-IoT" -RELEASE="38" -RELEASE_TITLE="38" -COMPSFILE="comps-f38.xml" +RELEASE="39" +RELEASE_TITLE="39" +COMPSFILE="comps-f39.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " diff --git a/sync-release.sh b/sync-release.sh index 6fd5ea1..06743d6 100755 --- a/sync-release.sh +++ b/sync-release.sh @@ -12,14 +12,14 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="38" -RELEASE_TITLE="38" -COMPSFILE="comps-f38.xml" +RELEASE="39" +RELEASE_TITLE="39" +COMPSFILE="comps-f39.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " RSYNCPREFIX="sudo -u ftpsync" -RSYNCTARGET="/pub/alt/iot/38/" +RSYNCTARGET="/pub/alt/iot/39/" OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 609b185..6a10825 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="38" -RELEASE_TITLE="38" -COMPSFILE="comps-f38.xml" +RELEASE="39" +RELEASE_TITLE="39" +COMPSFILE="comps-f39.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " From 7fc11b622a63a303b7757b8463294d2945f2fc83 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Wed, 22 Mar 2023 17:01:06 -0400 Subject: [PATCH 052/125] Use unified core mode for aarch64 and x86_64 --- fedora-iot.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index 6c88f25..a88a9ed 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -244,6 +244,7 @@ ostree = [ "aarch64": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "force_new_commit": True, + "unified_core": True, "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "main", @@ -259,6 +260,7 @@ ostree = [ "x86_64": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "force_new_commit": True, + "unified_core": True, "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "main", From b936d03c6195cf240d87b71c713ffd7b33e884c2 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Wed, 5 Apr 2023 10:11:39 -0400 Subject: [PATCH 053/125] Revert unified core Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 -- 1 file changed, 2 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index a88a9ed..6c88f25 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -244,7 +244,6 @@ ostree = [ "aarch64": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "force_new_commit": True, - "unified_core": True, "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "main", @@ -260,7 +259,6 @@ ostree = [ "x86_64": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "force_new_commit": True, - "unified_core": True, "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "main", From 9daf760bbcb4314c520754fc8e5db5dff51fcb35 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 6 Jun 2023 17:09:11 -0400 Subject: [PATCH 054/125] Remove trailing slash from update url to fix greenboot MOTD Signed-off-by: Paul Whalen --- fedora-iot.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 6c88f25..5e58483 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -287,7 +287,7 @@ ostree_installer = [ "ostree-based-installer/lorax-embed-repo.tmpl"], "add_template_var": [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", - "ostree_update_repo=https://ostree.fedoraproject.org/iot/", + "ostree_update_repo=https://ostree.fedoraproject.org/iot", "ostree_osname=fedora-iot", "ostree_oskey=fedora-39-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", @@ -308,7 +308,7 @@ ostree_installer = [ "ostree-based-installer/lorax-embed-repo.tmpl"], "add_template_var": [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", - "ostree_update_repo=https://ostree.fedoraproject.org/iot/", + "ostree_update_repo=https://ostree.fedoraproject.org/iot", "ostree_osname=fedora-iot", "ostree_oskey=fedora-39-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", From ded903ff381963dea90653c63da6771251ee2ca8 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Mon, 14 Aug 2023 13:26:22 -0400 Subject: [PATCH 055/125] F40: Update for branching Signed-off-by: Paul Whalen --- fedora-iot.conf | 26 +++++++++++++------------- nightly.sh | 6 +++--- sync-release.sh | 8 ++++---- twoweek-nightly.sh | 6 +++--- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 5e58483..719c309 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,9 +1,9 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '39' +release_version = '40' # Let's not build install media during this run. For the image builds -# and OSTree installer we'll use inputs from other f39 runs. +# and OSTree installer we'll use inputs from other f40 runs. skip_phases = ["buildinstall", "createrepo", "extra_files"] ostree_installer_overwrite = True @@ -12,11 +12,11 @@ comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'main', - 'file': 'comps-f39.xml', - 'command': 'make comps-f39.xml' + 'file': 'comps-f40.xml', + 'command': 'make comps-f40.xml' } variants_file='variants-fedora.xml' -sigkeys = ['18B8e74c'] +sigkeys = ['a15B79cc'] # limit tree architectures # if undefined, all architectures from variants.xml will be included @@ -28,7 +28,7 @@ hashed_directories = True # RUNROOT settings runroot_channel = 'compose' -runroot_tag = 'f39-build' +runroot_tag = 'f40-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -38,7 +38,7 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -pkgset_koji_tag = 'f39-iot' +pkgset_koji_tag = 'f40-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -206,16 +206,16 @@ translate_paths = [ # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '39' +global_version = '40' # live_images ignores this in favor of live_target -global_target = 'f39' +global_target = 'f40' osbuild = { "^IoT$": [ { "name": "%s" % release_name, "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "distro": "fedora-39", + "distro": "fedora-40", "image_types": ["iot-raw-image"], "target": "f%s-candidate" % release_version, "arches": ["x86_64", "aarch64"], @@ -227,7 +227,7 @@ osbuild = { { "name": "%s-ostree" % release_name, "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "distro": "fedora-39", + "distro": "fedora-40", "image_types": ["iot-installer"], "target": "f%s-candidate" % release_version, "arches": ["x86_64", "aarch64"], @@ -289,7 +289,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-39-primary", + "ostree_oskey=fedora-40-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/aarch64/iot", "ostree_update_ref=fedora/rawhide/aarch64/iot", @@ -310,7 +310,7 @@ ostree_installer = [ "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_update_repo=https://ostree.fedoraproject.org/iot", "ostree_osname=fedora-iot", - "ostree_oskey=fedora-39-primary", + "ostree_oskey=fedora-40-primary", "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", "ostree_install_ref=fedora/rawhide/x86_64/iot", "ostree_update_ref=fedora/rawhide/x86_64/iot", diff --git a/nightly.sh b/nightly.sh index d73de5e..cf44a8f 100755 --- a/nightly.sh +++ b/nightly.sh @@ -9,9 +9,9 @@ SKIP_PHASES="--skip-phase=productimg" DEST=$(pwd) DATE=$(date "+%Y%m%d") SHORT="Fedora-IoT" -RELEASE="39" -RELEASE_TITLE="39" -COMPSFILE="comps-f39.xml" +RELEASE="40" +RELEASE_TITLE="40" +COMPSFILE="comps-f40.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " diff --git a/sync-release.sh b/sync-release.sh index 06743d6..a14c16d 100755 --- a/sync-release.sh +++ b/sync-release.sh @@ -12,14 +12,14 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="39" -RELEASE_TITLE="39" -COMPSFILE="comps-f39.xml" +RELEASE="40" +RELEASE_TITLE="40" +COMPSFILE="comps-f40.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " RSYNCPREFIX="sudo -u ftpsync" -RSYNCTARGET="/pub/alt/iot/39/" +RSYNCTARGET="/pub/alt/iot/40/" OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 6a10825..717a35f 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="39" -RELEASE_TITLE="39" -COMPSFILE="comps-f39.xml" +RELEASE="40" +RELEASE_TITLE="40" +COMPSFILE="comps-f40.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " From f7b9bd392a73b5376a9b1c3326ce81027011d6a3 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Wed, 11 Oct 2023 11:47:01 -0400 Subject: [PATCH 056/125] Skip ostree_installer stage Signed-off-by: Paul Whalen --- fedora-iot.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 719c309..9dbb256 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -4,8 +4,7 @@ release_short = 'Fedora-IoT' release_version = '40' # Let's not build install media during this run. For the image builds # and OSTree installer we'll use inputs from other f40 runs. -skip_phases = ["buildinstall", "createrepo", "extra_files"] -ostree_installer_overwrite = True +skip_phases = ["buildinstall", "createrepo", "extra_files", "ostree_installer"] # GENERAL SETTINGS comps_file = { From 0d93b139a66b413f4c9c4f2618cb3c1ad844a8f4 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Wed, 1 Nov 2023 11:42:58 -0400 Subject: [PATCH 057/125] Remove legacy installer section Signed-off-by: Paul Whalen --- fedora-iot.conf | 49 +------------------------------------------------ 1 file changed, 1 insertion(+), 48 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 9dbb256..9eba92d 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -4,7 +4,7 @@ release_short = 'Fedora-IoT' release_version = '40' # Let's not build install media during this run. For the image builds # and OSTree installer we'll use inputs from other f40 runs. -skip_phases = ["buildinstall", "createrepo", "extra_files", "ostree_installer"] +skip_phases = ["buildinstall", "createrepo", "extra_files"] # GENERAL SETTINGS comps_file = { @@ -273,51 +273,4 @@ ostree = [ }) ] -ostree_installer = [ - ("^IoT$", { - "aarch64": { - "repo": [ - "IoT", - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" - ], - "release": None, - "rootfs_size": "4", - "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", - "ostree-based-installer/lorax-embed-repo.tmpl"], - "add_template_var": [ - "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", - "ostree_update_repo=https://ostree.fedoraproject.org/iot", - "ostree_osname=fedora-iot", - "ostree_oskey=fedora-40-primary", - "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", - "ostree_install_ref=fedora/rawhide/aarch64/iot", - "ostree_update_ref=fedora/rawhide/aarch64/iot", - ], - 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', - 'template_branch': 'main', - }, - "x86_64": { - "repo": [ - "IoT", - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/" - ], - "release": None, - "rootfs_size": "4", - "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", - "ostree-based-installer/lorax-embed-repo.tmpl"], - "add_template_var": [ - "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/iot/repo/", - "ostree_update_repo=https://ostree.fedoraproject.org/iot", - "ostree_osname=fedora-iot", - "ostree_oskey=fedora-40-primary", - "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist", - "ostree_install_ref=fedora/rawhide/x86_64/iot", - "ostree_update_ref=fedora/rawhide/x86_64/iot", - ], - 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', - 'template_branch': 'main', - } - }) -] - koji_profile = 'compose_koji' From 7f32b5f35b3152546ab42e5479a4e37ec913ad9b Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 3 Nov 2023 10:09:14 -0700 Subject: [PATCH 058/125] Set correct productmd image type for osbuild installer image In the productmd metadata, these osbuild-built installer images have their 'type' as "dvd". This is not correct: the "dvd" type is meant to be a traditional RPM-based installer image, like the old Everything DVD or the current Server DVD. The correct "type" for an ostree installer image is "dvd-ostree". (There is also, now, "dvd-ostree-osbuild", added in https://github.com/release-engineering/productmd/pull/170 , which is intended for the case where the osbuild image is an experimental one, and there is still an image built with the older system that is the 'official' one.) This 'manifest_type' thing was added after the discussion in https://pagure.io/pungi-fedora/pull-request/1190 , to let us specify the productmd type for osbuild-built images correctly. In this case we don't want to use "dvd-ostree-osbuild" because from F40 onwards it seems we want the osbuild-built image to be the official/main one, so it should have the "official" type. The practical consequence of this at present is the F40 IoT composes aren't getting openQA testing, because openQA relies on this property to identify the image, and it's expecting to see "dvd-ostree". Signed-off-by: Adam Williamson --- fedora-iot.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index 9eba92d..b3bfc2d 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -234,6 +234,7 @@ osbuild = { "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_ref": "fedora/rawhide/$arch/iot", "subvariant": "IoT", + "manifest_type": "dvd-ostree", }, ], } From 8ec296f9f91bd4d133808244b1f33aa594c21e00 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Thu, 16 Nov 2023 12:15:22 -0500 Subject: [PATCH 059/125] Enable unified-core mode Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index b3bfc2d..9729de2 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -244,6 +244,7 @@ ostree = [ "aarch64": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "force_new_commit": True, + "unified_core": True, "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "main", @@ -259,6 +260,7 @@ ostree = [ "x86_64": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "force_new_commit": True, + "unified_core": True, "treefile": "fedora-iot.json", "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "main", From 5acccf3ff456973a4e5ff9118fe91c4c36beedd8 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Mon, 20 Nov 2023 15:28:08 -0500 Subject: [PATCH 060/125] Add selinux-policy-targeted to runroot_packages Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index 9729de2..3185f53 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -255,6 +255,7 @@ ostree = [ "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", "ostree_ref": "fedora/rawhide/${basearch}/iot", + "runroot_packages": ["selinux-policy-targeted"], "update_summary": True, }, "x86_64": { @@ -271,6 +272,7 @@ ostree = [ "tag_ref": False, "ostree_repo": "/mnt/koji/compose/iot/repo/", "ostree_ref": "fedora/rawhide/${basearch}/iot", + "runroot_packages": ["selinux-policy-targeted"], "update_summary": True, } }) From b6e1d4f5a0d7ac0354e52af5385b830c08f6902f Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 21 Nov 2023 10:36:56 -0500 Subject: [PATCH 061/125] Update deprecated arch based mapping for ostree Signed-off-by: Paul Whalen --- fedora-iot.conf | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 3185f53..353949a 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -239,26 +239,8 @@ osbuild = { ], } -ostree = [ - ("^IoT$", { - "aarch64": { - "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "force_new_commit": True, - "unified_core": True, - "treefile": "fedora-iot.json", - "config_url": "https://pagure.io/fedora-iot/ostree.git", - "config_branch": "main", - "repo": [ - "IoT", - "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/" - ] - "tag_ref": False, - "ostree_repo": "/mnt/koji/compose/iot/repo/", - "ostree_ref": "fedora/rawhide/${basearch}/iot", - "runroot_packages": ["selinux-policy-targeted"], - "update_summary": True, - }, - "x86_64": { +ostree = { + "^IoT$", { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "force_new_commit": True, "unified_core": True, @@ -273,9 +255,9 @@ ostree = [ "ostree_repo": "/mnt/koji/compose/iot/repo/", "ostree_ref": "fedora/rawhide/${basearch}/iot", "runroot_packages": ["selinux-policy-targeted"], + "arches": ["x86_64", "aarch64"], "update_summary": True, } - }) -] +} koji_profile = 'compose_koji' From 64d445548132148f6b9a154d34cbe6f6b6bfa98a Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 21 Nov 2023 12:02:22 -0500 Subject: [PATCH 062/125] Fix syntax error in ostree section Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 353949a..750512a 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -240,7 +240,7 @@ osbuild = { } ostree = { - "^IoT$", { + "^IoT$": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "force_new_commit": True, "unified_core": True, From 2448ed69c8dff6e57eddcea9f443851def85188d Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Fri, 26 Jan 2024 12:54:34 -0500 Subject: [PATCH 063/125] Fix release duplication in osbuild file names Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 -- 1 file changed, 2 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 750512a..1c1ea87 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -213,7 +213,6 @@ osbuild = { "^IoT$": [ { "name": "%s" % release_name, - "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "distro": "fedora-40", "image_types": ["iot-raw-image"], "target": "f%s-candidate" % release_version, @@ -225,7 +224,6 @@ osbuild = { }, { "name": "%s-ostree" % release_name, - "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "distro": "fedora-40", "image_types": ["iot-installer"], "target": "f%s-candidate" % release_version, From 9cd23e9ae70abf1386f0fef6c16278518a53103c Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Wed, 31 Jan 2024 11:43:12 -0500 Subject: [PATCH 064/125] Move treefile to yaml Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 1c1ea87..f128cd8 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -242,7 +242,7 @@ ostree = { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "force_new_commit": True, "unified_core": True, - "treefile": "fedora-iot.json", + "treefile": "fedora-iot.yaml", "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "main", "repo": [ From b9b03da2d57d47a8b73d37449e6d557a3731ed71 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Wed, 7 Feb 2024 10:30:59 -0500 Subject: [PATCH 065/125] Add new image-type for iot-bootable-container Signed-off-by: Paul Whalen --- fedora-iot.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index f128cd8..8c35a1c 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -234,6 +234,18 @@ osbuild = { "subvariant": "IoT", "manifest_type": "dvd-ostree", }, + { + "name": "%s" % release_name, + "distro": "fedora-40", + "image_types": ["iot-bootable-container"], + "target": "f%s-candidate" % release_version, + "arches": ["x86_64", "aarch64"], + "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"], + "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", + "ostree_ref": "fedora/rawhide/$arch/iot", + "subvariant": "IoT", + "failable": ["*"], + }, ], } From db00b44a9ddf0eb37c4194b089bbea799cb3ecb6 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 13 Feb 2024 15:06:38 -0500 Subject: [PATCH 066/125] F-41: Update for branching Signed-off-by: Paul Whalen --- fedora-iot.conf | 24 ++++++++++++------------ nightly.sh | 6 +++--- sync-release.sh | 8 ++++---- twoweek-nightly.sh | 6 +++--- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 8c35a1c..ae8064e 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,9 +1,9 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '40' +release_version = '41' # Let's not build install media during this run. For the image builds -# and OSTree installer we'll use inputs from other f40 runs. +# and OSTree installer we'll use inputs from other f41 runs. skip_phases = ["buildinstall", "createrepo", "extra_files"] # GENERAL SETTINGS @@ -11,11 +11,11 @@ comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'main', - 'file': 'comps-f40.xml', - 'command': 'make comps-f40.xml' + 'file': 'comps-f41.xml', + 'command': 'make comps-f41.xml' } variants_file='variants-fedora.xml' -sigkeys = ['a15B79cc'] +sigkeys = ['e99d6ad1'] # limit tree architectures # if undefined, all architectures from variants.xml will be included @@ -27,7 +27,7 @@ hashed_directories = True # RUNROOT settings runroot_channel = 'compose' -runroot_tag = 'f40-build' +runroot_tag = 'f41-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -37,7 +37,7 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -pkgset_koji_tag = 'f40-iot' +pkgset_koji_tag = 'f41-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -205,15 +205,15 @@ translate_paths = [ # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '40' +global_version = '41' # live_images ignores this in favor of live_target -global_target = 'f40' +global_target = 'f41' osbuild = { "^IoT$": [ { "name": "%s" % release_name, - "distro": "fedora-40", + "distro": "fedora-41", "image_types": ["iot-raw-image"], "target": "f%s-candidate" % release_version, "arches": ["x86_64", "aarch64"], @@ -224,7 +224,7 @@ osbuild = { }, { "name": "%s-ostree" % release_name, - "distro": "fedora-40", + "distro": "fedora-41", "image_types": ["iot-installer"], "target": "f%s-candidate" % release_version, "arches": ["x86_64", "aarch64"], @@ -236,7 +236,7 @@ osbuild = { }, { "name": "%s" % release_name, - "distro": "fedora-40", + "distro": "fedora-41", "image_types": ["iot-bootable-container"], "target": "f%s-candidate" % release_version, "arches": ["x86_64", "aarch64"], diff --git a/nightly.sh b/nightly.sh index cf44a8f..e42e037 100755 --- a/nightly.sh +++ b/nightly.sh @@ -9,9 +9,9 @@ SKIP_PHASES="--skip-phase=productimg" DEST=$(pwd) DATE=$(date "+%Y%m%d") SHORT="Fedora-IoT" -RELEASE="40" -RELEASE_TITLE="40" -COMPSFILE="comps-f40.xml" +RELEASE="41" +RELEASE_TITLE="41" +COMPSFILE="comps-f41.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " diff --git a/sync-release.sh b/sync-release.sh index a14c16d..b2b7276 100755 --- a/sync-release.sh +++ b/sync-release.sh @@ -12,14 +12,14 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="40" -RELEASE_TITLE="40" -COMPSFILE="comps-f40.xml" +RELEASE="41" +RELEASE_TITLE="41" +COMPSFILE="comps-f41.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " RSYNCPREFIX="sudo -u ftpsync" -RSYNCTARGET="/pub/alt/iot/40/" +RSYNCTARGET="/pub/alt/iot/41/" OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 717a35f..4e28f65 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="40" -RELEASE_TITLE="40" -COMPSFILE="comps-f40.xml" +RELEASE="41" +RELEASE_TITLE="41" +COMPSFILE="comps-f41.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " From ecca26e80a8c435a25929ea546d814bfc4d406f3 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Thu, 15 Feb 2024 11:03:35 -0500 Subject: [PATCH 067/125] Fix names for osbuild deliverables Signed-off-by: Paul Whalen --- fedora-iot.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index ae8064e..f26e13f 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -212,7 +212,7 @@ global_target = 'f41' osbuild = { "^IoT$": [ { - "name": "%s" % release_name, + "name": "%s-raw" % release_name, "distro": "fedora-41", "image_types": ["iot-raw-image"], "target": "f%s-candidate" % release_version, @@ -235,7 +235,7 @@ osbuild = { "manifest_type": "dvd-ostree", }, { - "name": "%s" % release_name, + "name": "%s-oci" % release_name, "distro": "fedora-41", "image_types": ["iot-bootable-container"], "target": "f%s-candidate" % release_version, From 523b1f29397ed737f71112f97ed326d190a4cb46 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Sat, 17 Feb 2024 10:18:19 -0500 Subject: [PATCH 068/125] F41: Add simplified provisioning Signed-off-by: Paul Whalen --- fedora-iot.conf | 13 +++++++++++++ simp-prov-install-device.json | 1 + 2 files changed, 14 insertions(+) create mode 100644 simp-prov-install-device.json diff --git a/fedora-iot.conf b/fedora-iot.conf index f26e13f..3fda4ba 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -246,6 +246,19 @@ osbuild = { "subvariant": "IoT", "failable": ["*"], }, + { + "name": "%s-sp" % release_name, + "distro": "fedora-41", + "image_types": ["iot-simplified-installer"], + "target": "f%s-candidate" % release_version, + "arches": ["x86_64", "aarch64"], + "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"], + "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", + "ostree_ref": "fedora/rawhide/$arch/iot", + "subvariant": "IoT", + "customizations": "simp-prov-install-device.json", + "failable": ["*"], + }, ], } diff --git a/simp-prov-install-device.json b/simp-prov-install-device.json new file mode 100644 index 0000000..eba803b --- /dev/null +++ b/simp-prov-install-device.json @@ -0,0 +1 @@ +{"installation_device":"/dev/vda"} From 2be18ba45debd984c355d940e444b19155bccd39 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 5 Mar 2024 16:23:36 -0500 Subject: [PATCH 069/125] Simplified Provisioning: update customizations Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 +- simp-prov-install-device.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 simp-prov-install-device.json diff --git a/fedora-iot.conf b/fedora-iot.conf index 3fda4ba..ef1f5fa 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -256,7 +256,7 @@ osbuild = { "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_ref": "fedora/rawhide/$arch/iot", "subvariant": "IoT", - "customizations": "simp-prov-install-device.json", + "customizations": {"installation_device": "/dev/vda"}, "failable": ["*"], }, ], diff --git a/simp-prov-install-device.json b/simp-prov-install-device.json deleted file mode 100644 index eba803b..0000000 --- a/simp-prov-install-device.json +++ /dev/null @@ -1 +0,0 @@ -{"installation_device":"/dev/vda"} From 6fe1714a76218f0f01e3f40b5d1e67d25c5e403f Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Wed, 6 Mar 2024 09:39:26 -0500 Subject: [PATCH 070/125] F41: Change bootable-container name to -bootc Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index ef1f5fa..030f5b9 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -235,7 +235,7 @@ osbuild = { "manifest_type": "dvd-ostree", }, { - "name": "%s-oci" % release_name, + "name": "%s-bootc" % release_name, "distro": "fedora-41", "image_types": ["iot-bootable-container"], "target": "f%s-candidate" % release_version, From 9879308883b01f4f768d242a2c33082057b4dd2f Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Thu, 7 Mar 2024 11:05:07 -0500 Subject: [PATCH 071/125] F41: Change simplified-provisioning to -provisioner Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 030f5b9..1071e6a 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -247,7 +247,7 @@ osbuild = { "failable": ["*"], }, { - "name": "%s-sp" % release_name, + "name": "%s-provisioner" % release_name, "distro": "fedora-41", "image_types": ["iot-simplified-installer"], "target": "f%s-candidate" % release_version, From 97376e7155950eaab0c25967950c081b66fe716a Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Thu, 11 Apr 2024 13:13:10 -0400 Subject: [PATCH 072/125] F41: Add base bootc container Signed-off-by: Paul Whalen --- fedora-iot.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index 1071e6a..bf8e829 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -283,4 +283,15 @@ ostree = { } } +ostree_container = { + "^fedora-bootc$": { + "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "config_url": "https://pagure.io/fedora-iot/ostree", + "config_branch": "main", + "treefile": "fedora-bootc.yaml", + "arches": ["x86_64", "aarch64"], + "failable": ['*'], + }, +} + koji_profile = 'compose_koji' From 42a869f057e0759ef68fa36b7fc80c72cb686e27 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Mon, 15 Apr 2024 13:49:21 -0400 Subject: [PATCH 073/125] F41: Fix name and variant for base container Signed-off-by: Paul Whalen --- fedora-iot.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index bf8e829..a702ef3 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -284,7 +284,8 @@ ostree = { } ostree_container = { - "^fedora-bootc$": { + "^IoT$": { + "ociarchive_name": "fedora-bootc", "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "config_url": "https://pagure.io/fedora-iot/ostree", "config_branch": "main", From f046e86b9da2df9d04938a4e991cd571f61ff976 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 16 Apr 2024 09:22:53 -0400 Subject: [PATCH 074/125] F41: add bootc variant Signed-off-by: Paul Whalen --- fedora-iot.conf | 5 ++--- variants-fedora.xml | 6 ++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index a702ef3..01f28be 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -22,7 +22,7 @@ sigkeys = ['e99d6ad1'] tree_arches = ['aarch64', 'x86_64'] # limit tree variants # if undefined, all variants from variants.xml will be included -tree_variants = ['IoT'] +tree_variants = ['IoT', 'bootc'] hashed_directories = True # RUNROOT settings @@ -284,8 +284,7 @@ ostree = { } ostree_container = { - "^IoT$": { - "ociarchive_name": "fedora-bootc", + "^bootc$": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "config_url": "https://pagure.io/fedora-iot/ostree", "config_branch": "main", diff --git a/variants-fedora.xml b/variants-fedora.xml index fc87bb1..058a67d 100644 --- a/variants-fedora.xml +++ b/variants-fedora.xml @@ -7,4 +7,10 @@ x86_64 + + + aarch64 + x86_64 + + From 5bdfe5d0e43527e0799c11704f5add6dcebde63d Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Wed, 17 Apr 2024 10:41:31 -0400 Subject: [PATCH 075/125] F41: add repo to bootc Signed-off-by: Paul Whalen --- fedora-iot.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index 01f28be..ce159b8 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -289,6 +289,7 @@ ostree_container = { "config_url": "https://pagure.io/fedora-iot/ostree", "config_branch": "main", "treefile": "fedora-bootc.yaml", + "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], "arches": ["x86_64", "aarch64"], "failable": ['*'], }, From f7d69e8fcf70c8bd803c0265c86ad8fb41d59f71 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Fri, 19 Apr 2024 10:17:34 -0400 Subject: [PATCH 076/125] F41: use upstream bootc repo Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index ce159b8..3c84f42 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -286,7 +286,7 @@ ostree = { ostree_container = { "^bootc$": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "config_url": "https://pagure.io/fedora-iot/ostree", + "config_url": "https://github.com/CentOS/centos-bootc", "config_branch": "main", "treefile": "fedora-bootc.yaml", "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], From 0dde79bc0f5d52046ebcfa56593d1acac44a4709 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Sun, 21 Apr 2024 17:34:21 -0400 Subject: [PATCH 077/125] F41: Use pagure bootc repo Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 3c84f42..5079fbd 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -286,7 +286,7 @@ ostree = { ostree_container = { "^bootc$": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "config_url": "https://github.com/CentOS/centos-bootc", + "config_url": "https://pagure.io/fedora-iot/fedora-bootc", "config_branch": "main", "treefile": "fedora-bootc.yaml", "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], From 873ab7ef354625456c55f753d8ed53257298f606 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 27 Apr 2024 16:34:14 +0100 Subject: [PATCH 078/125] Move to base-images mirror repo Signed-off-by: Peter Robinson --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 5079fbd..157df74 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -286,7 +286,7 @@ ostree = { ostree_container = { "^bootc$": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "config_url": "https://pagure.io/fedora-iot/fedora-bootc", + "config_url": "https://pagure.io/fedora-iot/base-images", "config_branch": "main", "treefile": "fedora-bootc.yaml", "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], From 800f3d993ec73298cd118fa7455e5c01d3e598cf Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Thu, 2 May 2024 17:39:40 -0400 Subject: [PATCH 079/125] 41: drop osbuild bootc container Signed-off-by: Paul Whalen --- fedora-iot.conf | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 157df74..142ac9e 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -234,18 +234,6 @@ osbuild = { "subvariant": "IoT", "manifest_type": "dvd-ostree", }, - { - "name": "%s-bootc" % release_name, - "distro": "fedora-41", - "image_types": ["iot-bootable-container"], - "target": "f%s-candidate" % release_version, - "arches": ["x86_64", "aarch64"], - "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"], - "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", - "ostree_ref": "fedora/rawhide/$arch/iot", - "subvariant": "IoT", - "failable": ["*"], - }, { "name": "%s-provisioner" % release_name, "distro": "fedora-41", From 4735208cee8f965fb8075c7753dd24eb350cb180 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 3 May 2024 16:29:19 +0100 Subject: [PATCH 080/125] Add script to push containers to registries Add script to push containers to registries, run the script at the end of the compose process to push the container manifests to the fedora container registries. Signed-off-by: Peter Robinson --- sync-bootc-base-containers.sh | 177 ++++++++++++++++++++++++++++++++++ twoweek-nightly.sh | 2 + 2 files changed, 179 insertions(+) create mode 100755 sync-bootc-base-containers.sh diff --git a/sync-bootc-base-containers.sh b/sync-bootc-base-containers.sh new file mode 100755 index 0000000..7e9b0e1 --- /dev/null +++ b/sync-bootc-base-containers.sh @@ -0,0 +1,177 @@ +#!/bin/bash + +set -x + +# +# Sync latest docker image +# +# Docs in the f_help function +f_ctrl_c() { + printf "\n*** Exiting ***\n" + exit $? +} +# trap int (ctrl-c) +trap f_ctrl_c SIGINT +f_help() { + cat < /dev/null + # Import the image + for arch in "${ARCHES[@]}"; do + local filename + filename="/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/bootc/${arch}/images/${basename}-${compose}.ociarchive" + copy_image ${format}:${filename} ${registry_name}:${release}-${arch} + done + + popd &> /dev/null + + generate_manifest_list ${registry_name} ${release} + printf "Removing temporary directory\n" + rm -rf $work_dir +} + +# +# Version should not be higher than rawhide +# Either there is a mistake or script is out of date +# +if [[ ${1} -gt "$current_rawhide" ]]; then + printf "ERROR: VERSION HIGHER THAN RAWHIDE" + exit 1 +fi + +# For fedora-bootc +if [[ -n ${base_build_nvr} ]]; then + find_and_copy_images ${base_build_nvr} fedora-bootc ${1} ${compose} +fi diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 4e28f65..990268a 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -69,6 +69,8 @@ for dir in IoT metadata ; $RSYNCPREFIX rsync -avhH --delete-after $DESTDIR/compose/$dir/ "$RSYNCTARGET/$dir/" ; $RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCTARGET/" --name $NEWCOMPOSE_ID done +# Push containers +./sync-bootc-base-containers.sh ${RELEASE} ${LABEL} # Tell interested persons that the rsync is done. send_fedmsg "${fedmsg_json_done}" ${RELEASE} rsync.complete # Tell everyone by fedmsg about the compose From bcd9757545109f97a7144a7663466e12286a8c0a Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 8 May 2024 12:33:40 +0100 Subject: [PATCH 081/125] Improve container version detection process Some minor improvements around container version and release detection. Signed-off-by: Peter Robinson --- sync-bootc-base-containers.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/sync-bootc-base-containers.sh b/sync-bootc-base-containers.sh index 7e9b0e1..f2272f9 100755 --- a/sync-bootc-base-containers.sh +++ b/sync-bootc-base-containers.sh @@ -69,6 +69,7 @@ fi basename="Fedora-IoT-bootc" format="oci-archive" +vers=${1} compose=${2} compdate=`echo ${compose} | cut -c 4-` @@ -78,7 +79,7 @@ compdate=`echo ${compose} | cut -c 4-` # Can't currently query koji for runroot tasks as they're not tagged # # base_build_nvr=$(koji -q latest-build --type=image f${1}-updates-candidate ${basename} | awk '{print $1}') -base_build_nvr=${basename}-${compose} +base_build_nvr=${basename}-${vers}-${compdate} if [[ ${1} -eq "$current_stable" ]]; then tagname="latest" @@ -140,8 +141,8 @@ find_and_copy_images() { exit 1 fi # Check both architectures completed in the build else exit - if [ ! -f "/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/bootc/x86_64/images/${basename}-${compose}.ociarchive" ] && \ - [ ! -f "/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/bootc/aarch64/images/${basename}-${compose}.ociarchive" ]; then + if [ ! -f "/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/bootc/x86_64/images/${basename}-${release}.${compdate}.ociarchive" ] && \ + [ ! -f "/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/bootc/aarch64/images/${basename}-${release}.${compdate}.ociarchive" ]; then echo "One of the expected images are missing, exiting." exit 1 fi @@ -151,7 +152,7 @@ find_and_copy_images() { # Import the image for arch in "${ARCHES[@]}"; do local filename - filename="/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/bootc/${arch}/images/${basename}-${compose}.ociarchive" + filename="/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/bootc/${arch}/images/${basename}-${release}.${compdate}.ociarchive" copy_image ${format}:${filename} ${registry_name}:${release}-${arch} done @@ -171,7 +172,9 @@ if [[ ${1} -gt "$current_rawhide" ]]; then exit 1 fi +printf "Syncing compose contailers: ${vers} : ${compose}\n" + # For fedora-bootc if [[ -n ${base_build_nvr} ]]; then - find_and_copy_images ${base_build_nvr} fedora-bootc ${1} ${compose} + find_and_copy_images ${base_build_nvr} fedora-bootc ${vers} ${compose} fi From ebf28f3e6c2bffc3c3f2cf572a03ef574d02920a Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Fri, 10 May 2024 13:00:47 -0400 Subject: [PATCH 082/125] f41: use fedora-bootc-rawhide.yaml Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 142ac9e..4eccecb 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -276,7 +276,7 @@ ostree_container = { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "config_url": "https://pagure.io/fedora-iot/base-images", "config_branch": "main", - "treefile": "fedora-bootc.yaml", + "treefile": "fedora-bootc-rawhide.yaml", "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], "arches": ["x86_64", "aarch64"], "failable": ['*'], From ec0b009a9213f4c6ef712aeba104adda8e3eade6 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Fri, 10 May 2024 13:50:31 -0400 Subject: [PATCH 083/125] f41: add bootc tier0 target Signed-off-by: Paul Whalen --- fedora-iot.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index 4eccecb..33c2a60 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -281,6 +281,15 @@ ostree_container = { "arches": ["x86_64", "aarch64"], "failable": ['*'], }, + "^bootc-tier0$": { + "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "config_url": "https://pagure.io/fedora-iot/base-images", + "config_branch": "main", + "treefile": "fedora-tier-0-rawhide.yaml", + "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], + "arches": ["x86_64", "aarch64"], + "failable": ['*'], + }, } koji_profile = 'compose_koji' From 1e4adbb93e4f972b5cf09d349bd4eb62148efd14 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Mon, 13 May 2024 12:41:35 -0400 Subject: [PATCH 084/125] f41: add bootc-tier0 to variants Signed-off-by: Paul Whalen --- variants-fedora.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/variants-fedora.xml b/variants-fedora.xml index 058a67d..8a2da1f 100644 --- a/variants-fedora.xml +++ b/variants-fedora.xml @@ -12,5 +12,10 @@ aarch64 x86_64 + + + aarch64 + x86_64 + From 105c62d27b417ce795f6a49d5948165ae3d55f18 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 14 May 2024 12:28:01 -0400 Subject: [PATCH 085/125] f41: fix missing closure tag Signed-off-by: Paul Whalen --- variants-fedora.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/variants-fedora.xml b/variants-fedora.xml index 8a2da1f..c4f1d2f 100644 --- a/variants-fedora.xml +++ b/variants-fedora.xml @@ -12,6 +12,7 @@ aarch64 x86_64 + aarch64 From 396bf8ee8079b07ed20c854a6985a48fd1f64df4 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 21 May 2024 09:46:46 -0400 Subject: [PATCH 086/125] f41: add bootc-tier0 to tree_variants Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 33c2a60..89c1d87 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -22,7 +22,7 @@ sigkeys = ['e99d6ad1'] tree_arches = ['aarch64', 'x86_64'] # limit tree variants # if undefined, all variants from variants.xml will be included -tree_variants = ['IoT', 'bootc'] +tree_variants = ['IoT', 'bootc', 'bootc-tier0'] hashed_directories = True # RUNROOT settings From 17ebca480cb66afc3b5dab8ab34320ff75d95a01 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 4 Jun 2024 15:22:58 -0400 Subject: [PATCH 087/125] F41: Add manifest_type to simplified-provisioner Signed-off-by: Paul Whalen --- fedora-iot.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index 89c1d87..ae5cb8c 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -246,6 +246,7 @@ osbuild = { "subvariant": "IoT", "customizations": {"installation_device": "/dev/vda"}, "failable": ["*"], + "manifest_type": "simplified-provisioner", }, ], } From dd421a451c44a019fdaa8e96deb97b265e5a262e Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Thu, 6 Jun 2024 15:34:13 -0400 Subject: [PATCH 088/125] Change simplified-provisioner to new subvariant Signed-off-by: Paul Whalen --- fedora-iot.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index ae5cb8c..57a7192 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -243,10 +243,10 @@ osbuild = { "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"], "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_ref": "fedora/rawhide/$arch/iot", - "subvariant": "IoT", + "subvariant": "IoT_Simplified_Provisioner", "customizations": {"installation_device": "/dev/vda"}, "failable": ["*"], - "manifest_type": "simplified-provisioner", + "manifest_type": "dvd-ostree", }, ], } From e2585c1da4f0f0ef0756ad24ca0f078bf7940ab7 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Mon, 10 Jun 2024 15:34:55 -0400 Subject: [PATCH 089/125] Update bootc config names to match upstream Signed-off-by: Paul Whalen --- fedora-iot.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 57a7192..d44a735 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -277,7 +277,7 @@ ostree_container = { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "config_url": "https://pagure.io/fedora-iot/base-images", "config_branch": "main", - "treefile": "fedora-bootc-rawhide.yaml", + "treefile": "fedora-bootc.yaml", "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], "arches": ["x86_64", "aarch64"], "failable": ['*'], @@ -286,7 +286,7 @@ ostree_container = { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "config_url": "https://pagure.io/fedora-iot/base-images", "config_branch": "main", - "treefile": "fedora-tier-0-rawhide.yaml", + "treefile": "fedora-tier-0.yaml", "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], "arches": ["x86_64", "aarch64"], "failable": ['*'], From 1de421aca3cbe93fdacad846a9d96eeab57fef15 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Mon, 15 Jul 2024 13:13:55 -0400 Subject: [PATCH 090/125] F41: Add ppc64le and s390x to bootc images Signed-off-by: Paul Whalen --- fedora-iot.conf | 6 +++--- sync-bootc-base-containers.sh | 10 ++++++---- variants-fedora.xml | 4 ++++ 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index d44a735..99c08de 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -19,7 +19,7 @@ sigkeys = ['e99d6ad1'] # limit tree architectures # if undefined, all architectures from variants.xml will be included -tree_arches = ['aarch64', 'x86_64'] +tree_arches = ['aarch64', 'x86_64', "ppc64le", "s390x"] # limit tree variants # if undefined, all variants from variants.xml will be included tree_variants = ['IoT', 'bootc', 'bootc-tier0'] @@ -279,7 +279,7 @@ ostree_container = { "config_branch": "main", "treefile": "fedora-bootc.yaml", "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], - "arches": ["x86_64", "aarch64"], + "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], "failable": ['*'], }, "^bootc-tier0$": { @@ -288,7 +288,7 @@ ostree_container = { "config_branch": "main", "treefile": "fedora-tier-0.yaml", "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], - "arches": ["x86_64", "aarch64"], + "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], "failable": ['*'], }, } diff --git a/sync-bootc-base-containers.sh b/sync-bootc-base-containers.sh index f2272f9..d5a65d2 100755 --- a/sync-bootc-base-containers.sh +++ b/sync-bootc-base-containers.sh @@ -33,7 +33,7 @@ EXAMPLE EOF } -ARCHES=("aarch64" "x86_64") +ARCHES=("aarch64" "x86_64" "ppc64le" "s390x") arch_to_goarch() { local a=$1; shift @@ -41,6 +41,8 @@ arch_to_goarch() { case "$a" in aarch64) echo arm64 ;; x86_64) echo amd64 ;; + ppc64le) echo ppc64le ;; + s390x) echo s390x ;; *) echo $a ;; esac } @@ -140,9 +142,9 @@ find_and_copy_images() { printf "Unexpected image type! If we added a new one, it needs mapping here" exit 1 fi - # Check both architectures completed in the build else exit - if [ ! -f "/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/bootc/x86_64/images/${basename}-${release}.${compdate}.ociarchive" ] && \ - [ ! -f "/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/bootc/aarch64/images/${basename}-${release}.${compdate}.ociarchive" ]; then + # Check that all architectures completed in the build else exit + for arch in "${ARCHES[@]}"; do + if [ ! -f "/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/bootc/${arch}/images/${basename}-${release}.${compdate}.ociarchive" ]; then echo "One of the expected images are missing, exiting." exit 1 fi diff --git a/variants-fedora.xml b/variants-fedora.xml index c4f1d2f..462c3ea 100644 --- a/variants-fedora.xml +++ b/variants-fedora.xml @@ -11,12 +11,16 @@ aarch64 x86_64 + ppc64le + s390x aarch64 x86_64 + ppc64le + s390x From a8288fa657f97df422af7d106d66f140d906968e Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 16 Jul 2024 15:31:48 -0400 Subject: [PATCH 091/125] F41: fix loop in sync script Signed-off-by: Paul Whalen --- sync-bootc-base-containers.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sync-bootc-base-containers.sh b/sync-bootc-base-containers.sh index d5a65d2..da29480 100755 --- a/sync-bootc-base-containers.sh +++ b/sync-bootc-base-containers.sh @@ -144,10 +144,11 @@ find_and_copy_images() { fi # Check that all architectures completed in the build else exit for arch in "${ARCHES[@]}"; do - if [ ! -f "/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/bootc/${arch}/images/${basename}-${release}.${compdate}.ociarchive" ]; then - echo "One of the expected images are missing, exiting." - exit 1 - fi + if [ ! -f "/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/bootc/${arch}/images/${basename}-${release}.${compdate}.ociarchive" ]; then + echo "One of the expected images are missing, exiting." + exit 1 + fi + done work_dir=$(mktemp -d) pushd ${work_dir} &> /dev/null From bff3d8261db7ad59f3f24c9719ce96fa427d8353 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Mon, 12 Aug 2024 14:11:08 -0400 Subject: [PATCH 092/125] Rawhide is now Fedora 42 Signed-off-by: Paul Whalen --- fedora-iot.conf | 24 ++++++++++++------------ nightly.sh | 6 +++--- sync-release.sh | 8 ++++---- twoweek-nightly.sh | 6 +++--- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 99c08de..cfa2b1f 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,9 +1,9 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '41' +release_version = '42' # Let's not build install media during this run. For the image builds -# and OSTree installer we'll use inputs from other f41 runs. +# and OSTree installer we'll use inputs from other f42 runs. skip_phases = ["buildinstall", "createrepo", "extra_files"] # GENERAL SETTINGS @@ -11,11 +11,11 @@ comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'main', - 'file': 'comps-f41.xml', - 'command': 'make comps-f41.xml' + 'file': 'comps-f42.xml', + 'command': 'make comps-f42.xml' } variants_file='variants-fedora.xml' -sigkeys = ['e99d6ad1'] +sigkeys = ['105ef944'] # limit tree architectures # if undefined, all architectures from variants.xml will be included @@ -27,7 +27,7 @@ hashed_directories = True # RUNROOT settings runroot_channel = 'compose' -runroot_tag = 'f41-build' +runroot_tag = 'f42-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -37,7 +37,7 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -pkgset_koji_tag = 'f41-iot' +pkgset_koji_tag = 'f42-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -205,15 +205,15 @@ translate_paths = [ # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '41' +global_version = '42' # live_images ignores this in favor of live_target -global_target = 'f41' +global_target = 'f42' osbuild = { "^IoT$": [ { "name": "%s-raw" % release_name, - "distro": "fedora-41", + "distro": "fedora-42", "image_types": ["iot-raw-image"], "target": "f%s-candidate" % release_version, "arches": ["x86_64", "aarch64"], @@ -224,7 +224,7 @@ osbuild = { }, { "name": "%s-ostree" % release_name, - "distro": "fedora-41", + "distro": "fedora-42", "image_types": ["iot-installer"], "target": "f%s-candidate" % release_version, "arches": ["x86_64", "aarch64"], @@ -236,7 +236,7 @@ osbuild = { }, { "name": "%s-provisioner" % release_name, - "distro": "fedora-41", + "distro": "fedora-42", "image_types": ["iot-simplified-installer"], "target": "f%s-candidate" % release_version, "arches": ["x86_64", "aarch64"], diff --git a/nightly.sh b/nightly.sh index e42e037..a6675b7 100755 --- a/nightly.sh +++ b/nightly.sh @@ -9,9 +9,9 @@ SKIP_PHASES="--skip-phase=productimg" DEST=$(pwd) DATE=$(date "+%Y%m%d") SHORT="Fedora-IoT" -RELEASE="41" -RELEASE_TITLE="41" -COMPSFILE="comps-f41.xml" +RELEASE="42" +RELEASE_TITLE="42" +COMPSFILE="comps-f42.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " diff --git a/sync-release.sh b/sync-release.sh index b2b7276..1ad1bfe 100755 --- a/sync-release.sh +++ b/sync-release.sh @@ -12,14 +12,14 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="41" -RELEASE_TITLE="41" -COMPSFILE="comps-f41.xml" +RELEASE="42" +RELEASE_TITLE="42" +COMPSFILE="comps-f42.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " RSYNCPREFIX="sudo -u ftpsync" -RSYNCTARGET="/pub/alt/iot/41/" +RSYNCTARGET="/pub/alt/iot/42/" OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 990268a..7d8d312 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="41" -RELEASE_TITLE="41" -COMPSFILE="comps-f41.xml" +RELEASE="42" +RELEASE_TITLE="42" +COMPSFILE="comps-f42.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " From 146a5e1e4b57017eae2234fe5eaebb5143635b2c Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Fri, 16 Aug 2024 12:53:22 -0400 Subject: [PATCH 093/125] F42: Update sync-script for f42 Signed-off-by: Paul Whalen --- sync-bootc-base-containers.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sync-bootc-base-containers.sh b/sync-bootc-base-containers.sh index da29480..f476e76 100755 --- a/sync-bootc-base-containers.sh +++ b/sync-bootc-base-containers.sh @@ -51,7 +51,7 @@ arch_to_goarch() { # need to move the fedora:latest tag current_stable="40" # Define what is rawhide so we know to push that tag -current_rawhide="41" +current_rawhide="42" # Sanity checking if ! [[ "${1}" =~ ^-?[0-9]+$ ]]; then @@ -89,6 +89,7 @@ fi if [[ ${1} -eq "$current_rawhide" ]]; then tagname="rawhide" fi + if [[ -z "$stage" ]]; then registries=("registry.fedoraproject.org" "candidate-registry.fedoraproject.org" "quay.io/fedora") else From d5565f5bfe90166c79b5898b529d1dc878201bd1 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Mon, 23 Sep 2024 15:43:10 -0400 Subject: [PATCH 094/125] F42: Add iot base bootc image Signed-off-by: Paul Whalen --- fedora-iot.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index cfa2b1f..b248af4 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -291,6 +291,15 @@ ostree_container = { "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], "failable": ['*'], }, + "^bootc-base$": { + "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "config_url": "https://pagure.io/fedora-iot/ostree.git", + "config_branch": "main", + "treefile": "fedora-iot-bootc.yaml", + "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], + "arches": ["x86_64", "aarch64"], + "failable": ['*'], + }, } koji_profile = 'compose_koji' From 43008ac60cabedacfe2312278f05f7a78809ecb2 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Wed, 25 Sep 2024 18:04:06 -0400 Subject: [PATCH 095/125] Update variants to include the bootc-base Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 +- variants-fedora.xml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index b248af4..5ceb39c 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -22,7 +22,7 @@ sigkeys = ['105ef944'] tree_arches = ['aarch64', 'x86_64', "ppc64le", "s390x"] # limit tree variants # if undefined, all variants from variants.xml will be included -tree_variants = ['IoT', 'bootc', 'bootc-tier0'] +tree_variants = ['IoT', 'bootc', 'bootc-tier0', 'bootc-base'] hashed_directories = True # RUNROOT settings diff --git a/variants-fedora.xml b/variants-fedora.xml index 462c3ea..0568bf8 100644 --- a/variants-fedora.xml +++ b/variants-fedora.xml @@ -7,6 +7,12 @@ x86_64 + + + aarch64 + x86_64 + + aarch64 From 67a5ddec2419034bb1592212490be6182bbebe6f Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Thu, 3 Oct 2024 13:48:39 -0400 Subject: [PATCH 096/125] F42: Add iot base bootc image to sync script Signed-off-by: Paul Whalen --- sync-bootc-base-containers.sh | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/sync-bootc-base-containers.sh b/sync-bootc-base-containers.sh index f476e76..d232192 100755 --- a/sync-bootc-base-containers.sh +++ b/sync-bootc-base-containers.sh @@ -33,8 +33,6 @@ EXAMPLE EOF } -ARCHES=("aarch64" "x86_64" "ppc64le" "s390x") - arch_to_goarch() { local a=$1; shift # See https://github.com/coreos/stream-metadata-go/blob/c5fe1b98ac1b1e6ab62a606b7580dc1f30703f83/arch/arch.go#L14 @@ -69,7 +67,7 @@ if [[ "${3}" == "-s" ]]; then stage="true" fi -basename="Fedora-IoT-bootc" +BASENAMES=("Fedora-IoT-bootc" "Fedora-IoT-bootc-base") format="oci-archive" vers=${1} compose=${2} @@ -81,7 +79,6 @@ compdate=`echo ${compose} | cut -c 4-` # Can't currently query koji for runroot tasks as they're not tagged # # base_build_nvr=$(koji -q latest-build --type=image f${1}-updates-candidate ${basename} | awk '{print $1}') -base_build_nvr=${basename}-${vers}-${compdate} if [[ ${1} -eq "$current_stable" ]]; then tagname="latest" @@ -137,7 +134,7 @@ find_and_copy_images() { local registry_name=$2 local release=$3 local name - if [[ ${registry_name} = "fedora-bootc" ]]; then + if [[ ${registry_name} = "fedora-bootc" ]] || [[ ${registry_name} = "fedora-iot" ]]; then name=${basename} else printf "Unexpected image type! If we added a new one, it needs mapping here" @@ -145,7 +142,7 @@ find_and_copy_images() { fi # Check that all architectures completed in the build else exit for arch in "${ARCHES[@]}"; do - if [ ! -f "/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/bootc/${arch}/images/${basename}-${release}.${compdate}.ociarchive" ]; then + if [ ! -f "/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/${compose_type}/${arch}/images/${basename}-${release}.${compdate}.ociarchive" ]; then echo "One of the expected images are missing, exiting." exit 1 fi @@ -156,7 +153,7 @@ find_and_copy_images() { # Import the image for arch in "${ARCHES[@]}"; do local filename - filename="/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/bootc/${arch}/images/${basename}-${release}.${compdate}.ociarchive" + filename="/mnt/koji/compose/iot/Fedora-IoT-${release}-${compdate}/compose/${compose_type}/${arch}/images/${basename}-${release}.${compdate}.ociarchive" copy_image ${format}:${filename} ${registry_name}:${release}-${arch} done @@ -178,7 +175,19 @@ fi printf "Syncing compose contailers: ${vers} : ${compose}\n" -# For fedora-bootc -if [[ -n ${base_build_nvr} ]]; then - find_and_copy_images ${base_build_nvr} fedora-bootc ${vers} ${compose} -fi +# For fedora-bootc and fedora-iot +for basename in "${BASENAMES[@]}"; do + if [[ ${basename} = "Fedora-IoT-bootc" ]]; then + registry_name="fedora-bootc" + compose_type="bootc" + ARCHES=("aarch64" "x86_64" "ppc64le" "s390x") + elif [[ ${basename} = "Fedora-IoT-bootc-base" ]]; then + registry_name="fedora-iot" + compose_type="bootc-base" + ARCHES=("aarch64" "x86_64") + fi + base_build_nvr=${basename}-${vers}-${compdate} + if [[ -n ${base_build_nvr} ]]; then + find_and_copy_images ${base_build_nvr} ${registry_name} ${vers} ${compose} + fi +done From 702da4a01d9ef39bbdf3cfe5b6456aafb8a73e4f Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Fri, 4 Oct 2024 10:38:07 -0400 Subject: [PATCH 097/125] F42: drop tier-0 from the compose Signed-off-by: Paul Whalen --- fedora-iot.conf | 11 +---------- variants-fedora.xml | 8 -------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 5ceb39c..11457e3 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -22,7 +22,7 @@ sigkeys = ['105ef944'] tree_arches = ['aarch64', 'x86_64', "ppc64le", "s390x"] # limit tree variants # if undefined, all variants from variants.xml will be included -tree_variants = ['IoT', 'bootc', 'bootc-tier0', 'bootc-base'] +tree_variants = ['IoT', 'bootc', 'bootc-base'] hashed_directories = True # RUNROOT settings @@ -282,15 +282,6 @@ ostree_container = { "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], "failable": ['*'], }, - "^bootc-tier0$": { - "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "config_url": "https://pagure.io/fedora-iot/base-images", - "config_branch": "main", - "treefile": "fedora-tier-0.yaml", - "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], - "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], - "failable": ['*'], - }, "^bootc-base$": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "config_url": "https://pagure.io/fedora-iot/ostree.git", diff --git a/variants-fedora.xml b/variants-fedora.xml index 0568bf8..9deb115 100644 --- a/variants-fedora.xml +++ b/variants-fedora.xml @@ -21,12 +21,4 @@ s390x - - - aarch64 - x86_64 - ppc64le - s390x - - From 9fed822cc19acb6e6a719eefc6e3400deec64246 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 7 Oct 2024 19:02:35 -0700 Subject: [PATCH 098/125] Build bootc images in IoT variant, tweak IoT image's subvariant As discussed in https://pagure.io/fedora-infra/ansible/pull-request/2295 , this subvariant is more usable and in line with previous practice. It will make life a bit easier for fedora-image-uploader. This also tweaks the config to build both ostree container images in the IoT variant and give them explicit subvariants, instead of building them in their own variants and relying on the variant to be inherited as the subvariant definition too. This just seems a bit cleaner and avoids these variants showing up in the metadata, which reads a bit oddly. Signed-off-by: Adam Williamson --- fedora-iot.conf | 42 +++++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 11457e3..fd349ca 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -22,7 +22,7 @@ sigkeys = ['105ef944'] tree_arches = ['aarch64', 'x86_64', "ppc64le", "s390x"] # limit tree variants # if undefined, all variants from variants.xml will be included -tree_variants = ['IoT', 'bootc', 'bootc-base'] +tree_variants = ['IoT'] hashed_directories = True # RUNROOT settings @@ -273,24 +273,28 @@ ostree = { } ostree_container = { - "^bootc$": { - "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "config_url": "https://pagure.io/fedora-iot/base-images", - "config_branch": "main", - "treefile": "fedora-bootc.yaml", - "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], - "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], - "failable": ['*'], - }, - "^bootc-base$": { - "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "config_url": "https://pagure.io/fedora-iot/ostree.git", - "config_branch": "main", - "treefile": "fedora-iot-bootc.yaml", - "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], - "arches": ["x86_64", "aarch64"], - "failable": ['*'], - }, + "^IoT$": [ + { + "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "config_url": "https://pagure.io/fedora-iot/base-images", + "config_branch": "main", + "treefile": "fedora-bootc.yaml", + "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], + "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], + "failable": ['*'], + "subvariant": "bootc", + }, + { + "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "config_url": "https://pagure.io/fedora-iot/ostree.git", + "config_branch": "main", + "treefile": "fedora-iot-bootc.yaml", + "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], + "arches": ["x86_64", "aarch64"], + "failable": ['*'], + "subvariant": "IoT_bootc_base", + }, + ] } koji_profile = 'compose_koji' From 0b466a659dd723e1561b080c218bf1a8cf3c7c37 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 8 Oct 2024 13:44:52 -0400 Subject: [PATCH 099/125] Revert "Build bootc images in IoT variant, tweak IoT image's subvariant" This reverts commit 9fed822cc19acb6e6a719eefc6e3400deec64246. --- fedora-iot.conf | 42 +++++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index fd349ca..11457e3 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -22,7 +22,7 @@ sigkeys = ['105ef944'] tree_arches = ['aarch64', 'x86_64', "ppc64le", "s390x"] # limit tree variants # if undefined, all variants from variants.xml will be included -tree_variants = ['IoT'] +tree_variants = ['IoT', 'bootc', 'bootc-base'] hashed_directories = True # RUNROOT settings @@ -273,28 +273,24 @@ ostree = { } ostree_container = { - "^IoT$": [ - { - "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "config_url": "https://pagure.io/fedora-iot/base-images", - "config_branch": "main", - "treefile": "fedora-bootc.yaml", - "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], - "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], - "failable": ['*'], - "subvariant": "bootc", - }, - { - "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "config_url": "https://pagure.io/fedora-iot/ostree.git", - "config_branch": "main", - "treefile": "fedora-iot-bootc.yaml", - "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], - "arches": ["x86_64", "aarch64"], - "failable": ['*'], - "subvariant": "IoT_bootc_base", - }, - ] + "^bootc$": { + "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "config_url": "https://pagure.io/fedora-iot/base-images", + "config_branch": "main", + "treefile": "fedora-bootc.yaml", + "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], + "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], + "failable": ['*'], + }, + "^bootc-base$": { + "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "config_url": "https://pagure.io/fedora-iot/ostree.git", + "config_branch": "main", + "treefile": "fedora-iot-bootc.yaml", + "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], + "arches": ["x86_64", "aarch64"], + "failable": ['*'], + }, } koji_profile = 'compose_koji' From 6ae099cb81cb5eaec69137d3c6dbcfd2ee3df370 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 8 Oct 2024 14:10:25 -0400 Subject: [PATCH 100/125] F42: update basename for IoT container Signed-off-by: Paul Whalen --- fedora-iot.conf | 4 ++-- sync-bootc-base-containers.sh | 4 ++-- variants-fedora.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 11457e3..c7ead3d 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -22,7 +22,7 @@ sigkeys = ['105ef944'] tree_arches = ['aarch64', 'x86_64', "ppc64le", "s390x"] # limit tree variants # if undefined, all variants from variants.xml will be included -tree_variants = ['IoT', 'bootc', 'bootc-base'] +tree_variants = ['IoT', 'bootc', 'IoT_bootc_base'] hashed_directories = True # RUNROOT settings @@ -282,7 +282,7 @@ ostree_container = { "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], "failable": ['*'], }, - "^bootc-base$": { + "^IoT_bootc_base$": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "main", diff --git a/sync-bootc-base-containers.sh b/sync-bootc-base-containers.sh index d232192..b69dabf 100755 --- a/sync-bootc-base-containers.sh +++ b/sync-bootc-base-containers.sh @@ -67,7 +67,7 @@ if [[ "${3}" == "-s" ]]; then stage="true" fi -BASENAMES=("Fedora-IoT-bootc" "Fedora-IoT-bootc-base") +BASENAMES=("Fedora-IoT-bootc" "Fedora-IoT-IoT_bootc_base") format="oci-archive" vers=${1} compose=${2} @@ -181,7 +181,7 @@ for basename in "${BASENAMES[@]}"; do registry_name="fedora-bootc" compose_type="bootc" ARCHES=("aarch64" "x86_64" "ppc64le" "s390x") - elif [[ ${basename} = "Fedora-IoT-bootc-base" ]]; then + elif [[ ${basename} = "Fedora-IoT-IoT_bootc_base" ]]; then registry_name="fedora-iot" compose_type="bootc-base" ARCHES=("aarch64" "x86_64") diff --git a/variants-fedora.xml b/variants-fedora.xml index 9deb115..041f3ba 100644 --- a/variants-fedora.xml +++ b/variants-fedora.xml @@ -7,7 +7,7 @@ x86_64 - + aarch64 x86_64 From 950193a148ca4a2cf25792d0943d68635d51edf0 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 8 Oct 2024 14:55:56 -0400 Subject: [PATCH 101/125] Revert "F42: update basename for IoT container" This reverts commit 6ae099cb81cb5eaec69137d3c6dbcfd2ee3df370. --- fedora-iot.conf | 4 ++-- sync-bootc-base-containers.sh | 4 ++-- variants-fedora.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index c7ead3d..11457e3 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -22,7 +22,7 @@ sigkeys = ['105ef944'] tree_arches = ['aarch64', 'x86_64', "ppc64le", "s390x"] # limit tree variants # if undefined, all variants from variants.xml will be included -tree_variants = ['IoT', 'bootc', 'IoT_bootc_base'] +tree_variants = ['IoT', 'bootc', 'bootc-base'] hashed_directories = True # RUNROOT settings @@ -282,7 +282,7 @@ ostree_container = { "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], "failable": ['*'], }, - "^IoT_bootc_base$": { + "^bootc-base$": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "main", diff --git a/sync-bootc-base-containers.sh b/sync-bootc-base-containers.sh index b69dabf..d232192 100755 --- a/sync-bootc-base-containers.sh +++ b/sync-bootc-base-containers.sh @@ -67,7 +67,7 @@ if [[ "${3}" == "-s" ]]; then stage="true" fi -BASENAMES=("Fedora-IoT-bootc" "Fedora-IoT-IoT_bootc_base") +BASENAMES=("Fedora-IoT-bootc" "Fedora-IoT-bootc-base") format="oci-archive" vers=${1} compose=${2} @@ -181,7 +181,7 @@ for basename in "${BASENAMES[@]}"; do registry_name="fedora-bootc" compose_type="bootc" ARCHES=("aarch64" "x86_64" "ppc64le" "s390x") - elif [[ ${basename} = "Fedora-IoT-IoT_bootc_base" ]]; then + elif [[ ${basename} = "Fedora-IoT-bootc-base" ]]; then registry_name="fedora-iot" compose_type="bootc-base" ARCHES=("aarch64" "x86_64") diff --git a/variants-fedora.xml b/variants-fedora.xml index 041f3ba..9deb115 100644 --- a/variants-fedora.xml +++ b/variants-fedora.xml @@ -7,7 +7,7 @@ x86_64 - + aarch64 x86_64 From 71f65004d89abd08ff5674d85370363332130f7c Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 8 Oct 2024 16:29:07 -0400 Subject: [PATCH 102/125] F42: use subvariant with bootc containers Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index 11457e3..37300e6 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -281,6 +281,7 @@ ostree_container = { "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], "failable": ['*'], + "subvariant": "bootc", }, "^bootc-base$": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", @@ -290,6 +291,7 @@ ostree_container = { "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], "arches": ["x86_64", "aarch64"], "failable": ['*'], + "subvariant": "IoT_bootc_base", }, } From 0f6c882858b5dd2ee1fafee0746fb2deea6d31f6 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Wed, 9 Oct 2024 10:40:52 -0400 Subject: [PATCH 103/125] Revert "F42: use subvariant with bootc containers" This reverts commit 71f65004d89abd08ff5674d85370363332130f7c. --- fedora-iot.conf | 2 -- 1 file changed, 2 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 37300e6..11457e3 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -281,7 +281,6 @@ ostree_container = { "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], "failable": ['*'], - "subvariant": "bootc", }, "^bootc-base$": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", @@ -291,7 +290,6 @@ ostree_container = { "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], "arches": ["x86_64", "aarch64"], "failable": ['*'], - "subvariant": "IoT_bootc_base", }, } From c1107d53902f70f4e43a5d8262d5ad4012488efb Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Wed, 23 Oct 2024 15:31:01 -0400 Subject: [PATCH 104/125] pungi: update treefile to use for rawhide fedora-bootc As discussed in https://gitlab.com/fedora/bootc/tracker/-/issues/39, we will be maintaining all Fedora versions in the `main` branch going forward. The `fedora-bootc.yaml` file upstream is now version-less. To not break pungi, we need it to use the stub treefile we added that sets the releasever to rawhide. --- fedora-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 11457e3..aa60ed4 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -277,7 +277,7 @@ ostree_container = { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "config_url": "https://pagure.io/fedora-iot/base-images", "config_branch": "main", - "treefile": "fedora-bootc.yaml", + "treefile": "fedora-rawhide.yaml", "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], "failable": ['*'], From 2dcee7e4b153658ea6c3cb0830a064f9b317eba0 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Mon, 4 Nov 2024 16:36:27 -0500 Subject: [PATCH 105/125] F42: Update iot base image to use base-images mirror and tier-x Signed-off-by: Paul Whalen --- fedora-iot.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index aa60ed4..a864c54 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -284,9 +284,9 @@ ostree_container = { }, "^bootc-base$": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "config_url": "https://pagure.io/fedora-iot/ostree.git", + "config_url": "https://pagure.io/fedora-iot/fedora-iot-bootc.git", "config_branch": "main", - "treefile": "fedora-iot-bootc.yaml", + "treefile": "fedora-iot-rawhide.yaml", "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], "arches": ["x86_64", "aarch64"], "failable": ['*'], From faee0e8c9dde309a7a858d37b7d539cca09b50d2 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 5 Nov 2024 07:49:29 -0800 Subject: [PATCH 106/125] sync-bootc-base-containers: 41 is now current Signed-off-by: Adam Williamson --- sync-bootc-base-containers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync-bootc-base-containers.sh b/sync-bootc-base-containers.sh index d232192..ee24432 100755 --- a/sync-bootc-base-containers.sh +++ b/sync-bootc-base-containers.sh @@ -47,7 +47,7 @@ arch_to_goarch() { # This is the release of Fedora that is currently stable, it will define if we # need to move the fedora:latest tag -current_stable="40" +current_stable="41" # Define what is rawhide so we know to push that tag current_rawhide="42" # Sanity checking From 065867da2e7fb2d49093f1926dd3cdcaccd01e4a Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 5 Nov 2024 16:30:22 -0500 Subject: [PATCH 107/125] Revert F42: Update iot base image to use base-images mirror and tier-x Signed-off-by: Paul Whalen --- fedora-iot.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index a864c54..aa60ed4 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -284,9 +284,9 @@ ostree_container = { }, "^bootc-base$": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "config_url": "https://pagure.io/fedora-iot/fedora-iot-bootc.git", + "config_url": "https://pagure.io/fedora-iot/ostree.git", "config_branch": "main", - "treefile": "fedora-iot-rawhide.yaml", + "treefile": "fedora-iot-bootc.yaml", "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], "arches": ["x86_64", "aarch64"], "failable": ['*'], From 5457ba1b6bacb58fd85e02df92ebdb93273679e1 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Fri, 15 Nov 2024 13:12:03 -0500 Subject: [PATCH 108/125] F42: Update iot base image to use base-images mirror and tier-x Signed-off-by: Paul Whalen --- fedora-iot.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index aa60ed4..a864c54 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -284,9 +284,9 @@ ostree_container = { }, "^bootc-base$": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "config_url": "https://pagure.io/fedora-iot/ostree.git", + "config_url": "https://pagure.io/fedora-iot/fedora-iot-bootc.git", "config_branch": "main", - "treefile": "fedora-iot-bootc.yaml", + "treefile": "fedora-iot-rawhide.yaml", "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], "arches": ["x86_64", "aarch64"], "failable": ['*'], From 606ff924e12e929f72fd86ab5e1f0cb438b22748 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Fri, 22 Nov 2024 14:32:23 -0500 Subject: [PATCH 109/125] F42: Temporarily make all deliverables failable Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index a864c54..6fab147 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -221,6 +221,7 @@ osbuild = { "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_ref": "fedora/rawhide/$arch/iot", "subvariant": "IoT", + "failable": ["*"], }, { "name": "%s-ostree" % release_name, @@ -233,6 +234,7 @@ osbuild = { "ostree_ref": "fedora/rawhide/$arch/iot", "subvariant": "IoT", "manifest_type": "dvd-ostree", + "failable": ["*"], }, { "name": "%s-provisioner" % release_name, From 726ab13a4862453631e80d4872a3f16294c5df2c Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Mon, 13 Jan 2025 11:33:26 -0500 Subject: [PATCH 110/125] F42: revert Temporarily make all deliverables failable Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 -- 1 file changed, 2 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 6fab147..a864c54 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -221,7 +221,6 @@ osbuild = { "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_ref": "fedora/rawhide/$arch/iot", "subvariant": "IoT", - "failable": ["*"], }, { "name": "%s-ostree" % release_name, @@ -234,7 +233,6 @@ osbuild = { "ostree_ref": "fedora/rawhide/$arch/iot", "subvariant": "IoT", "manifest_type": "dvd-ostree", - "failable": ["*"], }, { "name": "%s-provisioner" % release_name, From 2b7d52ea42aece7c7fe47746aee98f3e38be5745 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 4 Feb 2025 15:51:46 -0500 Subject: [PATCH 111/125] Rawhide is now Fedora 43 Signed-off-by: Paul Whalen --- fedora-iot.conf | 24 ++++++++++++------------ nightly.sh | 6 +++--- sync-bootc-base-containers.sh | 2 +- sync-release.sh | 8 ++++---- twoweek-nightly.sh | 6 +++--- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index a864c54..4827cef 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,9 +1,9 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '42' +release_version = '43' # Let's not build install media during this run. For the image builds -# and OSTree installer we'll use inputs from other f42 runs. +# and OSTree installer we'll use inputs from other f43 runs. skip_phases = ["buildinstall", "createrepo", "extra_files"] # GENERAL SETTINGS @@ -11,11 +11,11 @@ comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'main', - 'file': 'comps-f42.xml', - 'command': 'make comps-f42.xml' + 'file': 'comps-f43.xml', + 'command': 'make comps-f43.xml' } variants_file='variants-fedora.xml' -sigkeys = ['105ef944'] +sigkeys = ['31645531'] # limit tree architectures # if undefined, all architectures from variants.xml will be included @@ -27,7 +27,7 @@ hashed_directories = True # RUNROOT settings runroot_channel = 'compose' -runroot_tag = 'f42-build' +runroot_tag = 'f43-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -37,7 +37,7 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -pkgset_koji_tag = 'f42-iot' +pkgset_koji_tag = 'f43-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -205,15 +205,15 @@ translate_paths = [ # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '42' +global_version = '43' # live_images ignores this in favor of live_target -global_target = 'f42' +global_target = 'f43' osbuild = { "^IoT$": [ { "name": "%s-raw" % release_name, - "distro": "fedora-42", + "distro": "fedora-43", "image_types": ["iot-raw-image"], "target": "f%s-candidate" % release_version, "arches": ["x86_64", "aarch64"], @@ -224,7 +224,7 @@ osbuild = { }, { "name": "%s-ostree" % release_name, - "distro": "fedora-42", + "distro": "fedora-43", "image_types": ["iot-installer"], "target": "f%s-candidate" % release_version, "arches": ["x86_64", "aarch64"], @@ -236,7 +236,7 @@ osbuild = { }, { "name": "%s-provisioner" % release_name, - "distro": "fedora-42", + "distro": "fedora-43", "image_types": ["iot-simplified-installer"], "target": "f%s-candidate" % release_version, "arches": ["x86_64", "aarch64"], diff --git a/nightly.sh b/nightly.sh index a6675b7..343e11e 100755 --- a/nightly.sh +++ b/nightly.sh @@ -9,9 +9,9 @@ SKIP_PHASES="--skip-phase=productimg" DEST=$(pwd) DATE=$(date "+%Y%m%d") SHORT="Fedora-IoT" -RELEASE="42" -RELEASE_TITLE="42" -COMPSFILE="comps-f42.xml" +RELEASE="43" +RELEASE_TITLE="43" +COMPSFILE="comps-f43.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " diff --git a/sync-bootc-base-containers.sh b/sync-bootc-base-containers.sh index ee24432..6a7e03f 100755 --- a/sync-bootc-base-containers.sh +++ b/sync-bootc-base-containers.sh @@ -49,7 +49,7 @@ arch_to_goarch() { # need to move the fedora:latest tag current_stable="41" # Define what is rawhide so we know to push that tag -current_rawhide="42" +current_rawhide="43" # Sanity checking if ! [[ "${1}" =~ ^-?[0-9]+$ ]]; then diff --git a/sync-release.sh b/sync-release.sh index 1ad1bfe..0999c92 100755 --- a/sync-release.sh +++ b/sync-release.sh @@ -12,14 +12,14 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="42" -RELEASE_TITLE="42" -COMPSFILE="comps-f42.xml" +RELEASE="43" +RELEASE_TITLE="43" +COMPSFILE="comps-f43.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " RSYNCPREFIX="sudo -u ftpsync" -RSYNCTARGET="/pub/alt/iot/42/" +RSYNCTARGET="/pub/alt/iot/43/" OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 7d8d312..8094fd8 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="42" -RELEASE_TITLE="42" -COMPSFILE="comps-f42.xml" +RELEASE="43" +RELEASE_TITLE="43" +COMPSFILE="comps-f43.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " From 69aa8633db787b80515872648f279d139ba8e531 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Thu, 6 Feb 2025 11:23:44 -0500 Subject: [PATCH 112/125] Make Osbuild deliverables failable again due to ongoing network issues in Koji. Signed-off-by: Paul Whalen --- fedora-iot.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index 4827cef..6084310 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -221,6 +221,7 @@ osbuild = { "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", "ostree_ref": "fedora/rawhide/$arch/iot", "subvariant": "IoT", + "failable": ["*"], }, { "name": "%s-ostree" % release_name, @@ -233,6 +234,7 @@ osbuild = { "ostree_ref": "fedora/rawhide/$arch/iot", "subvariant": "IoT", "manifest_type": "dvd-ostree", + "failable": ["*"], }, { "name": "%s-provisioner" % release_name, From 2f94f34e05dab4a08ed96c440c0e906488fcb005 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 7 Oct 2024 19:02:35 -0700 Subject: [PATCH 113/125] Build bootc images in IoT variant, tweak subvariants and names There's substantial history here, including https://pagure.io/fedora-infra/ansible/pull-request/2295 and the discussion in the PR for this commit - https://pagure.io/fedora-iot/pungi-iot/pull-request/102 . This is trying to make the metadata for these images accurate and informative. With this change, the variant for both images will be "IoT" and they will both appear in the IoT directory in the tree. The IoT image's subvariant will also be "IoT". The base image's subvariant will be "base". The format for both images will be "ociarchive", as it currently is. From tomorrow, the type for both images will be "bootable-container". The filename for the IoT image will start with "Fedora-IoT-bootc", and the filename for the base image will start with "Fedora-base-bootc". So we will have these basename - subvariant - type - formats: * Fedora-IoT-bootc - IoT - bootable-container - ociarchive * Fedora-base-bootc - base - bootable-container - ociarchive The base image can easily be moved into the main compose and maintain the same filename base, subvariant, type and format. It would have a different variant in that case, but in practice we do not use the variant for image identification purposes much anyway. Signed-off-by: Adam Williamson --- fedora-iot.conf | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 6084310..8deb7bc 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -22,7 +22,7 @@ sigkeys = ['31645531'] tree_arches = ['aarch64', 'x86_64', "ppc64le", "s390x"] # limit tree variants # if undefined, all variants from variants.xml will be included -tree_variants = ['IoT', 'bootc', 'bootc-base'] +tree_variants = ['IoT'] hashed_directories = True # RUNROOT settings @@ -275,24 +275,29 @@ ostree = { } ostree_container = { - "^bootc$": { - "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "config_url": "https://pagure.io/fedora-iot/base-images", - "config_branch": "main", - "treefile": "fedora-rawhide.yaml", - "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], - "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], - "failable": ['*'], - }, - "^bootc-base$": { - "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "config_url": "https://pagure.io/fedora-iot/fedora-iot-bootc.git", - "config_branch": "main", - "treefile": "fedora-iot-rawhide.yaml", - "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], - "arches": ["x86_64", "aarch64"], - "failable": ['*'], - }, + "^IoT$": [ + { + "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "config_url": "https://pagure.io/fedora-iot/base-images", + "config_branch": "main", + "treefile": "fedora-rawhide.yaml", + "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], + "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], + "failable": ['*'], + "name": "Fedora-IoT-bootc", + }, + { + "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "config_url": "https://pagure.io/fedora-iot/fedora-iot-bootc.git", + "config_branch": "main", + "treefile": "fedora-iot-rawhide.yaml", + "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], + "arches": ["x86_64", "aarch64"], + "failable": ['*'], + "subvariant": "base", + "name": "Fedora-base-bootc", + }, + ] } koji_profile = 'compose_koji' From 8be1b6f560606558ffeedead69f05249c9b36fd8 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Thu, 24 Apr 2025 12:27:25 -0400 Subject: [PATCH 114/125] Add s390x and ppc64le to iot variant to produce bootc containers The generic bootc container was added to the IoT section of the compose, since then s390x and ppc64le have started to fail. This adds those arches to the IoT section in variant.xml and removes the old variants. Signed-off-by: Paul Whalen --- variants-fedora.xml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/variants-fedora.xml b/variants-fedora.xml index 9deb115..01f5f57 100644 --- a/variants-fedora.xml +++ b/variants-fedora.xml @@ -4,21 +4,9 @@ aarch64 - x86_64 - - - - - aarch64 - x86_64 - - - - - aarch64 - x86_64 - ppc64le - s390x + x86_64 + ppc64le + s390x From 9d606b1a54e109587f040da7677df400f089ea52 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Fri, 25 Apr 2025 17:04:40 -0400 Subject: [PATCH 115/125] Fix container names to reflect content in the image This fixes the container names to reflect the content in the image. Fedora-IoT-bootc - iot image Fedora-base-bootc - generic base image Signed-off-by: Paul Whalen --- fedora-iot.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 8deb7bc..6b5118d 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -284,7 +284,8 @@ ostree_container = { "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], "arches": ["x86_64", "aarch64", "ppc64le", "s390x"], "failable": ['*'], - "name": "Fedora-IoT-bootc", + "subvariant": "base", + "name": "Fedora-base-bootc", }, { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", @@ -294,8 +295,7 @@ ostree_container = { "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], "arches": ["x86_64", "aarch64"], "failable": ['*'], - "subvariant": "base", - "name": "Fedora-base-bootc", + "name": "Fedora-IoT-bootc", }, ] } From f968bf20e9c8c72224123b979e6e99e6b034c68d Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 29 Apr 2025 09:31:03 -0400 Subject: [PATCH 116/125] Stop running the container sync script, replaced by cloud-image-uploader Signed-off-by: Paul Whalen --- twoweek-nightly.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 8094fd8..560183d 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -69,10 +69,6 @@ for dir in IoT metadata ; $RSYNCPREFIX rsync -avhH --delete-after $DESTDIR/compose/$dir/ "$RSYNCTARGET/$dir/" ; $RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCTARGET/" --name $NEWCOMPOSE_ID done -# Push containers -./sync-bootc-base-containers.sh ${RELEASE} ${LABEL} -# Tell interested persons that the rsync is done. -send_fedmsg "${fedmsg_json_done}" ${RELEASE} rsync.complete # Tell everyone by fedmsg about the compose send_fedmsg "${fedmsg_json_done}" ${RELEASE} complete SUBJECT='Fedora '$RELEASE' compose report: '$SHORTCOMPOSE_ID' changes' From f59060737228432f4502b8853667de3775f35f54 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Wed, 6 Aug 2025 16:44:55 -0400 Subject: [PATCH 117/125] Update F43 to use new pungi imagebuilder configuration option See: https://fedoraproject.org/wiki/Changes/KojiLocalImageBuilder Signed-off-by: Paul Whalen --- fedora-iot.conf | 45 +++++++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 6b5118d..dc73fbe 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -209,44 +209,49 @@ global_version = '43' # live_images ignores this in favor of live_target global_target = 'f43' -osbuild = { +imagebuilder_target = 'f43-image-builder' +imagebuilder = { "^IoT$": [ { "name": "%s-raw" % release_name, - "distro": "fedora-43", - "image_types": ["iot-raw-image"], - "target": "f%s-candidate" % release_version, + "types": ["iot-raw-xz"], "arches": ["x86_64", "aarch64"], - "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"], - "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", - "ostree_ref": "fedora/rawhide/$arch/iot", + "repos": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"], + "ostree": { + "url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", + "ref": "fedora/rawhide/$arch/iot", + }, "subvariant": "IoT", "failable": ["*"], }, { "name": "%s-ostree" % release_name, - "distro": "fedora-43", - "image_types": ["iot-installer"], - "target": "f%s-candidate" % release_version, + "types": ["iot-installer"], "arches": ["x86_64", "aarch64"], - "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"], - "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", - "ostree_ref": "fedora/rawhide/$arch/iot", + "repos": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"], + "ostree": { + "url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", + "ref": "fedora/rawhide/$arch/iot", + }, "subvariant": "IoT", "manifest_type": "dvd-ostree", "failable": ["*"], }, { "name": "%s-provisioner" % release_name, - "distro": "fedora-43", - "image_types": ["iot-simplified-installer"], - "target": "f%s-candidate" % release_version, + "types": ["iot-simplified-installer"], "arches": ["x86_64", "aarch64"], - "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"], - "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", - "ostree_ref": "fedora/rawhide/$arch/iot", + "repos": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/"], + "ostree": { + "url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", + "ref": "fedora/rawhide/$arch/iot", + }, + "blueprint": { + "customizations": { + "installation_device": "/dev/vda1", + }, + }, "subvariant": "IoT_Simplified_Provisioner", - "customizations": {"installation_device": "/dev/vda"}, "failable": ["*"], "manifest_type": "dvd-ostree", }, From d23774204c6b7740a664a047eb48c95b26e4a6ef Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 12 Aug 2025 09:28:34 -0400 Subject: [PATCH 118/125] F-44: Update for branching Signed-off-by: Paul Whalen --- fedora-iot.conf | 20 ++++++++++---------- nightly.sh | 6 +++--- sync-release.sh | 8 ++++---- twoweek-nightly.sh | 6 +++--- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index dc73fbe..9cda9d0 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,9 +1,9 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '43' +release_version = '44' # Let's not build install media during this run. For the image builds -# and OSTree installer we'll use inputs from other f43 runs. +# and OSTree installer we'll use inputs from other f44 runs. skip_phases = ["buildinstall", "createrepo", "extra_files"] # GENERAL SETTINGS @@ -11,11 +11,11 @@ comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'main', - 'file': 'comps-f43.xml', - 'command': 'make comps-f43.xml' + 'file': 'comps-f44.xml', + 'command': 'make comps-f44.xml' } variants_file='variants-fedora.xml' -sigkeys = ['31645531'] +sigkeys = ['6D9F90A6'] # limit tree architectures # if undefined, all architectures from variants.xml will be included @@ -27,7 +27,7 @@ hashed_directories = True # RUNROOT settings runroot_channel = 'compose' -runroot_tag = 'f43-build' +runroot_tag = 'f44-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -37,7 +37,7 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -pkgset_koji_tag = 'f43-iot' +pkgset_koji_tag = 'f44-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -205,11 +205,11 @@ translate_paths = [ # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '43' +global_version = '44' # live_images ignores this in favor of live_target -global_target = 'f43' +global_target = 'f44' -imagebuilder_target = 'f43-image-builder' +imagebuilder_target = 'f44-image-builder' imagebuilder = { "^IoT$": [ { diff --git a/nightly.sh b/nightly.sh index 343e11e..53d8229 100755 --- a/nightly.sh +++ b/nightly.sh @@ -9,9 +9,9 @@ SKIP_PHASES="--skip-phase=productimg" DEST=$(pwd) DATE=$(date "+%Y%m%d") SHORT="Fedora-IoT" -RELEASE="43" -RELEASE_TITLE="43" -COMPSFILE="comps-f43.xml" +RELEASE="44" +RELEASE_TITLE="44" +COMPSFILE="comps-f44.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " diff --git a/sync-release.sh b/sync-release.sh index 0999c92..953d1fb 100755 --- a/sync-release.sh +++ b/sync-release.sh @@ -12,14 +12,14 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="43" -RELEASE_TITLE="43" -COMPSFILE="comps-f43.xml" +RELEASE="44" +RELEASE_TITLE="44" +COMPSFILE="comps-f44.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " RSYNCPREFIX="sudo -u ftpsync" -RSYNCTARGET="/pub/alt/iot/43/" +RSYNCTARGET="/pub/alt/iot/44/" OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 560183d..0cc7718 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="43" -RELEASE_TITLE="43" -COMPSFILE="comps-f43.xml" +RELEASE="44" +RELEASE_TITLE="44" +COMPSFILE="comps-f44.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " From 29d8a41ea5c9ea25d81ce2c41e11741965f00d25 Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Tue, 7 Oct 2025 21:35:53 +0200 Subject: [PATCH 119/125] ref: fix path effected by releng repo refactoring Signed-off-by: Anton Medvedev --- nightly.sh | 2 +- twoweek-nightly.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nightly.sh b/nightly.sh index 53d8229..de83430 100755 --- a/nightly.sh +++ b/nightly.sh @@ -36,7 +36,7 @@ fi # Set up our fedmsg function, using the releng repo definition #FEDMSG_MODNAME="compose" #FEDMSG_CERTPREFIX="releng" -. ./releng/scripts/fedmsg-functions.sh +. ./releng/scripts_new/infrastructure/messaging/fedora_messaging.sh # Announce that we are starting, even though we don't know the compose_id yet.. #fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s"}' "$RELEASE" "$ARCH" "$SHORT") diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 0cc7718..4c012dd 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -34,7 +34,7 @@ fi fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s"}' "$RELEASE" "$ARCH" "$SHORT") FEDMSG_MODNAME="compose" FEDMSG_CERTPREFIX="releng" -. ./releng/scripts/fedmsg-functions.sh +. ./releng/scripts_new/infrastructure/messaging/fedora_messaging.sh # Announce that we are starting... send_fedmsg "${fedmsg_json_start}" ${RELEASE} start CMD="pungi-koji --notification-script=/usr/bin/pungi-fedmsg-notification --notification-script=pungi-wait-for-signed-ostree-handler --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $NIGHTLY --label=$LABEL" From 96a8f98dc4bd592cac0b40fc9477c58a769e1bf2 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Fri, 6 Feb 2026 13:12:22 -0500 Subject: [PATCH 120/125] F-45: Update for branching Signed-off-by: Paul Whalen --- fedora-iot.conf | 20 ++++++++++---------- nightly.sh | 6 +++--- sync-bootc-base-containers.sh | 4 ++-- sync-release.sh | 8 ++++---- twoweek-nightly.sh | 6 +++--- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index 9cda9d0..f001679 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,9 +1,9 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '44' +release_version = '45' # Let's not build install media during this run. For the image builds -# and OSTree installer we'll use inputs from other f44 runs. +# and OSTree installer we'll use inputs from other f45 runs. skip_phases = ["buildinstall", "createrepo", "extra_files"] # GENERAL SETTINGS @@ -11,11 +11,11 @@ comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'main', - 'file': 'comps-f44.xml', - 'command': 'make comps-f44.xml' + 'file': 'comps-f45.xml', + 'command': 'make comps-f45.xml' } variants_file='variants-fedora.xml' -sigkeys = ['6D9F90A6'] +sigkeys = ['F577861E'] # limit tree architectures # if undefined, all architectures from variants.xml will be included @@ -27,7 +27,7 @@ hashed_directories = True # RUNROOT settings runroot_channel = 'compose' -runroot_tag = 'f44-build' +runroot_tag = 'f45-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -37,7 +37,7 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -pkgset_koji_tag = 'f44-iot' +pkgset_koji_tag = 'f45-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -205,11 +205,11 @@ translate_paths = [ # These will be inherited by live_media, live_images and image_build global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '44' +global_version = '45' # live_images ignores this in favor of live_target -global_target = 'f44' +global_target = 'f45' -imagebuilder_target = 'f44-image-builder' +imagebuilder_target = 'f45-image-builder' imagebuilder = { "^IoT$": [ { diff --git a/nightly.sh b/nightly.sh index de83430..a28e1cb 100755 --- a/nightly.sh +++ b/nightly.sh @@ -9,9 +9,9 @@ SKIP_PHASES="--skip-phase=productimg" DEST=$(pwd) DATE=$(date "+%Y%m%d") SHORT="Fedora-IoT" -RELEASE="44" -RELEASE_TITLE="44" -COMPSFILE="comps-f44.xml" +RELEASE="45" +RELEASE_TITLE="45" +COMPSFILE="comps-f45.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " diff --git a/sync-bootc-base-containers.sh b/sync-bootc-base-containers.sh index 6a7e03f..06ad1fc 100755 --- a/sync-bootc-base-containers.sh +++ b/sync-bootc-base-containers.sh @@ -47,9 +47,9 @@ arch_to_goarch() { # This is the release of Fedora that is currently stable, it will define if we # need to move the fedora:latest tag -current_stable="41" +current_stable="43" # Define what is rawhide so we know to push that tag -current_rawhide="43" +current_rawhide="45" # Sanity checking if ! [[ "${1}" =~ ^-?[0-9]+$ ]]; then diff --git a/sync-release.sh b/sync-release.sh index 953d1fb..391d130 100755 --- a/sync-release.sh +++ b/sync-release.sh @@ -12,14 +12,14 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="44" -RELEASE_TITLE="44" -COMPSFILE="comps-f44.xml" +RELEASE="45" +RELEASE_TITLE="45" +COMPSFILE="comps-f45.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " RSYNCPREFIX="sudo -u ftpsync" -RSYNCTARGET="/pub/alt/iot/44/" +RSYNCTARGET="/pub/alt/iot/45/" OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 4c012dd..3d8225b 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="44" -RELEASE_TITLE="44" -COMPSFILE="comps-f44.xml" +RELEASE="45" +RELEASE_TITLE="45" +COMPSFILE="comps-f45.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " From 087fe9f286ca2c3249b8fa3590855317ae987bb8 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Fri, 6 Feb 2026 15:13:08 -0500 Subject: [PATCH 121/125] fix: fedora-kickstarts retired Signed-off-by: Paul Whalen --- fedora-iot.conf | 6 ------ 1 file changed, 6 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index f001679..709d616 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -202,12 +202,6 @@ translate_paths = [ ('/mnt/koji/compose/', 'https://kojipkgs.fedoraproject.org/compose/'), ] -# These will be inherited by live_media, live_images and image_build -global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' -global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '45' -# live_images ignores this in favor of live_target -global_target = 'f45' imagebuilder_target = 'f45-image-builder' imagebuilder = { From 4186f8b817a4cc0a71bf29408c79a761abbc4a4c Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 27 Apr 2026 23:46:23 -0700 Subject: [PATCH 122/125] Restore global_release, global_version, global_target It's not entirely obvious, but these were not in fact tied to the old livemedia phase as 087fe9f thought; they are used by modern phases like imagebuilder and kiwi as well. Restore them, with a less misleading comment. Fixes: https://github.com/fedora-iot/iot-distro/issues/131 Signed-off-by: Adam Williamson --- fedora-iot.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fedora-iot.conf b/fedora-iot.conf index 709d616..ce60e8e 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -202,6 +202,10 @@ translate_paths = [ ('/mnt/koji/compose/', 'https://kojipkgs.fedoraproject.org/compose/'), ] +# These may be inherited by various phases for creating Koji tasks +global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' +global_version = '45' +global_target = 'f45' imagebuilder_target = 'f45-image-builder' imagebuilder = { From 5fe5764dbad29ffc382eb7dcfea12f7c07b9c109 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 28 Jul 2026 16:01:37 -0400 Subject: [PATCH 123/125] Update Pagure URLs to Forge for IoT compose - fedora-iot.conf: Update comps_file, ostree, and ostree_container config_urls to forge.fedoraproject.org (fedora-comps, ostree, base-images, fedora-iot-bootc) - fedora-iot.conf: Update pungi-fedora PR/issue comment links - nightly.sh: Update releng and fedora-comps clone URLs - twoweek-nightly.sh: Update releng clone URL Assisted-by: Claude Opus 4.6 Signed-off-by: Paul Whalen --- fedora-iot.conf | 12 ++++++------ nightly.sh | 4 ++-- twoweek-nightly.sh | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index ce60e8e..fe7c0d3 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -9,7 +9,7 @@ skip_phases = ["buildinstall", "createrepo", "extra_files"] # GENERAL SETTINGS comps_file = { 'scm': 'git', - 'repo': 'https://pagure.io/fedora-comps.git', + 'repo': 'https://forge.fedoraproject.org/releng/fedora-comps.git', 'branch': 'main', 'file': 'comps-f45.xml', 'command': 'make comps-f45.xml' @@ -166,7 +166,7 @@ image_volid_layered_product_formats = [] # allow Pungi to tell it what volume ID to use. Note: # https://fedoraproject.org/wiki/User:Adamwill/Draft_fedora_image_naming_policy # '-Workstation-' is a temporary workaround. See -# https://pagure.io/pungi-fedora/pull-request/525 +# https://forge.fedoraproject.org/releng/pungi-fedora/pulls/525 volume_id_substitutions = { 'Beta': 'B', 'Rawhide': 'rawh', @@ -183,7 +183,7 @@ volume_id_substitutions = { 'IoT': 'iot', 'Jam_KDE': 'Jam', 'MATE_Compiz': 'MATE', - # Note https://pagure.io/pungi-fedora/issue/533 + # Note https://forge.fedoraproject.org/releng/pungi-fedora/issues/533 'Python-Classroom': 'Clss', 'Python_Classroom': 'Clss', 'Robotics': 'Robo', @@ -262,7 +262,7 @@ ostree = { "force_new_commit": True, "unified_core": True, "treefile": "fedora-iot.yaml", - "config_url": "https://pagure.io/fedora-iot/ostree.git", + "config_url": "https://forge.fedoraproject.org/iot/ostree.git", "config_branch": "main", "repo": [ "IoT", @@ -281,7 +281,7 @@ ostree_container = { "^IoT$": [ { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "config_url": "https://pagure.io/fedora-iot/base-images", + "config_url": "https://forge.fedoraproject.org/iot/base-images.git", "config_branch": "main", "treefile": "fedora-rawhide.yaml", "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], @@ -292,7 +292,7 @@ ostree_container = { }, { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", - "config_url": "https://pagure.io/fedora-iot/fedora-iot-bootc.git", + "config_url": "https://forge.fedoraproject.org/iot/fedora-iot-bootc.git", "config_branch": "main", "treefile": "fedora-iot-rawhide.yaml", "repo": ["https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$basearch/os/"], diff --git a/nightly.sh b/nightly.sh index a28e1cb..ea54ab7 100755 --- a/nightly.sh +++ b/nightly.sh @@ -30,7 +30,7 @@ if [ -d releng ]; then git pull --rebase popd else - git clone https://pagure.io/releng.git + git clone https://forge.fedoraproject.org/releng/tooling.git releng fi # Set up our fedmsg function, using the releng repo definition @@ -43,7 +43,7 @@ fi #send_fedmsg "${fedmsg_json_start}" ${RELEASE} start #pushd $TMPDIR -#git clone https://pagure.io/fedora-comps.git && { +#git clone https://forge.fedoraproject.org/releng/fedora-comps.git && { # pushd fedora-comps # make "${COMPSFILE}" # cp "${COMPSFILE}" $DEST/ diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 3d8225b..6dc5a62 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -28,7 +28,7 @@ if [ -d releng ]; then git pull --rebase popd else - git clone https://pagure.io/releng.git + git clone https://forge.fedoraproject.org/releng/tooling.git releng fi # Set up our fedmsg function, using the releng repo definition fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s"}' "$RELEASE" "$ARCH" "$SHORT") From e8f17b68c4670aee848f878d63184acb84d5b11f Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Wed, 29 Jul 2026 10:51:09 -0400 Subject: [PATCH 124/125] Update releng script paths for tooling repo restructure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - nightly.sh: Update fedora_messaging.sh path (scripts_new/ → no prefix) - nightly.sh: Update build_composeinfo path (scripts/ → builds/compose/) - twoweek-nightly.sh: Update fedora_messaging.sh path (scripts_new/ → no prefix) - twoweek-nightly.sh: Update build_composeinfo path (scripts/ → builds/compose/) Assisted-by: Claude Opus 4.6 Signed-off-by: Paul Whalen --- nightly.sh | 4 ++-- twoweek-nightly.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nightly.sh b/nightly.sh index ea54ab7..4859e4b 100755 --- a/nightly.sh +++ b/nightly.sh @@ -36,7 +36,7 @@ fi # Set up our fedmsg function, using the releng repo definition #FEDMSG_MODNAME="compose" #FEDMSG_CERTPREFIX="releng" -. ./releng/scripts_new/infrastructure/messaging/fedora_messaging.sh +. ./releng/infrastructure/messaging/fedora_messaging.sh # Announce that we are starting, even though we don't know the compose_id yet.. #fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s"}' "$RELEASE" "$ARCH" "$SHORT") @@ -67,7 +67,7 @@ fi NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-.*-||g') -./releng/scripts/build_composeinfo "$TARGET_DIR/$NEWCOMPOSE_ID/" --name "$NEWCOMPOSE_ID" +./releng/builds/compose/build_composeinfo.py "$TARGET_DIR/$NEWCOMPOSE_ID/" --name "$NEWCOMPOSE_ID" # Set this to use later for a few items include depcheck DESTDIR=$TARGET_DIR/$NEWCOMPOSE_ID diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 6dc5a62..642e30d 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -34,7 +34,7 @@ fi fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s"}' "$RELEASE" "$ARCH" "$SHORT") FEDMSG_MODNAME="compose" FEDMSG_CERTPREFIX="releng" -. ./releng/scripts_new/infrastructure/messaging/fedora_messaging.sh +. ./releng/infrastructure/messaging/fedora_messaging.sh # Announce that we are starting... send_fedmsg "${fedmsg_json_start}" ${RELEASE} start CMD="pungi-koji --notification-script=/usr/bin/pungi-fedmsg-notification --notification-script=pungi-wait-for-signed-ostree-handler --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $NIGHTLY --label=$LABEL" @@ -52,7 +52,7 @@ ostree summary --update --repo=/mnt/koji/compose/iot/repo/ NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-.*-||g') -./releng/scripts/build_composeinfo "$TARGET_DIR/$NEWCOMPOSE_ID/" --name "$NEWCOMPOSE_ID" +./releng/builds/compose/build_composeinfo.py "$TARGET_DIR/$NEWCOMPOSE_ID/" --name "$NEWCOMPOSE_ID" DESTDIR=$TARGET_DIR/$NEWCOMPOSE_ID # Public URL the synced compose will wind up at, we put it in fedmsgs @@ -67,7 +67,7 @@ send_fedmsg "${fedmsg_json_start}" ${RELEASE} rsync.start for dir in IoT metadata ; do $RSYNCPREFIX rsync -avhH --delete-after $DESTDIR/compose/$dir/ "$RSYNCTARGET/$dir/" ; - $RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCTARGET/" --name $NEWCOMPOSE_ID + $RSYNCPREFIX ./releng/builds/compose/build_composeinfo.py "$RSYNCTARGET/" --name $NEWCOMPOSE_ID done # Tell everyone by fedmsg about the compose send_fedmsg "${fedmsg_json_done}" ${RELEASE} complete From 3d9cd16f820df2fe268931157d2c3447d5bc7094 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Wed, 12 Aug 2026 10:17:54 -0400 Subject: [PATCH 125/125] Bump rawhide to Fedora 46 --- fedora-iot.conf | 18 +++++++++--------- nightly.sh | 6 +++--- sync-bootc-base-containers.sh | 4 ++-- sync-release.sh | 8 ++++---- twoweek-nightly.sh | 6 +++--- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/fedora-iot.conf b/fedora-iot.conf index fe7c0d3..a3a3c10 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -1,7 +1,7 @@ # PRODUCT INFO release_name = 'Fedora-IoT' release_short = 'Fedora-IoT' -release_version = '45' +release_version = '46' # Let's not build install media during this run. For the image builds # and OSTree installer we'll use inputs from other f45 runs. skip_phases = ["buildinstall", "createrepo", "extra_files"] @@ -11,11 +11,11 @@ comps_file = { 'scm': 'git', 'repo': 'https://forge.fedoraproject.org/releng/fedora-comps.git', 'branch': 'main', - 'file': 'comps-f45.xml', - 'command': 'make comps-f45.xml' + 'file': 'comps-f46.xml', + 'command': 'make comps-f46.xml' } variants_file='variants-fedora.xml' -sigkeys = ['F577861E'] +sigkeys = ['91211FCE'] # limit tree architectures # if undefined, all architectures from variants.xml will be included @@ -27,7 +27,7 @@ hashed_directories = True # RUNROOT settings runroot_channel = 'compose' -runroot_tag = 'f45-build' +runroot_tag = 'f46-build' # PKGSET pkgset_source = 'koji' # koji, repos @@ -37,7 +37,7 @@ pkgset_source = 'koji' # koji, repos # pkgset_repos = {} # PKGSET - KOJI -pkgset_koji_tag = 'f45-iot' +pkgset_koji_tag = 'f46-iot' pkgset_koji_inherit = False filter_system_release_packages = False @@ -204,10 +204,10 @@ translate_paths = [ # These may be inherited by various phases for creating Koji tasks global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = '45' -global_target = 'f45' +global_version = '46' +global_target = 'f46' -imagebuilder_target = 'f45-image-builder' +imagebuilder_target = 'f46-image-builder' imagebuilder = { "^IoT$": [ { diff --git a/nightly.sh b/nightly.sh index 4859e4b..fa8dfcb 100755 --- a/nightly.sh +++ b/nightly.sh @@ -9,9 +9,9 @@ SKIP_PHASES="--skip-phase=productimg" DEST=$(pwd) DATE=$(date "+%Y%m%d") SHORT="Fedora-IoT" -RELEASE="45" -RELEASE_TITLE="45" -COMPSFILE="comps-f45.xml" +RELEASE="46" +RELEASE_TITLE="46" +COMPSFILE="comps-f46.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " diff --git a/sync-bootc-base-containers.sh b/sync-bootc-base-containers.sh index 06ad1fc..ebab8ee 100755 --- a/sync-bootc-base-containers.sh +++ b/sync-bootc-base-containers.sh @@ -47,9 +47,9 @@ arch_to_goarch() { # This is the release of Fedora that is currently stable, it will define if we # need to move the fedora:latest tag -current_stable="43" +current_stable="44" # Define what is rawhide so we know to push that tag -current_rawhide="45" +current_rawhide="46" # Sanity checking if ! [[ "${1}" =~ ^-?[0-9]+$ ]]; then diff --git a/sync-release.sh b/sync-release.sh index 391d130..5badf8c 100755 --- a/sync-release.sh +++ b/sync-release.sh @@ -12,14 +12,14 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="45" -RELEASE_TITLE="45" -COMPSFILE="comps-f45.xml" +RELEASE="46" +RELEASE_TITLE="46" +COMPSFILE="comps-f46.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report " RSYNCPREFIX="sudo -u ftpsync" -RSYNCTARGET="/pub/alt/iot/45/" +RSYNCTARGET="/pub/alt/iot/46/" OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 642e30d..c0925c7 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -11,9 +11,9 @@ DEST=$(pwd) DATE=$(date "+%Y%m%d") # the Pungi 'shortname', which we will include in fedmsgs for disambiguation SHORT="Fedora-IoT" -RELEASE="45" -RELEASE_TITLE="45" -COMPSFILE="comps-f45.xml" +RELEASE="46" +RELEASE_TITLE="46" +COMPSFILE="comps-f46.xml" TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX` TOMAIL="iot@lists.fedoraproject.org" FROM="Fedora IoT Report "