Add Debian keyring and minor code changes
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
======================
|
======================
|
||||||
Version Description
|
Version Description
|
||||||
|
|
||||||
|
1.2.09......Add Debian keyring and minor code changes.
|
||||||
1.2.08......Code cleanup, remove unnecessary statement.
|
1.2.08......Code cleanup, remove unnecessary statement.
|
||||||
1.2.07......Minor cosmetic/wording changes.
|
1.2.07......Minor cosmetic/wording changes.
|
||||||
1.2.06......Code changes, symlink bundled files in embedded platforms.
|
1.2.06......Code changes, symlink bundled files in embedded platforms.
|
||||||
|
|||||||
Executable → Regular
+2
@@ -1539,6 +1539,7 @@ bootstrap_dist()
|
|||||||
# Workaround since XigmaNAS does not ship with debootstrap command.
|
# Workaround since XigmaNAS does not ship with debootstrap command.
|
||||||
if sysrc -f ${CWDIR}${EXTCONF} -qc LINUX_COMPAT_SUPPORT=YES; then
|
if sysrc -f ${CWDIR}${EXTCONF} -qc LINUX_COMPAT_SUPPORT=YES; then
|
||||||
# List of tested/working Linux distributions on FreeBSD 14.x.
|
# 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"
|
LINUX_FLAVORS="ubuntu-bionic ubuntu-focal ubuntu-jammy"
|
||||||
if [ -n "${LINUX_DIST}" ]; then
|
if [ -n "${LINUX_DIST}" ]; then
|
||||||
for _linux_flavor in ${LINUX_FLAVORS}; do
|
for _linux_flavor in ${LINUX_FLAVORS}; do
|
||||||
@@ -1554,6 +1555,7 @@ bootstrap_dist()
|
|||||||
if [ -z "${LINUX_FLAVOR}" ]; then
|
if [ -z "${LINUX_FLAVOR}" ]; then
|
||||||
echo "Available Linux flavors:"
|
echo "Available Linux flavors:"
|
||||||
echo "${LINUX_FLAVORS}"
|
echo "${LINUX_FLAVORS}"
|
||||||
|
echo -e "\nTo fetch latest debootstrap/keyring packages run 'bastille-init update_debootstrap'"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Executable → Regular
+1
-1
@@ -120,7 +120,7 @@ fetch_pkg() {
|
|||||||
|
|
||||||
echo "Fetching required packages."
|
echo "Fetching required packages."
|
||||||
# Fetch deboostrap and dependency 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."
|
echo "Done."
|
||||||
|
|
||||||
if df | grep -q "${CWDIR}/system/var/db/pkg"; then
|
if df | grep -q "${CWDIR}/system/var/db/pkg"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user