hacks/fix-raspian-defaults/root.overlay/boot/per-once.d/05-packages.sh
2019-10-04 06:46:23 -07:00

16 lines
221 B
Bash

#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PKGS="$(cat $DIR/packages.txt)"
export DEBIAN_FRONTEND=noninteractive
apt update
apt upgrade -y
for PKG in $PKGS ; do
apt install -y $PKG
done