V8.00.000.2025.06.17

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-08-08 17:54:25 +02:00
parent 166186a8f0
commit 06c093e0a1
26 changed files with 156 additions and 2050 deletions

View File

@@ -146,6 +146,7 @@ EOF
umask 0022
{
printf "GRUB_CMDLINE_LINUX='%s'\n" "${var_linux}"
printf "\n"
printf "GRUB_CMDLINE_LINUX_DEFAULT='%s'\n" "${var_linux_default}"
printf "\n"
printf "# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh\n"

View File

@@ -82,14 +82,21 @@ grep_nic_driver_modules() {
# 0: on success
#######################################
insert_comments() {
declare file="${1}"
declare of_file="${1}" var_name=""
case "${of_file}" in
/target/*) var_name="${of_file#/target}" ;;
/recovery/*) var_name="${of_file#/recovery}" ;;
*) var_name="${of_file}" ;;
esac
sed -i '/^# SPDX-Security-Contact: security@coresecret\.eu$/a\
\
# Static file system information: '"${file}"'\
# Static file system information: '"${var_name}"'\
# Generated by CISS.debian.installer '"${VAR_VERSION}"'\
# Architecture: '"${VAR_ARCHITECTURE}"'\
# Distribution: '"${VAR_CODENAME}"'
' "${file}"
' "${of_file}"
return 0
}