From 06268b7ff8bcf52bdb5f3eb2c9ff63e3b736d52c Mon Sep 17 00:00:00 2001 From: Arnaud Rebillout Date: Thu, 1 Feb 2024 15:28:29 +0700 Subject: [PATCH] lxc-kali: Also add non-free-firmware when --enable-non-free Kali Linux just enabled their non-free-firmware component, cf. https://www.kali.org/blog/non-free-firmware-transition/ Signed-off-by: Arnaud Rebillout --- templates/lxc-kali.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/lxc-kali.in b/templates/lxc-kali.in index 4248205..1a3cb7b 100644 --- a/templates/lxc-kali.in +++ b/templates/lxc-kali.in @@ -224,7 +224,7 @@ write_sourceslist() if [ "$mainonly" = 1 ]; then non_main='' else - non_main=' contrib non-free' + non_main=' contrib non-free non-free-firmware' fi cat >> "${rootfs}/etc/apt/sources.list" << EOF @@ -644,7 +644,7 @@ Options : --packages=PACKAGE_NAME1,PACKAGE_NAME2,... List of additional packages to install. Comma separated, without space. -c, --clean only clean up the cache and terminate - --enable-non-free include also Kali's contrib and non-free repositories. + --enable-non-free include also Kali's contrib, non-free and non-free-firmware repositories. -I|--interpreter-path=INTERPRETER-PATH Path of the binfmt interpreter to copy to the rootfs -F | --flush-cache Flush the kali release cache