diff --git a/initramfs/config b/initramfs/config index a24dbd5..ce10e8e 100755 --- a/initramfs/config +++ b/initramfs/config @@ -16,6 +16,7 @@ mp=/tmp/newroot default_debian_suite=buster default_debian_mirror="http://httpredir.debian.org/debian" +include_packages="vim,openssh-server,ntpdate,cron,locales,udev,fake-hwclock,mtd-utils,ca-certificates,apt-transport-https,vlan,libnl-3-200,libnl-genl-3-200" set_host() { case `hostname` in @@ -175,7 +176,7 @@ bootstrap() { fi PATH=/bin:/usr/bin:/sbin:/usr/sbin:$PATH export PATH - debootstrap --arch=mipsel --include=vim,openssh-server,ntpdate,cron,locales,udev,fake-hwclock,mtd-utils,ca-certificates,apt-transport-https,vlan,libnl-3-200,libnl-genl-3-200 "$debian_version" "$mp" "$debian_mirror" || exit 1 + debootstrap --arch=mipsel --include="$include_packages" "$debian_version" "$mp" "$debian_mirror" || exit 1 return 1 }