From af8df9fe24ff128e0831b1852ece0f01776adbdde17b8362ac81d4baa506d4af Mon Sep 17 00:00:00 2001 From: "Marc S. Weidner" Date: Mon, 17 Nov 2025 07:40:43 +0000 Subject: [PATCH] V8.13.416.2025.11.17 Signed-off-by: Marc S. Weidner --- ciss_live_builder.sh | 1 + config/hooks/live/0100_ciss_mem_wipe.chroot | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ciss_live_builder.sh b/ciss_live_builder.sh index a251e95..47cefcd 100644 --- a/ciss_live_builder.sh +++ b/ciss_live_builder.sh @@ -25,6 +25,7 @@ # https://github.com/mvdan/sh # https://google.github.io/styleguide/shellguide.html # https://mywiki.wooledge.org/BashGuide +# https://styles.goatbytes.io/lang/shell/ # https://www.bashsupport.com/de/ # https://www.gnu.org/software/bash/manual/ diff --git a/config/hooks/live/0100_ciss_mem_wipe.chroot b/config/hooks/live/0100_ciss_mem_wipe.chroot index ae442be..a463046 100644 --- a/config/hooks/live/0100_ciss_mem_wipe.chroot +++ b/config/hooks/live/0100_ciss_mem_wipe.chroot @@ -77,7 +77,7 @@ copy_libs() { copy_libs "${_BUSYBOX_BIN}" ### Generate /init script -cat << 'EOF' >| "${TMPDIR}/init" +cat << 'EOF' >| "${_TMP_DIR}/init" #!/bin/busybox sh # SPDX-Version: 3.0 # SPDX-CreationInfo: 2025-10-11; WEIDNER, Marc S.; @@ -182,10 +182,10 @@ busybox poweroff -f || echo o >| /proc/sysrq-trigger # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh EOF -chmod +x "${TMPDIR}/init" +chmod +x "${_TMP_DIR}/init" ### Create the initramfs archive. -( cd "${TMPDIR}" && find . -print0 | cpio --null -ov --format=newc ) | gzip -9 > /boot/ciss-memwipe/initrd.img +( cd "${_TMP_DIR}" && find . -print0 | cpio --null -ov --format=newc ) | gzip -9 > /boot/ciss-memwipe/initrd.img ### Default configuration. cat << 'EOF' >| /etc/default/ciss-memwipe