mkosi: remove conflicting deb packages from builddir

These are not actually needed or installed, so delete them from the
build directory, so that inside an image one can do:

apt install --reinstall /work/build/*.deb

Follow-up for 690a85b1d4
This commit is contained in:
Luca Boccassi
2024-07-03 21:05:14 +02:00
committed by Daan De Meyer
parent a7856c8182
commit ce513c6c6c
@@ -140,4 +140,6 @@ fi
cp ../*.deb ../*.ddeb "$PACKAGEDIR"
cp ../*.deb ../*.ddeb "$OUTPUTDIR"
cp ../*.deb ../*.ddeb "$BUILDDIR"
# These conflict with the packages that we actually want to install, so remove them
rm -f "$BUILDDIR"/systemd-standalone-*.deb "$BUILDDIR"/systemd-standalone-*.ddeb
)