Add Debian keyring and minor code changes

This commit is contained in:
JRGTH
2025-09-23 11:12:05 -04:00
parent 9a6ef9031e
commit 3a24390b0d
4 changed files with 5 additions and 2 deletions

2
bastille-init Executable file → Normal file
View File

@@ -1539,6 +1539,7 @@ bootstrap_dist()
# Workaround since XigmaNAS does not ship with debootstrap command.
if sysrc -f ${CWDIR}${EXTCONF} -qc LINUX_COMPAT_SUPPORT=YES; then
# List of tested/working Linux distributions on FreeBSD 14.x.
#LINUX_FLAVORS="ubuntu-bionic ubuntu-focal ubuntu-jammy ubuntu-noble debian-buster debian-bullseye debian-bookworm"
LINUX_FLAVORS="ubuntu-bionic ubuntu-focal ubuntu-jammy"
if [ -n "${LINUX_DIST}" ]; then
for _linux_flavor in ${LINUX_FLAVORS}; do
@@ -1554,6 +1555,7 @@ bootstrap_dist()
if [ -z "${LINUX_FLAVOR}" ]; then
echo "Available Linux flavors:"
echo "${LINUX_FLAVORS}"
echo -e "\nTo fetch latest debootstrap/keyring packages run 'bastille-init update_debootstrap'"
exit 1
fi