V8.13.408.2025.11.13
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m28s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-11-13 07:25:19 +01:00
parent c90a70eafb
commit df53dc4844
2 changed files with 5 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ preallocate() {
else
printf "\e[93m++++ ++++ ++++ ++++ ++++ ++++ ++ ⚠️ [fallocate -l %s -- %s] NOT successful. \e[0m\n" "${size}" "${file}"
printf "\e[91m++++ ++++ ++++ ++++ ++++ ++++ ++ [fallocate -l %s -- %s] NOT successful. \e[0m\n" "${size}" "${file}"
fi
@@ -48,7 +48,7 @@ preallocate() {
else
printf "\e[93m++++ ++++ ++++ ++++ ++++ ++++ ++ ⚠️ [dd if=/dev/zero of=%s bs=%s count=%s status=progress conv=fsync ] NOT successful. \e[0m\n" "${file}" "${blocksize}" "${blockcounter}"
printf "\e[91m++++ ++++ ++++ ++++ ++++ ++++ ++ [dd if=/dev/zero of=%s bs=%s count=%s status=progress conv=fsync ] NOT successful. \e[0m\n" "${file}" "${blocksize}" "${blockcounter}"
return 42
fi

View File

@@ -111,7 +111,7 @@ fi
if ! mountpoint -q "${MNT_MEDIUM}"; then
log "no live medium mounted defer to default live-boot path"
log "No live medium mounted, defer to default live-boot path."
exit 0
fi
@@ -119,7 +119,7 @@ fi
### Locate the encrypted root container on the medium. -------------------------------------------------------------------------
if [ ! -f "${MNT_MEDIUM}/${CDLB_LUKS_FS}" ]; then
log "encrypted root not found at ${MNT_MEDIUM}/${CDLB_LUKS_FS}"
log "Encrypted root not found at: [${MNT_MEDIUM}/${CDLB_LUKS_FS}]"
exit 0
fi
@@ -161,7 +161,7 @@ mount -r -t squashfs /dev/mapper/crypt_liveiso "${MNT_ROOTFS}" || { log "mount s
### Ensure live-boot keeps using our medium (bind-mount for consistency). ------------------------------------------------------
mount --bind "${MNT_MEDIUM}" "${MNT_MEDIUM}" 2>/dev/null || true
log "encrypted squashfs is mounted at ${MNT_ROOTFS} (device=/dev/mapper/crypt_liveiso)"
log "Encrypted squashfs is mounted at: [${MNT_ROOTFS}] (device=/dev/mapper/crypt_liveiso)"
printf "\e[92m[INFO] Successfully applied: [/usr/lib/live/boot/0024-ciss-crypt-squash] \n\e[0m"