mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +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" \
|
PKGEXT=".pkg.tar" \
|
||||||
MESON_EXTRA_CONFIGURE_OPTIONS="$MKOSI_MESON_OPTIONS $MESON_OPTIONS"
|
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 "$PACKAGEDIR"
|
||||||
cp "$OUTPUTDIR"/*.pkg.tar "$BUILDDIR"
|
cp "$OUTPUTDIR"/*.pkg.tar "$BUILDDIR"
|
||||||
|
@ -113,5 +113,10 @@ CXX_LD="$( ((LLVM)) && echo lld)" \
|
|||||||
--noclean \
|
--noclean \
|
||||||
"pkg/$ID/systemd.spec"
|
"pkg/$ID/systemd.spec"
|
||||||
|
|
||||||
|
(
|
||||||
|
shopt -s nullglob
|
||||||
|
rm -f "$BUILDDIR"/*.rpm
|
||||||
|
)
|
||||||
|
|
||||||
cp "$OUTPUTDIR"/*.rpm "$PACKAGEDIR"
|
cp "$OUTPUTDIR"/*.rpm "$PACKAGEDIR"
|
||||||
cp "$OUTPUTDIR"/*.rpm "$BUILDDIR"
|
cp "$OUTPUTDIR"/*.rpm "$BUILDDIR"
|
||||||
|
@ -137,6 +137,8 @@ fi
|
|||||||
|
|
||||||
(
|
(
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
rm -f "$BUILDDIR"/*.deb "$BUILDDIR"/*.ddeb
|
||||||
|
|
||||||
cp ../*.deb ../*.ddeb "$PACKAGEDIR"
|
cp ../*.deb ../*.ddeb "$PACKAGEDIR"
|
||||||
cp ../*.deb ../*.ddeb "$OUTPUTDIR"
|
cp ../*.deb ../*.ddeb "$OUTPUTDIR"
|
||||||
cp ../*.deb ../*.ddeb "$BUILDDIR"
|
cp ../*.deb ../*.ddeb "$BUILDDIR"
|
||||||
|
@ -132,5 +132,10 @@ if ! build; then
|
|||||||
build --noprep --nocheck
|
build --noprep --nocheck
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
(
|
||||||
|
shopt -s nullglob
|
||||||
|
rm -f "$BUILDDIR"/*.rpm
|
||||||
|
)
|
||||||
|
|
||||||
cp "$OUTPUTDIR"/*.rpm "$PACKAGEDIR"
|
cp "$OUTPUTDIR"/*.rpm "$PACKAGEDIR"
|
||||||
cp "$OUTPUTDIR"/*.rpm "$BUILDDIR"
|
cp "$OUTPUTDIR"/*.rpm "$BUILDDIR"
|
||||||
|
Loading…
Reference in New Issue
Block a user