1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-08 08:58:27 +03:00

mkosi: Make sure tmp.mount is not messed with on Debian/Ubuntu

We want /tmp to be a tmpfs so let's hack the debian packaging to
make sure that's the case until the debian packaging is fixed to
make /tmp a tmpfs for UPSTREAM=1 builds.
This commit is contained in:
Daan De Meyer 2024-05-05 15:03:37 +02:00
parent 5cb66ff5a1
commit 7cf0efd8ec

View File

@ -40,6 +40,10 @@ EOF
cat debian/changelog >>debian/changelog.new
mv debian/changelog.new debian/changelog
# FIXME: Remove after tmp.mount is kept intact in the debian packaging for UPSTREAM=1 builds.
sed --in-place '/tmp.mount/d' debian/rules
sed --in-place '/tmp.mount/d' debian/not-installed
build() {
DEB_BUILD_OPTIONS=$(awk '$1=$1' <<<"\
$( ((WITH_TESTS)) || echo nocheck) \