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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-12 12:23:54 +01:00
parent 761f22bbac
commit 872f5af3b4
5 changed files with 14 additions and 8 deletions

View File

@@ -416,8 +416,8 @@ accounts_setup
info_echo "4600_installation_packages.sh [${TARGET}]" info_echo "4600_installation_packages.sh [${TARGET}]"
installation_packages installation_packages
info_echo "4610_installation_security.sh [${TARGET}]" #info_echo "4610_installation_security.sh [${TARGET}]"
installation_security #installation_security
info_echo "4620_installation_verification.sh [${TARGET}]" info_echo "4620_installation_verification.sh [${TARGET}]"
install_verification install_verification
@@ -467,7 +467,7 @@ if [[ "${VAR_RECOVERY}" == "true" ]]; then
info_echo "4110_update_sources.sh [${RECOVERY}]" info_echo "4110_update_sources.sh [${RECOVERY}]"
update_sources update_sources
info_echo "5120_installation_kernel.sh" info_echo "5120_installation_kernel.sh [${RECOVERY}]"
installation_kernel_reco installation_kernel_reco
info_echo "5121_installation_initramfs.sh" info_echo "5121_installation_initramfs.sh"

View File

@@ -38,6 +38,7 @@ accounts_preparation() {
install -m 0600 -o root -g root "${VAR_SETUP_PATH}/includes/target/etc/skel/.bashrc" "${TARGET}/etc/skel/.bashrc" install -m 0600 -o root -g root "${VAR_SETUP_PATH}/includes/target/etc/skel/.bashrc" "${TARGET}/etc/skel/.bashrc"
install -m 0600 -o root -g root "${VAR_SETUP_PATH}/includes/target/etc/skel/.zshrc" "${TARGET}/etc/skel/.zshrc" install -m 0600 -o root -g root "${VAR_SETUP_PATH}/includes/target/etc/skel/.zshrc" "${TARGET}/etc/skel/.zshrc"
install -m 0700 -o root -g root "${VAR_SETUP_PATH}/includes/target/etc/skel/.ciss/check_chrony.sh" "${TARGET}/etc/skel/.ciss/"
install -m 0600 -o root -g root "${VAR_SETUP_PATH}/includes/target/etc/skel/.ciss/theme_eza_ciss.yml" "${TARGET}/etc/skel/.ciss/" install -m 0600 -o root -g root "${VAR_SETUP_PATH}/includes/target/etc/skel/.ciss/theme_eza_ciss.yml" "${TARGET}/etc/skel/.ciss/"
install -m 0600 -o root -g root "${VAR_SETUP_PATH}/includes/target/root/.ciss/alias" "${TARGET}/etc/skel/.ciss/alias" install -m 0600 -o root -g root "${VAR_SETUP_PATH}/includes/target/root/.ciss/alias" "${TARGET}/etc/skel/.ciss/alias"
install -m 0600 -o root -g root "${VAR_SETUP_PATH}/includes/target/root/.ciss/clean_logout.sh" "${TARGET}/etc/skel/.ciss/clean_logout.sh" install -m 0600 -o root -g root "${VAR_SETUP_PATH}/includes/target/root/.ciss/clean_logout.sh" "${TARGET}/etc/skel/.ciss/clean_logout.sh"

View File

@@ -12,6 +12,9 @@
guard_sourcing guard_sourcing
# TODO: sudo TOTP deactivation
# TODO: PAM Module
####################################### #######################################
# Updating user accounts. # Updating user accounts.
# Globals: # Globals:

View File

@@ -14,7 +14,7 @@ set -Ceuo pipefail
####################################### #######################################
# Minimal leap-second probe for Debian/chrony systems. # Minimal leap-second probe for Debian/chrony systems.
# - Prints kernel leap flags & TAI offset (ΔAT). # - Prints kernel leap flags & TAI offset (delta AT).
# - Reads tzdata's leap-seconds list (authoritative TAI-UTC). # - Reads tzdata's leap-seconds list (authoritative TAI-UTC).
# - Shows chrony tracking summary (incl. leap status). # - Shows chrony tracking summary (incl. leap status).
# - Demonstrates 23:59:60 rendering via TZ=right/UTC. # - Demonstrates 23:59:60 rendering via TZ=right/UTC.
@@ -38,7 +38,7 @@ main() {
tz_tai="$(awk '{print $2}' <<<"${tz_leap_line}")" tz_tai="$(awk '{print $2}' <<<"${tz_leap_line}")"
ts_human="$(awk -F'#' '{gsub(/^[[:space:]]+/, "", $2); print $2}' <<<"${tz_leap_line}")" ts_human="$(awk -F'#' '{gsub(/^[[:space:]]+/, "", $2); print $2}' <<<"${tz_leap_line}")"
printf "tzdata ΔAT (TAI-UTC): %s s [last change at: %s; NTP ts: %s]\n\n" "${tz_tai:-?}" "${ts_human:-?}" "${tz_ntp:-?}" printf "tzdata delta AT (TAI-UTC): %s s [last change at: %s; NTP ts: %s]\n\n" "${tz_tai:-?}" "${ts_human:-?}" "${tz_ntp:-?}"
else else
@@ -56,7 +56,7 @@ main() {
if [[ -n "${k_tai:-}" ]]; then if [[ -n "${k_tai:-}" ]]; then
printf "Kernel-exported ΔAT [tai]: %s s\n" "${k_tai}" printf "Kernel-exported delta AT [tai]: %s s\n" "${k_tai}"
fi fi
@@ -96,8 +96,8 @@ main() {
printf "\n" printf "\n"
printf "Hint:\n" printf "Hint:\n"
printf " • ΔAT (TAI-UTC) should match tzdata and kernel (chrony sets kernel TAI if leapsectz/leapseclist is used).\n" printf " - delta AT (TAI-UTC) should match tzdata and kernel (chrony sets kernel TAI if leapsectz/leapseclist is used).\n"
printf " For monotonic intervals, apps must use CLOCK_MONOTONIC, not CLOCK_REALTIME.\n" printf " - For monotonic intervals, apps must use CLOCK_MONOTONIC, not CLOCK_REALTIME.\n"
return 0 return 0
} }

View File

@@ -10,6 +10,8 @@
# SPDX-PackageName: CISS.debian.installer # SPDX-PackageName: CISS.debian.installer
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
### https://kspp.github.io/
set -o errexit set -o errexit
set -o noclobber set -o noclobber
set -o nounset set -o nounset