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

14 lines
194 B
Bash

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