From f943fa9209acfe2fac7b8b6b23ed1baf304f27e4 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Fri, 8 Jan 2021 04:32:01 -0500 Subject: Add 'unstable' as a valid distribution and link to sid. --- data/debian-cd/unstable | 1 + functions/configuration.sh | 4 ++-- functions/sourcelist.sh | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 120000 data/debian-cd/unstable diff --git a/data/debian-cd/unstable b/data/debian-cd/unstable new file mode 120000 index 000000000..20f08b4f4 --- /dev/null +++ b/data/debian-cd/unstable @@ -0,0 +1 @@ +squeeze \ No newline at end of file diff --git a/functions/configuration.sh b/functions/configuration.sh index abf68109f..f853dc263 100755 --- a/functions/configuration.sh +++ b/functions/configuration.sh @@ -262,7 +262,7 @@ Prepare_config () LB_BINARY_FILESYSTEM="${LB_BINARY_FILESYSTEM:-fat32}" case "${LB_PARENT_DISTRIBUTION_BINARY}" in - sid) + sid|unstable) LB_SECURITY="${LB_SECURITY:-false}" ;; @@ -272,7 +272,7 @@ Prepare_config () esac case "${LB_PARENT_DISTRIBUTION_BINARY}" in - sid) + sid|unstable) LB_UPDATES="${LB_UPDATES:-false}" ;; diff --git a/functions/sourcelist.sh b/functions/sourcelist.sh index f955eab32..def868114 100755 --- a/functions/sourcelist.sh +++ b/functions/sourcelist.sh @@ -79,7 +79,7 @@ Create_apt_sources_list () case "${LB_MODE}" in debian) case "${PARENT_DISTRIBUTION}" in - sid) + sid|unstable) # do nothing ;; @@ -112,7 +112,7 @@ Create_apt_sources_list () if [ "${LB_BACKPORTS}" = "true" ]; then case "${LB_MODE}" in debian) - if [ "${PARENT_DISTRIBUTION}" != "sid" ]; then + if [ "${PARENT_DISTRIBUTION}" != "sid" ] && [ "${PARENT_DISTRIBUTION}" != "unstable" ]; then echo "deb ${PARENT_MIRROR} ${PARENT_DISTRIBUTION}-backports ${LB_PARENT_ARCHIVE_AREAS}" >> "${PARENT_LIST_FILE}" echo "deb-src ${PARENT_MIRROR} ${PARENT_DISTRIBUTION}-backports ${LB_PARENT_ARCHIVE_AREAS}" >> "${PARENT_LIST_FILE}" fi -- cgit v1.2.3