From d1cc1cf5936d88dd75b383b73a30248691095c2f Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Tue, 24 Aug 2021 11:27:24 +1200 Subject: [PATCH] make the snaps produced by slimy-update-snap.sh pass review I mean we /probably/ shouldn't be using the snaps this makes for anything serious but it can be useful for testing emergency fixes... --- scripts/slimy-update-snap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/slimy-update-snap.sh b/scripts/slimy-update-snap.sh index ec0e9a7d..9dffcb96 100755 --- a/scripts/slimy-update-snap.sh +++ b/scripts/slimy-update-snap.sh @@ -58,6 +58,6 @@ rm -rf new/lib/python3.6/site-packages/subiquitycore (cd "${src}" && ./scripts/update-part.py curtin) -rsync -a $src/subiquity $src/subiquitycore $src/curtin/curtin new/lib/python3.6/site-packages +rsync -a --chown 0:0 $src/subiquity $src/subiquitycore $src/curtin/curtin new/lib/python3.6/site-packages -mksquashfs new $new -comp gzip -Xcompression-level 3 +snapcraft pack new --output $new