
Bullseye requires installing lshw from backports because the default one has broken JSON output: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002025 Bookworm requires installing firmware from a different repository. Change-Id: I1bfecfcaff1547f99fcb48cc54b8f7ff77f0b0d9
14 lines
454 B
Bash
14 lines
454 B
Bash
# IPA is built with non-free firmware by default.
|
|
DIB_DEBIAN_NON_FREE=non-free-firmware
|
|
if [[ "$DIB_RELEASE" == "bullseye" ]]; then
|
|
# Starting with bookworm, firmware is in a separate repository
|
|
DIB_DEBIAN_NON_FREE=non-free
|
|
fi
|
|
export DIB_DEBIAN_COMPONENTS=${DIB_DEBIAN_COMPONENTS:-main,contrib,$DIB_DEBIAN_NON_FREE}
|
|
|
|
if [[ $DIB_DEBIAN_COMPONENTS =~ non-free ]]; then
|
|
export IPA_DEBIAN_NONFREE=true
|
|
else
|
|
export IPA_DEBIAN_NONFREE=false
|
|
fi
|