V8.13.432.2025.11.18
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m14s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m14s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -19,20 +19,6 @@
|
|||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
### Phase gate: run only in the intended live-boot phase -----------------------------------------------------------------------
|
|
||||||
PHASE="${1:-}"
|
|
||||||
|
|
||||||
case "${PHASE}" in
|
|
||||||
|
|
||||||
premount)
|
|
||||||
exit 0
|
|
||||||
;; ### Continue.
|
|
||||||
*)
|
|
||||||
exit 0 ### Do nothing in other phases.
|
|
||||||
;;
|
|
||||||
|
|
||||||
esac
|
|
||||||
|
|
||||||
printf "\e[95m[INFO] Starting: [/usr/lib/live/boot/0022-ciss-overlay-tmpfs.sh] ... \n\e[0m"
|
printf "\e[95m[INFO] Starting: [/usr/lib/live/boot/0022-ciss-overlay-tmpfs.sh] ... \n\e[0m"
|
||||||
|
|
||||||
### Declare variables ----------------------------------------------------------------------------------------------------------
|
### Declare variables ----------------------------------------------------------------------------------------------------------
|
||||||
@@ -56,6 +42,4 @@ mkdir -p -m 0700 "${UPPER}" "${WORK}"
|
|||||||
|
|
||||||
printf "\e[92m[INFO] Successfully applied: [/usr/lib/live/boot/0022-ciss-overlay-tmpfs.sh] \n\e[0m"
|
printf "\e[92m[INFO] Successfully applied: [/usr/lib/live/boot/0022-ciss-overlay-tmpfs.sh] \n\e[0m"
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||||
|
|||||||
@@ -19,19 +19,6 @@
|
|||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
### Phase gate: run only in the intended live-boot phase -----------------------------------------------------------------------
|
|
||||||
PHASE="${1:-}"
|
|
||||||
|
|
||||||
case "${PHASE}" in
|
|
||||||
|
|
||||||
premount)
|
|
||||||
;; ### Continue.
|
|
||||||
*)
|
|
||||||
exit 0 ### Do nothing in other phases.
|
|
||||||
;;
|
|
||||||
|
|
||||||
esac
|
|
||||||
|
|
||||||
printf "\e[95m[INFO] Starting: [/usr/lib/live/boot/0024-ciss-crypt-squash] ... \n\e[0m"
|
printf "\e[95m[INFO] Starting: [/usr/lib/live/boot/0024-ciss-crypt-squash] ... \n\e[0m"
|
||||||
|
|
||||||
#######################################
|
#######################################
|
||||||
@@ -165,6 +152,4 @@ log "Encrypted squashfs is mounted at: [${MNT_ROOTFS}] (device=/dev/mapper/crypt
|
|||||||
|
|
||||||
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"
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||||
|
|||||||
@@ -19,19 +19,6 @@
|
|||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
### Phase gate: run only in the intended live-boot phase -----------------------------------------------------------------------
|
|
||||||
PHASE="${1:-}"
|
|
||||||
|
|
||||||
case "${PHASE}" in
|
|
||||||
|
|
||||||
premount)
|
|
||||||
;; ### Continue.
|
|
||||||
*)
|
|
||||||
exit 0 ### Do nothing in other phases.
|
|
||||||
;;
|
|
||||||
|
|
||||||
esac
|
|
||||||
|
|
||||||
printf "\e[95m[INFO] Starting: [/usr/lib/live/boot/0026-ciss-early-sysctl.sh] ... \n\e[0m"
|
printf "\e[95m[INFO] Starting: [/usr/lib/live/boot/0026-ciss-early-sysctl.sh] ... \n\e[0m"
|
||||||
|
|
||||||
echo 2 > /proc/sys/kernel/yama/ptrace_scope 2>/dev/null || true
|
echo 2 > /proc/sys/kernel/yama/ptrace_scope 2>/dev/null || true
|
||||||
@@ -45,6 +32,4 @@ echo 2 > /proc/sys/kernel/kptr_restrict 2>/dev/null || true
|
|||||||
|
|
||||||
printf "\e[92m[INFO] Successfully applied: [/usr/lib/live/boot/0026-ciss-early-sysctl.sh] \n\e[0m"
|
printf "\e[92m[INFO] Successfully applied: [/usr/lib/live/boot/0026-ciss-early-sysctl.sh] \n\e[0m"
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||||
|
|||||||
@@ -19,19 +19,6 @@
|
|||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
### Phase gate: run only in the intended live-boot phase -----------------------------------------------------------------------
|
|
||||||
PHASE="${1:-}"
|
|
||||||
|
|
||||||
case "${PHASE}" in
|
|
||||||
|
|
||||||
bottom)
|
|
||||||
;; ### Continue.
|
|
||||||
*)
|
|
||||||
exit 0 ### Do nothing in other phases.
|
|
||||||
;;
|
|
||||||
|
|
||||||
esac
|
|
||||||
|
|
||||||
printf "\e[95m[INFO] Starting: [/usr/lib/live/boot/0042-ciss-post-decrypt-attest] ... \n\e[0m"
|
printf "\e[95m[INFO] Starting: [/usr/lib/live/boot/0042-ciss-post-decrypt-attest] ... \n\e[0m"
|
||||||
|
|
||||||
### Declare variables ----------------------------------------------------------------------------------------------------------
|
### Declare variables ----------------------------------------------------------------------------------------------------------
|
||||||
@@ -189,6 +176,4 @@ fi
|
|||||||
|
|
||||||
printf "\e[92m[INFO] Successfully applied: [/usr/lib/live/boot/0042-ciss-post-decrypt-attest]\n\e[0m"
|
printf "\e[92m[INFO] Successfully applied: [/usr/lib/live/boot/0042-ciss-post-decrypt-attest]\n\e[0m"
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||||
|
|||||||
Reference in New Issue
Block a user