windvn/mods/packages-apply/data/chroot

22 lines
525 B
Plaintext
Raw Normal View History

2022-08-04 20:56:02 +00:00
#!/bin/bash
2022-08-10 00:00:49 +00:00
set -e
cat << EOF | debconf-set-selections
firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true
EOF
2022-09-26 09:13:13 +00:00
apt --error-on=any -y update
2022-05-23 04:30:20 +00:00
apt -y upgrade
2022-08-10 00:00:49 +00:00
apt -y install $WDVN_PACKAGES_INTERACTIVE
2022-08-08 19:16:43 +00:00
export DEBIAN_FRONTEND="noninteractive"
2022-08-10 00:00:49 +00:00
apt -y install $WDVN_PACKAGES
2022-08-15 06:31:02 +00:00
update-rc.d keyboard-setup.sh defaults
2022-09-26 13:39:46 +00:00
2022-08-26 14:57:07 +00:00
if [ "$WDVN_ONLINE" != "1" ]; then
2022-09-26 13:39:46 +00:00
if [ "$WDVN_FAT" != "1" ]; then
apt -y install --download-only $WDVN_PACKAGES_DL
else
apt -y install $WDVN_PACKAGES_DL
fi
2022-08-26 14:57:07 +00:00
fi
2022-09-26 13:39:46 +00:00
2022-08-04 20:56:02 +00:00
unset DEBIAN_FRONTEND
2022-05-23 04:30:20 +00:00
apt -y autoclean