summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-05 16:26:24 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-05 16:26:24 (EDT)
commite12381cd348ff64ab1a8f1e39a39a7a3afd032be (patch)
tree4170696d5de8c43979edae1292fbb7e77b66b522
parent241f0e7a568d1be2a312b2eb5a4cf02f9e1b3707 (diff)
installers/pc: Allow user to install extra pkgs
-rw-r--r--installers/data/pc.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/installers/data/pc.sh b/installers/data/pc.sh
index 8e748dc..651c0bc 100644
--- a/installers/data/pc.sh
+++ b/installers/data/pc.sh
@@ -192,4 +192,13 @@ printf '\n'
cp -p /boot/vmlinuz /boot/vmlinuz.old
install-lilo "${boot}" "/dev/${root}" >&2
+printf '\nCustom configuration'
+printf '\n====================\n\n'
+printf 'Additional packages to install (e.g. "fbi cmatrix acpi") or empty: '
+_read -r custom_pkgs
+printf '\n'
+if [ "x${custom_pkgs}" != 'x' ]; then
+ opkg install ${custom_pkgs}
+fi
+
printf '\nInstallation complete!\n'