17
0

2 Commits

2 changed files with 12 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 24 13:27:33 CEST 2025 - Ruediger Oertel <ro@suse.de>
* copy milestone files along with the created rpms if they exist
-------------------------------------------------------------------
Mon Apr 28 09:59:09 UTC 2025 - Giacomo Leidi <giacomo.leidi@suse.com>

View File

@@ -36,6 +36,7 @@ ARCH="$(uname -m)"
set +e # we have set -e, so on Minimal VMs this needs to fail silently
iso_file=`ls -1 /usr/src/packages/KIWI/agama-installer*.iso 2>/dev/null`
pxe_file=`ls -1 /usr/src/packages/KIWI/agama-installer*.install.tar 2>/dev/null`
milestone_file=`ls -1 /usr/src/packages/KIWI/agama-installer*.milestone 2>/dev/null`
set -e
# nothing to do for us
@@ -97,3 +98,9 @@ if [ -e $TOPDIR/RPMS/noarch/tftpboot-$iso_name$FLAVOR-$ARCH-$iso_version-$iso_bu
mv $TOPDIR/RPMS/noarch/tftpboot-$iso_name$FLAVOR-$ARCH-$iso_version-$iso_build.noarch.rpm $TOPDIR/OTHER/
fi
mv $TOPDIR/SRPMS/baseiso-$iso_name$FLAVOR-$iso_version-$iso_build.src.rpm $TOPDIR/OTHER/
if [ -e "$milestone_file" ]; then
for rpmpack in $TOPDIR/OTHER/*rpm ; do
test -e $rpmpack || continue
cp -a $milestone_file ${rpmpack%.rpm}.milestone
done
fi