Compare commits

..

2 Commits

Author SHA256 Message Date
8f6f0dc1be V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m28s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
2025-09-06 18:38:50 +02:00
a154799312 V8.00.000.2025.06.17
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
2025-09-06 18:17:35 +02:00
4 changed files with 42 additions and 4 deletions

View File

@@ -84,7 +84,7 @@ debootstrap: # Provide a mirror for downloading the Debian pac
# list of official Debian packages. # list of official Debian packages.
mirror: "https://deb.debian.org/debian" mirror: "https://deb.debian.org/debian"
# The following packages MUST be included in the debootstrap. # The following packages MUST be included in the debootstrap.
includes: "busybox,ca-certificates,locales,openssl,zstd" includes: "busybox,ca-certificates,locales,openssl,python3,python3-apt,zstd"
distribution: "trixie" # MUST be "trixie". distribution: "trixie" # MUST be "trixie".
debian_suite: "stable" # MUST be "stable". Not supported yet: "testing", "experimental". debian_suite: "stable" # MUST be "stable". Not supported yet: "testing", "experimental".
exit: exit:
@@ -579,6 +579,8 @@ software:
# openssl # openssl
# passwd # passwd
# procps # procps
# python3
# python3-apt
# sed # sed
# tar # tar
# tzdata # tzdata
@@ -751,7 +753,6 @@ software:
- figlet - figlet
- htop - htop
- keychain - keychain
- python3
- virt-what - virt-what
################################################################################################################################ ################################################################################################################################

View File

@@ -162,7 +162,25 @@ EOF
cat << EOF >> "${TARGET}/etc/apt/sources.list" cat << EOF >> "${TARGET}/etc/apt/sources.list"
# 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=conf
EOF
insert_header "${TARGET}/etc/apt/apt.conf.d/90-no-pdiffs"
insert_comments "${TARGET}/etc/apt/apt.conf.d/90-no-pdiffs"
cat << 'EOF' >> "${TARGET}/etc/apt/apt.conf.d/90-no-pdiffs"
Acquire::PDiffs "false";
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=conf
EOF
insert_header "${TARGET}/etc/apt/apt.conf.d/91-acquire"
insert_comments "${TARGET}/etc/apt/apt.conf.d/91-acquire"
cat << 'EOF' >> "${TARGET}/etc/apt/apt.conf.d/91-acquire"
Acquire::Retries "3";
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=conf
EOF EOF
guard_dir && return 0 guard_dir && return 0

View File

@@ -155,10 +155,29 @@ EOF
fi fi
if [[ -f "${TARGET}/etc/apt/sources.list" ]]; then if [[ -f "${TARGET}/etc/apt/sources.list" ]]; then
rm -f "${TARGET}/etc/apt/sources.list" rm -f "${TARGET}/etc/apt/sources.list"
fi fi
insert_header "${TARGET}/etc/apt/apt.conf.d/90-no-pdiffs"
insert_comments "${TARGET}/etc/apt/apt.conf.d/90-no-pdiffs"
cat << 'EOF' >> "${TARGET}/etc/apt/apt.conf.d/90-no-pdiffs"
Acquire::PDiffs "false";
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=conf
EOF
insert_header "${TARGET}/etc/apt/apt.conf.d/91-acquire"
insert_comments "${TARGET}/etc/apt/apt.conf.d/91-acquire"
cat << 'EOF' >> "${TARGET}/etc/apt/apt.conf.d/91-acquire"
Acquire::Retries "3";
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=conf
EOF
guard_dir && return 0 guard_dir && return 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

View File

@@ -67,7 +67,7 @@ check_pkgs() {
### Installing unique list of packages. ### Installing unique list of packages.
# shellcheck disable=SC2312 # shellcheck disable=SC2312
apt-get update 2>&1 | tee -a "${DIR_LOG}/0030_check_pkgs.log" apt-get -o Acquire::PDiffs=false update 2>&1 | tee -a "${DIR_LOG}/0030_check_pkgs.log"
if ((${#ary_missing_pkgs[@]})); then if ((${#ary_missing_pkgs[@]})); then
# shellcheck disable=SC2312 # shellcheck disable=SC2312