]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: add -no-xattrs to unsquashfs cmdline
authorLennart Poettering <lennart@poettering.net>
Wed, 19 Mar 2025 08:19:24 +0000 (09:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 31 Mar 2025 13:14:50 +0000 (15:14 +0200)
If the target dir is tmpfs and we run on old kernels we cannot extract
xattrs and the extracting will fail if there are any. hence add
-no-xattrs to the two remaining unsquashfs invocations that don't have
it.

(Also all other invocations across our test tree spell "-dest" instead
of "-d", hence do so here too.)

test/units/TEST-29-PORTABLE.directory.sh

index 5458111ee201d8d2a97c8d4b15ef330f31a540b5..2cbd7da009c42448094f50439eca847ae31d892c 100755 (executable)
@@ -17,8 +17,8 @@ if [[ -v ASAN_OPTIONS || -v UBSAN_OPTIONS ]]; then
     ARGS+=(--profile=trusted)
 fi
 
-unsquashfs -dest /tmp/minimal_0 /usr/share/minimal_0.raw
-unsquashfs -dest /tmp/minimal_1 /usr/share/minimal_1.raw
+unsquashfs -no-xattrs -d /tmp/minimal_0 /usr/share/minimal_0.raw
+unsquashfs -no-xattrs -d /tmp/minimal_1 /usr/share/minimal_1.raw
 
 portablectl "${ARGS[@]}" attach --copy=symlink --now --runtime /tmp/minimal_0 minimal-app0