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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-08-14 22:01:50 +02:00
parent 54d64af588
commit 458dcfdb98
2 changed files with 19 additions and 21 deletions

View File

@@ -82,23 +82,9 @@ generate_sources() {
### Main Repository ### Main Repository
# shellcheck disable=SC2153 # shellcheck disable=SC2153
insert_header "${TARGET}/etc/apt/sources.list"
insert_comments "${TARGET}/etc/apt/sources.list"
cat << EOF >> "${TARGET}/etc/apt/sources.list" cat << EOF >> "${TARGET}/etc/apt/sources.list"
# SPDX-Version: 3.0
# SPDX-CreationInfo: ${VAR_DATE}; WEIDNER, Marc S.; <msw@coresecret.dev>
# SPDX-ExternalRef: GIT https://git.coresecret.dev/msw/CISS.debian.installer.git
# SPDX-FileContributor: WEIDNER, Marc S.; Centurion Intelligence Consulting Agency
# SPDX-FileCopyrightText: 2024-2025; WEIDNER, Marc S.; <msw@coresecret.dev>
# SPDX-FileType: SOURCE
# SPDX-License-Identifier: EUPL-1.2 OR LicenseRef-CCLA-1.0
# SPDX-LicenseComment: This file is part of the CISS.debian.installer.secure framework.
# SPDX-PackageName: CISS.debian.installer
# SPDX-Security-Contact: security@coresecret.eu
# Static file system information: /etc/apt/sources.list
# Generated by CISS.debian.installer ${VAR_VERSION}
# Architecture: ${VAR_ARCHITECTURE}
# Distribution: ${VAR_CODENAME}
#------------------------------------------------------------------------------------------------------------------------------# #------------------------------------------------------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS # # OFFICIAL DEBIAN REPOS #
#------------------------------------------------------------------------------------------------------------------------------# #------------------------------------------------------------------------------------------------------------------------------#

View File

@@ -82,6 +82,9 @@ generate_sources822() {
insert_header "${TARGET}/etc/apt/sources.list.d/trixie.sources" insert_header "${TARGET}/etc/apt/sources.list.d/trixie.sources"
inser_comments "${TARGET}/etc/apt/sources.list.d/trixie.sources" inser_comments "${TARGET}/etc/apt/sources.list.d/trixie.sources"
cat << EOF >> "${TARGET}/etc/apt/sources.list.d/trixie.sources" cat << EOF >> "${TARGET}/etc/apt/sources.list.d/trixie.sources"
#------------------------------------------------------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS #
#------------------------------------------------------------------------------------------------------------------------------#
Types: ${ary_types[*]} Types: ${ary_types[*]}
URIs: ${var_url} URIs: ${var_url}
Suites: ${var_codename} Suites: ${var_codename}
@@ -89,7 +92,7 @@ Components: ${ary_components[*]}
Enabled: yes Enabled: yes
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
# 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 EOF
@@ -98,6 +101,9 @@ EOF
insert_header "${TARGET}/etc/apt/sources.list.d/trixie-security.sources" insert_header "${TARGET}/etc/apt/sources.list.d/trixie-security.sources"
inser_comments "${TARGET}/etc/apt/sources.list.d/trixie-security.sources" inser_comments "${TARGET}/etc/apt/sources.list.d/trixie-security.sources"
cat << EOF >> "${TARGET}/etc/apt/sources.list.d/trixie-security.sources" cat << EOF >> "${TARGET}/etc/apt/sources.list.d/trixie-security.sources"
#------------------------------------------------------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS #
#------------------------------------------------------------------------------------------------------------------------------#
Types: ${ary_types[*]} Types: ${ary_types[*]}
URIs: ${var_surl} URIs: ${var_surl}
Suites: ${var_codename}-security Suites: ${var_codename}-security
@@ -105,7 +111,7 @@ Components: ${ary_components[*]}
Enabled: yes Enabled: yes
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
# 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 EOF
fi fi
@@ -114,6 +120,9 @@ EOF
insert_header "${TARGET}/etc/apt/sources.list.d/trixie-updates.sources" insert_header "${TARGET}/etc/apt/sources.list.d/trixie-updates.sources"
inser_comments "${TARGET}/etc/apt/sources.list.d/trixie-updates.sources" inser_comments "${TARGET}/etc/apt/sources.list.d/trixie-updates.sources"
cat << EOF >> "${TARGET}/etc/apt/sources.list.d/trixie-updates.sources" cat << EOF >> "${TARGET}/etc/apt/sources.list.d/trixie-updates.sources"
#------------------------------------------------------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS #
#------------------------------------------------------------------------------------------------------------------------------#
Types: ${ary_types[*]} Types: ${ary_types[*]}
URIs: ${var_url} URIs: ${var_url}
Suites: ${var_codename}-updates Suites: ${var_codename}-updates
@@ -121,7 +130,7 @@ Components: ${ary_components[*]}
Enabled: yes Enabled: yes
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
# 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 EOF
fi fi
@@ -129,8 +138,11 @@ EOF
### Backports Repository ### Backports Repository
if [[ "${apt_updates_backports,,}" == "true" ]]; then if [[ "${apt_updates_backports,,}" == "true" ]]; then
insert_header "${TARGET}/etc/apt/sources.list.d/trixie-backports.sources" insert_header "${TARGET}/etc/apt/sources.list.d/trixie-backports.sources"
inser_comments "${TARGET}/etc/apt/sources.list.d/trixie-backports.sources" insert_comments "${TARGET}/etc/apt/sources.list.d/trixie-backports.sources"
cat << EOF >> "${TARGET}/etc/apt/sources.list.d/trixie-backports.sources" cat << EOF >> "${TARGET}/etc/apt/sources.list.d/trixie-backports.sources"
#------------------------------------------------------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS #
#------------------------------------------------------------------------------------------------------------------------------#
Types: ${ary_types[*]} Types: ${ary_types[*]}
URIs: ${var_url} URIs: ${var_url}
Suites: ${var_codename}-backports Suites: ${var_codename}-backports
@@ -138,7 +150,7 @@ Components: ${ary_components[*]}
Enabled: yes Enabled: yes
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
# 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 EOF
fi fi