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

14 lines
194 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 )"
2019-10-04 15:10:07 +00:00
PKGS="$(cat $DIR/packagelist.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
2019-10-04 15:10:07 +00:00
apt install -y $PKGS