V8.13.408.2025.11.13
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m28s
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:
@@ -37,7 +37,7 @@ preallocate() {
|
|||||||
|
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ preallocate() {
|
|||||||
|
|
||||||
else
|
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
|
return 42
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ fi
|
|||||||
|
|
||||||
if ! mountpoint -q "${MNT_MEDIUM}"; then
|
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
|
exit 0
|
||||||
|
|
||||||
fi
|
fi
|
||||||
@@ -119,7 +119,7 @@ fi
|
|||||||
### Locate the encrypted root container on the medium. -------------------------------------------------------------------------
|
### Locate the encrypted root container on the medium. -------------------------------------------------------------------------
|
||||||
if [ ! -f "${MNT_MEDIUM}/${CDLB_LUKS_FS}" ]; then
|
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
|
exit 0
|
||||||
|
|
||||||
fi
|
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). ------------------------------------------------------
|
### Ensure live-boot keeps using our medium (bind-mount for consistency). ------------------------------------------------------
|
||||||
mount --bind "${MNT_MEDIUM}" "${MNT_MEDIUM}" 2>/dev/null || true
|
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"
|
printf "\e[92m[INFO] Successfully applied: [/usr/lib/live/boot/0024-ciss-crypt-squash] \n\e[0m"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user