diff options
author | Unit 193 <unit193@unit193.net> | 2021-01-08 04:32:01 -0500 |
---|---|---|
committer | Unit 193 <unit193@unit193.net> | 2021-01-08 04:32:01 -0500 |
commit | f943fa9209acfe2fac7b8b6b23ed1baf304f27e4 (patch) | |
tree | 9105ed49ddc67e49c0d78c3a779b050b5c2bff01 | |
parent | b8279ed4a1580ca96a0184d84f8f64a362630710 (diff) | |
download | vyos-live-build-f943fa9209acfe2fac7b8b6b23ed1baf304f27e4.tar.gz vyos-live-build-f943fa9209acfe2fac7b8b6b23ed1baf304f27e4.zip |
Add 'unstable' as a valid distribution and link to sid.
l--------- | data/debian-cd/unstable | 1 | ||||
-rwxr-xr-x | functions/configuration.sh | 4 | ||||
-rwxr-xr-x | functions/sourcelist.sh | 4 |
3 files changed, 5 insertions, 4 deletions
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 |