From 8d5edebd4a3f329fb8056df863f7d4c8b57c97b0 Mon Sep 17 00:00:00 2001 From: Andrew Donnellan Date: Fri, 7 Jul 2023 11:51:10 +1000 Subject: tools/create-image.sh: add non-free-firmware Debian archive component In the latest Debian release, bookworm, non-free firmware has been moved to a new archive component, non-free-firmware. This means that running create-image.sh for bookworm will fail, because the firmware-atheros package can no longer be found. Add the non-free-firmware component to debootstrap's arguments. (This appears to still work for older releases such as bullseye, which don't have a non-free-firmware component.) Signed-off-by: Andrew Donnellan --- tools/create-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/create-image.sh b/tools/create-image.sh index 439c31532..2d33f8b81 100755 --- a/tools/create-image.sh +++ b/tools/create-image.sh @@ -134,7 +134,7 @@ sudo chmod 0755 $DIR # 1. debootstrap stage -DEBOOTSTRAP_PARAMS="--arch=$DEBARCH --include=$PREINSTALL_PKGS --components=main,contrib,non-free $RELEASE $DIR" +DEBOOTSTRAP_PARAMS="--arch=$DEBARCH --include=$PREINSTALL_PKGS --components=main,contrib,non-free,non-free-firmware $RELEASE $DIR" if [ $FOREIGN = "true" ]; then DEBOOTSTRAP_PARAMS="--foreign $DEBOOTSTRAP_PARAMS" fi -- cgit mrf-deployment