mirror of
https://github.com/JRGTH/xigmanas-bastille-extension.git
synced 2025-12-11 17:31:09 +01:00
Add Debian keyring and minor code changes
This commit is contained in:
2
bastille-init
Executable file → Normal file
2
bastille-init
Executable file → Normal 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user