update scripts. relative directories. boot to ubuntu noble command line.

This commit is contained in:
2025-12-06 23:24:59 -08:00
parent 191a3c9568
commit 221c49ccbb
6 changed files with 57 additions and 46 deletions

11
scripts/install_dependencies.sh Executable file
View File

@@ -0,0 +1,11 @@
#install dependencies
if [ "$(id -u)" -ne 0 ]; then
echo "switching from $(id -un) to root"
exec sudo "$0" "$@"
fi
set -e
list="kpartx podman debootstrap"
apt update
for item in $list; do
apt list --installed $item 2>/dev/null || sudo apt-get install -y $item
done