From 34f2dfd69efd4030732c0eaa2c5057ee9a2371d6 2016-06-20 08:10:44 From: drtyhlpr Date: 2016-06-20 08:10:44 Subject: [PATCH] Fixed: DEFLOCAL/MINBASE better fix --- diff --git a/rpi2-gen-image.sh b/rpi2-gen-image.sh index 5a4d2d3..8421059 100755 --- a/rpi2-gen-image.sh +++ b/rpi2-gen-image.sh @@ -265,9 +265,12 @@ set -x trap cleanup 0 1 2 3 6 # Add required packages for the minbase installation -if [ "$ENABLE_MINBASE" = true ] && [ "$DEFLOCAL" == "en_US.UTF-8" ] ; then +if [ "$ENABLE_MINBASE" = true ] ; then APT_INCLUDES="${APT_INCLUDES},vim-tiny,netbase,net-tools,ifupdown" -else +fi + +# Add required locales packages +if [ "$DEFLOCAL" != "en_US.UTF-8" ] ; then APT_INCLUDES="${APT_INCLUDES},locales,keyboard-configuration,console-setup" fi