build: regenerate the runtime marker for implicit packages

We may still want to remove markers when we remove packages,
but for now just make sure the patched packages set does not
strip any packets to aux that are acutally runtime.
This commit is contained in:
Franco Fichtner committed 2026-12-03 15:28:30 +01:00
1 parent e35fda3636
commit 00a0335dcd
1 file changed
+6 -2
+6 -2
View File
@@ -47,6 +47,8 @@ remove_packages ${STAGEDIR} ${@}
# done is stripping the auxiliary packages that are only needed for
# the build and further testing.
mkdir -p ${STAGEDIR}${PACKAGESDIR}/.Run
for PKG in $(cd ${STAGEDIR}; find .${PACKAGESDIR}/All -type f); do
PKGNAME=$(basename ${PKG%-[0-9]*})
@@ -61,10 +63,12 @@ for PKG in $(cd ${STAGEDIR}; find .${PACKAGESDIR}/All -type f); do
mkdir -p ${STAGEDIR}${PACKAGESDIR}-aux/All
mv ${STAGEDIR}/${PKG} ${STAGEDIR}${PACKAGESDIR}-aux/All
else
touch ${STAGEDIR}${PACKAGESDIR}/.Run/${PKGNAME}
fi
done
# remove the hints from the resulting packages set
rm -rf ${STAGEDIR}${PACKAGESDIR}/.Build ${STAGEDIR}${PACKAGESDIR}/.Run
# remove the build hints from the resulting packages set
rm -rf ${STAGEDIR}${PACKAGESDIR}/.Build
bundle_packages ${STAGEDIR} ${SELF}