From ac15d86c616f7967b139929eca92ea4e86bd283d Mon Sep 17 00:00:00 2001 From: Jernej Jakob Date: Sun, 12 Jan 2020 21:44:22 +0100 Subject: [PATCH] initramfs/config: move debootstrap include packages to variable --- initramfs/config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }