Fix building images for Bullseye and Bookworm
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
This commit is contained in:
parent
123c430db2
commit
9da0cf41d4
@ -1,5 +1,10 @@
|
||||
# IPA is built with non-free firmware by default.
|
||||
export DIB_DEBIAN_COMPONENTS=${DIB_DEBIAN_COMPONENTS:-main,contrib,non-free}
|
||||
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
|
||||
|
@ -11,6 +11,11 @@
|
||||
"python": "python",
|
||||
"python-dev": "python-devel"
|
||||
}
|
||||
},
|
||||
"debian": {
|
||||
"bullseye": {
|
||||
"lshw": "lshw/bullseye-backports"
|
||||
}
|
||||
}
|
||||
},
|
||||
"family": {
|
||||
|
@ -5,7 +5,7 @@ Images built using diskimage-builder_ are recommended for production use on
|
||||
real hardware. The recommended distributions are:
|
||||
|
||||
* CentOS Stream 9
|
||||
* Debian Bullseye (``debian-minimal`` element)
|
||||
* Debian Bullseye and Bookworm (``debian-minimal`` element)
|
||||
|
||||
The following should work but receive only limited testing and support:
|
||||
|
||||
|
4
releasenotes/notes/debian-9a4fa6b2d3ef96d0.yaml
Normal file
4
releasenotes/notes/debian-9a4fa6b2d3ef96d0.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes building images for Debian Bullseye and Bookworm.
|
Loading…
Reference in New Issue
Block a user