mkosi: copy packaged test-fdstore if not built locally
On Ubuntu autopkgtest, TEST-91-LIVEUPDATE fails because test-fdstore is not found in the dummy container.
This commit is contained in:
committed by
Luca Boccassi
parent
58f7c2a559
commit
3405c9da33
@@ -20,4 +20,8 @@ fi
|
||||
# For use in the minimal containers, only needs libsystemd and libc
|
||||
if [[ -x "$BUILDDIR/test-fdstore" ]]; then
|
||||
cp "$BUILDDIR/test-fdstore" "$BUILDROOT/usr/bin/test-fdstore"
|
||||
elif [[ -x "$BUILDROOT/usr/lib/systemd/tests/unit-tests/manual/test-fdstore" ]]; then
|
||||
cp "$BUILDROOT/usr/lib/systemd/tests/unit-tests/manual/test-fdstore" "$BUILDROOT/usr/bin/test-fdstore"
|
||||
elif [[ -x /usr/lib/systemd/tests/unit-tests/manual/test-fdstore ]]; then
|
||||
cp /usr/lib/systemd/tests/unit-tests/manual/test-fdstore "$BUILDROOT/usr/bin/test-fdstore"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user