X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml-debootstrap;h=71a0942c4536483038f266e9c9076dceb5282e2f;hb=97308cda86705fa3006f38a6eda2edfdf9b9e30e;hp=e331a2c4efa8adc37d3303b8e4ada1b9bc1146eb;hpb=e02a37035505d78decd7f9847688d442e57ae2f5;p=grml-debootstrap.git diff --git a/grml-debootstrap b/grml-debootstrap index e331a2c..71a0942 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -153,7 +153,7 @@ Configuration options: --backportrepos Enable Debian's backports repository (backports.debian.org). --keep_src_list Do not overwrite user provided apt sources.list. --contrib Enable 'contrib' in COMPONENTS (defaults to 'main' only). - --non-free Enable non-free in COMPONENTS (defaults to 'main' only). + --non-free Enable non-free / non-free-firmware in COMPONENTS (defaults to 'main' only). --hostname Hostname of Debian system. --nopassword Do not prompt for the root password. --password Use specified password as password for user root. @@ -589,7 +589,15 @@ done # make sure main is always included [ -z "$COMPONENTS" ] && COMPONENTS="main" [ "$_opt_contrib" ] && COMPONENTS="$COMPONENTS contrib" -[ "$_opt_non_free" ] && COMPONENTS="$COMPONENTS non-free" + +case "${RELEASE}" in + lenny|squeeze|wheezy|jessie|stretch|buster|bullseye) + [ "$_opt_non_free" ] && COMPONENTS="$COMPONENTS non-free" + ;; + *) + [ "$_opt_non_free" ] && COMPONENTS="$COMPONENTS non-free-firmware non-free" + ;; +esac # command line option checks if [ "$_opt_scripts_set" ] ; then