Files
patronageos/scripts/install_dependencies.sh
Matt Knoop d26067b2fa additional bash programming to support a json configuration file.
still working on kernel options for proper networking.
2026-01-05 15:05:11 -07:00

14 lines
287 B
Bash
Executable File

#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 install -y $item
done
cd "$(dirname "$0")"
find . -type f -name "*" -exec chmod +x {} +