hacks/fix-raspian-defaults/root.overlay/boot/per-once.d/05-packages.sh

16 lines
221 B
Bash
Raw Normal View History

2019-10-04 12:55:40 +00:00
#!/bin/bash
2019-10-04 12:44:29 +00:00
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PKGS="$(cat $DIR/packages.txt)"
2019-10-04 12:26:33 +00:00
export DEBIAN_FRONTEND=noninteractive
2019-10-04 12:44:29 +00:00
2019-10-04 12:26:33 +00:00
apt update
2019-10-04 12:44:29 +00:00
2019-10-04 12:26:33 +00:00
apt upgrade -y
2019-10-04 12:44:29 +00:00
for PKG in $PKGS ; do
apt install -y $PKG
done