From 84b41ef08213f7a210932bada5c80c1779ffc0c2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 19 Mar 2025 09:19:24 +0100 Subject: [PATCH] ci: add -no-xattrs to unsquashfs cmdline 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/units/TEST-29-PORTABLE.directory.sh b/test/units/TEST-29-PORTABLE.directory.sh index 5458111ee2..2cbd7da009 100755 --- a/test/units/TEST-29-PORTABLE.directory.sh +++ b/test/units/TEST-29-PORTABLE.directory.sh @@ -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