mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
mkosi: Clean up old packages from the build directory
This commit is contained in:
parent
ce513c6c6c
commit
2f6046f66b
@ -90,5 +90,10 @@ env --chdir="pkg/$ID" \
|
||||
PKGEXT=".pkg.tar" \
|
||||
MESON_EXTRA_CONFIGURE_OPTIONS="$MKOSI_MESON_OPTIONS $MESON_OPTIONS"
|
||||
|
||||
(
|
||||
shopt -s nullglob
|
||||
rm -f "$BUILDDIR"/*.pkg.tar
|
||||
)
|
||||
|
||||
cp "$OUTPUTDIR"/*.pkg.tar "$PACKAGEDIR"
|
||||
cp "$OUTPUTDIR"/*.pkg.tar "$BUILDDIR"
|
||||
|
@ -113,5 +113,10 @@ CXX_LD="$( ((LLVM)) && echo lld)" \
|
||||
--noclean \
|
||||
"pkg/$ID/systemd.spec"
|
||||
|
||||
(
|
||||
shopt -s nullglob
|
||||
rm -f "$BUILDDIR"/*.rpm
|
||||
)
|
||||
|
||||
cp "$OUTPUTDIR"/*.rpm "$PACKAGEDIR"
|
||||
cp "$OUTPUTDIR"/*.rpm "$BUILDDIR"
|
||||
|
@ -137,6 +137,8 @@ fi
|
||||
|
||||
(
|
||||
shopt -s nullglob
|
||||
rm -f "$BUILDDIR"/*.deb "$BUILDDIR"/*.ddeb
|
||||
|
||||
cp ../*.deb ../*.ddeb "$PACKAGEDIR"
|
||||
cp ../*.deb ../*.ddeb "$OUTPUTDIR"
|
||||
cp ../*.deb ../*.ddeb "$BUILDDIR"
|
||||
|
@ -132,5 +132,10 @@ if ! build; then
|
||||
build --noprep --nocheck
|
||||
fi
|
||||
|
||||
(
|
||||
shopt -s nullglob
|
||||
rm -f "$BUILDDIR"/*.rpm
|
||||
)
|
||||
|
||||
cp "$OUTPUTDIR"/*.rpm "$PACKAGEDIR"
|
||||
cp "$OUTPUTDIR"/*.rpm "$BUILDDIR"
|
||||
|
Loading…
Reference in New Issue
Block a user