Add 'unstable' as a valid distribution and link to sid.

This commit is contained in:
Unit 193 2021-01-08 04:32:01 -05:00
parent b8279ed4a1
commit f943fa9209
3 changed files with 5 additions and 4 deletions

1
data/debian-cd/unstable Symbolic link
View File

@ -0,0 +1 @@
squeeze

View File

@ -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}"
;;

View File

@ -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