1
0
mirror of https://github.com/lxc/lxc-templates.git synced 2025-01-02 20:00:13 +00:00

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 <arnaudr@kali.org>
This commit is contained in:
Arnaud Rebillout 2024-02-01 15:28:29 +07:00
parent dd044cd9df
commit 06268b7ff8

View File

@ -224,7 +224,7 @@ write_sourceslist()
if [ "$mainonly" = 1 ]; then if [ "$mainonly" = 1 ]; then
non_main='' non_main=''
else else
non_main=' contrib non-free' non_main=' contrib non-free non-free-firmware'
fi fi
cat >> "${rootfs}/etc/apt/sources.list" << EOF cat >> "${rootfs}/etc/apt/sources.list" << EOF
@ -644,7 +644,7 @@ Options :
--packages=PACKAGE_NAME1,PACKAGE_NAME2,... --packages=PACKAGE_NAME1,PACKAGE_NAME2,...
List of additional packages to install. Comma separated, without space. List of additional packages to install. Comma separated, without space.
-c, --clean only clean up the cache and terminate -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 -I|--interpreter-path=INTERPRETER-PATH
Path of the binfmt interpreter to copy to the rootfs Path of the binfmt interpreter to copy to the rootfs
-F | --flush-cache Flush the kali release cache -F | --flush-cache Flush the kali release cache