From b4d4c1e8861c8b8a921d85091b707224beee510d Mon Sep 17 00:00:00 2001 From: Alexsander de Souza <61709370+alexsander-souza@users.noreply.github.com> Date: Fri, 29 Sep 2023 12:48:57 -0300 Subject: [PATCH] fix packing (#143) reverting previous change, we need to fine tune this exclude rule. --- scripts/fuse-nbd | 1 + scripts/fuse-tar-root | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/fuse-nbd b/scripts/fuse-nbd index 3fc79b6b..b1e51b1d 100644 --- a/scripts/fuse-nbd +++ b/scripts/fuse-nbd @@ -70,5 +70,6 @@ qemu-nbd --socket="$(pwd)"/qemu-img.sock \ --format="${IMG_FMT}" \ --shared=10 \ "${PACKER_OUTPUT}" & +sleep 5 mkdir -p "${TMP_DIR}/root" diff --git a/scripts/fuse-tar-root b/scripts/fuse-tar-root index 6f469170..b06437b6 100644 --- a/scripts/fuse-tar-root +++ b/scripts/fuse-tar-root @@ -31,7 +31,7 @@ if [ -d curtin ] || [ -d "$CURTIN_HOOKS" ]; then fi echo "Creating MAAS image ${OUTPUT}..." -tar -Sczpf "${OUTPUT}" --acls --selinux --xattrs --exclude='agent.*' --exclude='*.socket' -C "$ROOT_MOUNT" . +tar -Sczpf "${OUTPUT}" --acls --selinux --xattrs -C "$ROOT_MOUNT" . if [ -n "$MANIFEST" ]; then echo "Creating manifest..."