summaryrefslogtreecommitdiffstats
path: root/share/build-scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2025-01-26 19:14:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2025-01-26 19:14:37 +0000
commite25a6fe06e4d10681b7eb6032d180d331d53d948 (patch)
tree281a9905613db364b52c324589770f9ed82a1bc4 /share/build-scripts
parentAdding upstream version 20240829. (diff)
downloadopen-infrastructure-compute-tools-upstream/20250126.tar.xz
open-infrastructure-compute-tools-upstream/20250126.zip
Adding upstream version 20250126.upstream/20250126upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/build-scripts')
-rwxr-xr-xshare/build-scripts/debconf32
-rwxr-xr-xshare/build-scripts/debconf.d/0003-debconf28
-rwxr-xr-xshare/build-scripts/debootstrap4
3 files changed, 49 insertions, 15 deletions
diff --git a/share/build-scripts/debconf b/share/build-scripts/debconf
index 2dd8cb7..cf3922a 100755
--- a/share/build-scripts/debconf
+++ b/share/build-scripts/debconf
@@ -378,7 +378,7 @@ Bootstrap ()
if ( echo "${MIRROR}" | grep -qs '^https' ) || \
( echo "${PARENT_MIRROR}" | grep -qs '^https' )
then
- INCLUDE="${INCLUDE},apt-transport-https,ca-certificates"
+ INCLUDE="${INCLUDE},ca-certificates"
fi
case "${MODE}" in
@@ -503,9 +503,17 @@ URIs: ${PARENT_MIRROR}
Suites: ${PARENT_DIST}
Components: ${PARENT_AREA}
PDiffs: no
+EOF
+
+ if [ -e "${DIRECTORY}/usr/share/keyrings/debian-archive-${PARENT_DIST}-stable.gpg" ]
+ then
+
+cat >> "${DIRECTORY}/etc/apt/sources.list.d/debian.sources" << EOF
Signed-By: /usr/share/keyrings/debian-archive-${PARENT_DIST}-stable.gpg
EOF
+ fi
+
case "${MODE}" in
progress-linux)
@@ -589,9 +597,17 @@ URIs: ${PARENT_MIRROR}
Suites: ${PARENT_DIST}
Components: ${PARENT_AREA}
PDiffs: no
+EOF
+
+ if [ -e "${DIRECTORY}/usr/share/keyrings/debian-archive-${PARENT_DIST}-stable.gpg" ]
+ then
+
+cat >> "${DIRECTORY}/etc/apt/sources.list.d/debian.sources" << EOF
Signed-By: /usr/share/keyrings/debian-archive-${PARENT_DIST}-stable.gpg
EOF
+ fi
+
AUTOMATIC_SUITES=""
for PARENT_REPO in ${PARENT_ARCHIVES}
@@ -626,9 +642,16 @@ URIs: ${PARENT_MIRROR}
Suites: ${AUTOMATIC_SUITES}
Components: ${PARENT_AREA}
PDiffs: no
+EOF
+
+ if [ -e "${DIRECTORY}/usr/share/keyrings/debian-archive-${PARENT_DIST}-automatic.gpg" ]
+ then
+
+cat >> "${DIRECTORY}/etc/apt/sources.list.d/debian.sources" << EOF
Signed-By: /usr/share/keyrings/debian-archive-${PARENT_DIST}-automatic.gpg
EOF
+ fi
fi
SECURITY_SUITES=""
@@ -657,9 +680,16 @@ URIs: ${PARENT_MIRROR_SECURITY}
Suites: ${PARENT_DIST}-security
Components: ${PARENT_AREA}
PDiffs: no
+EOF
+
+ if [ -e "${DIRECTORY}/usr/share/keyrings/debian-archive-${PARENT_DIST}-security-automatic.gpg" ]
+ then
+
+cat >> "${DIRECTORY}/etc/apt/sources.list.d/debian.sources" << EOF
Signed-By: /usr/share/keyrings/debian-archive-${PARENT_DIST}-security-automatic.gpg
EOF
+ fi
fi
case "${MODE}" in
diff --git a/share/build-scripts/debconf.d/0003-debconf b/share/build-scripts/debconf.d/0003-debconf
index b5b252b..3faf266 100755
--- a/share/build-scripts/debconf.d/0003-debconf
+++ b/share/build-scripts/debconf.d/0003-debconf
@@ -86,18 +86,18 @@ Distribution ()
then
case "${MODE}" in
debian)
- db_subst container/distribution CHOICES "Debian GNU/Linux 10 \"buster\", Debian GNU/Linux 11 \"bullseye\", Debian GNU/Linux 12 \"bookworm\", Debian GNU/Linux testing, Debian GNU/Linux unstable/sid"
- db_subst container/distribution CHOICES_C "buster, bullseye, bookworm, testing, sid"
+ db_subst container/distribution CHOICES "Debian GNU/Linux 10 \"buster\", Debian GNU/Linux 11 \"bullseye\", Debian GNU/Linux 12 \"bookworm\", Debian GNU/Linux 13 \"trixie\", Debian GNU/Linux testing, Debian GNU/Linux unstable/sid"
+ db_subst container/distribution CHOICES_C "buster, bullseye, bookworm, trixie, testing, sid"
- db_set container/distribution bookworm
+ db_set container/distribution trixie
db_fset container/distribution seen false
;;
progress-linux)
- db_subst container/distribution CHOICES "Progress Linux 5 (engywuck), Progress Linux 5.99 (engywuck-backports), Progress Linux 6 (fuchur), Progress Linux 6.99 (fuchur-backports), Progress Linux 7 (graograman), Progress Linux 7.99 (graograman-backports)"
- db_subst container/distribution CHOICES_C "engywuck, engywuck-backports, fuchur, fuchur-backports, graograman, graograman-backports"
+ db_subst container/distribution CHOICES "Progress Linux 5 (engywuck), Progress Linux 5.99 (engywuck-backports), Progress Linux 6 (fuchur), Progress Linux 6.99 (fuchur-backports), Progress Linux 7 (graograman), Progress Linux 7.99 (graograman-backports), Progress Linux 8 (horok), Progress Linux 8.99 (horok-backports)"
+ db_subst container/distribution CHOICES_C "engywuck, engywuck-backports, fuchur, fuchur-backports, graograman, graograman-backports, horok, horok-backports"
- db_set container/distribution graograman-backports
+ db_set container/distribution horok-backports
db_fset container/distribution seen false
;;
esac
@@ -135,6 +135,10 @@ Parent_distribution ()
graograman*)
PARENT_DISTRIBUTION="bookworm"
;;
+
+ horok*)
+ PARENT_DISTRIBUTION="trixie"
+ ;;
esac
;;
@@ -523,12 +527,12 @@ Archive_areas ()
ARCHIVE_AREAS="${RET}"
case "${PARENT_DISTRIBUTION}" in
- bookworm|testing|sid)
- ARCHIVE_AREAS_ALL="main, contrib, non-free, non-free-firmware"
+ buster|bullseye)
+ ARCHIVE_AREAS_ALL="main, contrib, non-free"
;;
*)
- ARCHIVE_AREAS_ALL="main, contrib, non-free"
+ ARCHIVE_AREAS_ALL="main, contrib, non-free, non-free-firmware"
;;
esac
@@ -583,12 +587,12 @@ Parent_archive_areas ()
PARENT_ARCHIVE_AREAS="${RET}" # multiselect (w/o empty)
case "${PARENT_DISTRIBUTION}" in
- bookworm|testing|sid)
- PARENT_ARCHIVE_AREAS_ALL="main, contrib, non-free, non-free-firmware"
+ buster|bullseye)
+ PARENT_ARCHIVE_AREAS_ALL="main, contrib, non-free"
;;
*)
- PARENT_ARCHIVE_AREAS_ALL="main, contrib, non-free"
+ PARENT_ARCHIVE_AREAS_ALL="main, contrib, non-free, non-free-firmware"
;;
esac
diff --git a/share/build-scripts/debootstrap b/share/build-scripts/debootstrap
index 696c7b4..27530e7 100755
--- a/share/build-scripts/debootstrap
+++ b/share/build-scripts/debootstrap
@@ -153,7 +153,7 @@ then
fi
ARCHITECTURE="${ARCHITECTURE:-$(dpkg --print-architecture)}"
-DISTRIBUTION="${DISTRIBUTION:-bookworm}"
+DISTRIBUTION="${DISTRIBUTION:-trixie}"
MIRROR="${MIRROR:-https://deb.debian.org/debian}"
PASSWORD="${PASSWORD:-$(dd if=/dev/urandom bs=12 count=1 2> /dev/null | base64)}"
@@ -161,7 +161,7 @@ INCLUDE="dbus"
case "${MIRROR}" in
https*)
- INCLUDE="${INCLUDE},apt-transport-https,ca-certificates"
+ INCLUDE="${INCLUDE},ca-certificates"
;;
esac