diff options
| author | hibby <hibby@debian.org> | 2026-04-26 16:24:44 +0100 |
|---|---|---|
| committer | hibby <hibby@debian.org> | 2026-04-26 16:24:44 +0100 |
| commit | 44f392288f3e8f9c36403e7b1899e01228edfde4 (patch) | |
| tree | dc3d64ba53d79dc62bb14607f817eda1d282a92e | |
| parent | eac403ec221d93c5a189e39c337edb22e98d20a9 (diff) | |
Getting it all to tie together!
| -rwxr-xr-x | stage0/00-configure-apt/00-run.sh | 2 | ||||
| -rw-r--r-- | stage0/00-configure-apt/files/backports-pref | 3 | ||||
| -rw-r--r-- | stage0/00-configure-apt/files/debian.sources | 2 | ||||
| -rwxr-xr-x | stage4b/00-repo/00-run.sh | 7 | ||||
| -rw-r--r-- | stage4b/00-repo/files/hibbian | 3 | ||||
| -rw-r--r-- | stage4b/00-repo/files/hibbian-archive-keyring_20250715~hibbian13+1_all.deb (renamed from stage4b/files/hibbian-archive-keyring_20250715~hibbian13+1_all.deb) | bin | 4364 -> 4364 bytes | |||
| -rw-r--r-- | stage4b/EXPORT_IMAGE | 4 |
7 files changed, 17 insertions, 4 deletions
diff --git a/stage0/00-configure-apt/00-run.sh b/stage0/00-configure-apt/00-run.sh index f3e95b0..fb2c4cd 100755 --- a/stage0/00-configure-apt/00-run.sh +++ b/stage0/00-configure-apt/00-run.sh @@ -3,8 +3,10 @@ true > "${ROOTFS_DIR}/etc/apt/sources.list" install -m 644 files/debian.sources "${ROOTFS_DIR}/etc/apt/sources.list.d/" install -m 644 files/raspi.sources "${ROOTFS_DIR}/etc/apt/sources.list.d/" +install -m 644 files/backports-pref "${ROOTFS_DIR}/etc/apt/preferences.d/" sed -i "s/RELEASE/${RELEASE}/g" "${ROOTFS_DIR}/etc/apt/sources.list.d/debian.sources" sed -i "s/RELEASE/${RELEASE}/g" "${ROOTFS_DIR}/etc/apt/sources.list.d/raspi.sources" +sed -i "s/RELEASE/${RELEASE}/g" "${ROOTFS_DIR}/etc/apt/preferences.d/backports-pref" if [ -n "$APT_PROXY" ]; then install -m 644 files/51cache "${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache" diff --git a/stage0/00-configure-apt/files/backports-pref b/stage0/00-configure-apt/files/backports-pref new file mode 100644 index 0000000..e3810e4 --- /dev/null +++ b/stage0/00-configure-apt/files/backports-pref @@ -0,0 +1,3 @@ +Package: * +Pin: release n=RELEASE-backports +Pin-Priority: 500 diff --git a/stage0/00-configure-apt/files/debian.sources b/stage0/00-configure-apt/files/debian.sources index cabf3b5..d5f243f 100644 --- a/stage0/00-configure-apt/files/debian.sources +++ b/stage0/00-configure-apt/files/debian.sources @@ -1,6 +1,6 @@ Types: deb URIs: http://deb.debian.org/debian/ -Suites: RELEASE RELEASE-updates +Suites: RELEASE RELEASE-updates RELEASE-backports Components: main contrib non-free non-free-firmware Signed-By: /usr/share/keyrings/debian-archive-keyring.pgp diff --git a/stage4b/00-repo/00-run.sh b/stage4b/00-repo/00-run.sh index 77efde2..2a11abf 100755 --- a/stage4b/00-repo/00-run.sh +++ b/stage4b/00-repo/00-run.sh @@ -4,11 +4,12 @@ echo "Starting Repo Setup" # Copy keyring into chroot temp pwd -ls ../files -cp ../files/hibbian-archive-keyring_20250715\~hibbian13+1_all.deb "${ROOTFS_DIR}/root/" +cp files/hibbian-archive-keyring_20250715\~hibbian13+1_all.deb "${ROOTFS_DIR}/root/" -ls "${ROOTFS_DIR}/root/" +# Install preference file + +install -m 644 files/hibbian "${ROOTFS_DIR}/etc/apt/preferences.d/" # Install keyring (adds repo + trust) diff --git a/stage4b/00-repo/files/hibbian b/stage4b/00-repo/files/hibbian new file mode 100644 index 0000000..5a5a09c --- /dev/null +++ b/stage4b/00-repo/files/hibbian @@ -0,0 +1,3 @@ +Package: * +Pin: release o=Hibbian +Pin-Priority: 500 diff --git a/stage4b/files/hibbian-archive-keyring_20250715~hibbian13+1_all.deb b/stage4b/00-repo/files/hibbian-archive-keyring_20250715~hibbian13+1_all.deb Binary files differindex 1a40936..1a40936 100644 --- a/stage4b/files/hibbian-archive-keyring_20250715~hibbian13+1_all.deb +++ b/stage4b/00-repo/files/hibbian-archive-keyring_20250715~hibbian13+1_all.deb diff --git a/stage4b/EXPORT_IMAGE b/stage4b/EXPORT_IMAGE new file mode 100644 index 0000000..79ec11a --- /dev/null +++ b/stage4b/EXPORT_IMAGE @@ -0,0 +1,4 @@ +IMG_SUFFIX="" +if [ "${USE_QEMU}" = "1" ]; then + export IMG_SUFFIX="${IMG_SUFFIX}-qemu" +fi |
