summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-21 16:50:22 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-21 16:50:22 +0200
commit8e62e3223792592b3b12e4b2556d4d99787ce509 (patch)
treea91413eda42ebe813cc98a182ad8f5d656696df4
parent0f0a8a8f317a7c4ebccd3f9da227fb1a01c29552 (diff)
downloadvyos-build-8e62e3223792592b3b12e4b2556d4d99787ce509.tar.gz
vyos-build-8e62e3223792592b3b12e4b2556d4d99787ce509.zip
Debian: T3641: use bash/bash-completion from Buster
vyatta-bash is incompatible with the new syntax found in bash-completion which was added in BASH 5.1. Thus we select the "old" bash version from Debian Buster which is known to work.
-rw-r--r--data/live-build-config/archives/buster.list.chroot3
-rw-r--r--data/live-build-config/archives/buster.pref.chroot11
2 files changed, 14 insertions, 0 deletions
diff --git a/data/live-build-config/archives/buster.list.chroot b/data/live-build-config/archives/buster.list.chroot
new file mode 100644
index 00000000..06eb2dab
--- /dev/null
+++ b/data/live-build-config/archives/buster.list.chroot
@@ -0,0 +1,3 @@
+deb http://deb.debian.org/debian/ buster main non-free
+deb http://deb.debian.org/debian/ buster-updates main non-free
+deb http://security.debian.org/debian-security buster/updates main non-free
diff --git a/data/live-build-config/archives/buster.pref.chroot b/data/live-build-config/archives/buster.pref.chroot
new file mode 100644
index 00000000..8caa1e6d
--- /dev/null
+++ b/data/live-build-config/archives/buster.pref.chroot
@@ -0,0 +1,11 @@
+Package: bash
+Pin: release n=buster
+Pin-Priority: 600
+
+Package: bash-completion
+Pin: release n=buster
+Pin-Priority: 600
+
+Package: *
+Pin: release n=buster
+Pin-Priority: -10