Skip to content

LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.

tools/rpi/build-img.sh: the code-manifest file list is split on purpose (shellcheck SC2046)

Federico Pereira95c568bb7e02
diff --git a/tools/rpi/build-img.sh b/tools/rpi/build-img.sh
index 863180f..bd2b47e 100755
--- a/tools/rpi/build-img.sh
+++ b/tools/rpi/build-img.sh
@@ -174,7 +174,9 @@ else
mount_ch "$BR"
fi
rm -rf "$BR/src/LordOS"; mkdir -p "$BR/src/LordOS"
- # code-manifest.json (+ .sig for a release): the verified system code (docs/SIGNING.md)
+ # code-manifest.json (+ .sig for a release): the verified system code (docs/SIGNING.md); the
+ # ls is split on purpose (zero, one or two file names)
+ # shellcheck disable=SC2046
tar -C "$ROOT" --exclude=server/build --exclude=node_modules -cf - \
package.json README.md server third_party assets themes tools \
$(cd "$ROOT" && ls code-manifest.json code-manifest.sig 2>/dev/null) | tar -C "$BR/src/LordOS" -xf -