diff options
| author | Andrew Donnellan <ajd@linux.ibm.com> | 2023-07-07 11:51:10 +1000 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-07-24 08:22:47 +0000 |
| commit | 8d5edebd4a3f329fb8056df863f7d4c8b57c97b0 (patch) | |
| tree | 8bfea493d8ca24b461fc270513b634d3eea17f4e /tools | |
| parent | d8d86219d5125c8d32dbaa63e245780db62eac7a (diff) | |
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 <ajd@linux.ibm.com>
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/create-image.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
