mirror of
https://github.com/JRGTH/xigmanas-bastille-extension.git
synced 2025-12-10 17:00:18 +01:00
Add Debian keyring and minor code changes
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
======================
|
||||
Version Description
|
||||
|
||||
1.2.09......Add Debian keyring and minor code changes.
|
||||
1.2.08......Code cleanup, remove unnecessary statement.
|
||||
1.2.07......Minor cosmetic/wording changes.
|
||||
1.2.06......Code changes, symlink bundled files in embedded platforms.
|
||||
|
||||
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
|
||||
|
||||
|
||||
2
unionfs.sh
Executable file → Normal file
2
unionfs.sh
Executable file → Normal file
@@ -120,7 +120,7 @@ fetch_pkg() {
|
||||
|
||||
echo "Fetching required packages."
|
||||
# Fetch deboostrap and dependency packages.
|
||||
pkg fetch -y -d -o ${CWDIR}/system/ debootstrap || error_notify "Error while fetching packages, exiting."
|
||||
pkg fetch -y -d -o ${CWDIR}/system/ debootstrap debian-keyring || error_notify "Error while fetching packages, exiting."
|
||||
echo "Done."
|
||||
|
||||
if df | grep -q "${CWDIR}/system/var/db/pkg"; then
|
||||
|
||||
Reference in New Issue
Block a user