Skip to content

Commit

Permalink
[ipxe] Add support for Debian 12 (Bookworm)
Browse files Browse the repository at this point in the history
(cherry picked from commit b6e646f)
(cherry picked from commit 8178943)
  • Loading branch information
drybjed committed Jun 15, 2023
1 parent 31f1a04 commit da04d12
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ General
the "oldstable" release. The new Debian Testing release, "Trixie" has also
been added in relevant places.

:ref:`debops.ipxe` role
'''''''''''''''''''''''

- The Debian Installer Menu can now install Debian GNU/Linux 12 (Bookworm).

Fixed
~~~~~

Expand Down
26 changes: 22 additions & 4 deletions ansible/roles/ipxe/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ ipxe__debian_netboot_firmware_mirror: 'https://cdimage.debian.org/cdimage/unoffi
#
# Specify which Debian releases will be prepared for iPXE boot on a given host.
# The releases need to be defined in the OS release map below.
ipxe__debian_netboot_releases: [ 'jessie', 'stretch', 'buster', 'bullseye' ]
ipxe__debian_netboot_releases: [ 'jessie', 'stretch', 'buster', 'bullseye', 'bookworm' ]

# ]]]
# .. envvar:: ipxe__debian_netboot_architectures [[[
Expand Down Expand Up @@ -193,6 +193,23 @@ ipxe__debian_netboot_default_release_map:
firmware_version: '20230429'
firmware_checksum: 'sha256:af07b888fb8d5153b3448fa84c3a25307a7de9ec643196031dde975d6d8d9bce' # firmware.cpio.gz

- name: 'bookworm-amd64'
release: 'bookworm'
architecture: 'amd64'
netboot_version: '20230607'
netboot_checksum: 'sha256:b41d766e5389b4e35bac3a664da84822e0990439c9c4df933ddbaff6847a0009' # netboot.tar.gz
firmware_version: '20230612'
firmware_checksum: 'sha256:96c1b464eca0487e12fbf48634a5bb13f3a666b10e5ee23b05d0246a36ab423b' # firmware.cpio.gz

- name: 'bookworm-amd64-gtk'
release: 'bookworm'
architecture: 'amd64'
netboot_subdir: '/gtk'
netboot_version: '20230607'
netboot_checksum: 'sha256:31fde25b04c50bf88fe163dc1eae75e831a1f6818c1df9ecdf26966e2af1029d' # netboot.tar.gz
firmware_version: '20230612'
firmware_checksum: 'sha256:96c1b464eca0487e12fbf48634a5bb13f3a666b10e5ee23b05d0246a36ab423b' # firmware.cpio.gz

# ]]]
# .. envvar:: ipxe__debian_netboot_release_map [[[
#
Expand Down Expand Up @@ -432,11 +449,12 @@ ipxe__default_scripts:
menu Install Debian GNU/Linux / ${arch_a}
item --gap Select suite:
item --key e bullseye ${space} Debian Stable (Bullseye) [e]
# Enable this when Debian Bookworm gets an installer
#item bookworm ${space} Debian Testing (Bookworm)
item --key e bookworm ${space} Debian Stable (Bookworm) [e]
# Enable this when Debian Trixie gets an installer
#item trixie ${space} Debian Testing (Trixie)
item
item --gap Select release:
item bookworm ${space} Debian GNU/Linux 12 (Bookworm)
item bullseye ${space} Debian GNU/Linux 11 (bullseye)
item buster ${space} Debian GNU/Linux 10 (buster)
item stretch ${space} Debian GNU/Linux 9 (stretch)
Expand Down
10 changes: 10 additions & 0 deletions ansible/roles/ipxe/meta/watch-firmware-bookworm
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright (C) 2023 Maciej Delmanowski <drybjed@gmail.com>
# Copyright (C) 2023 DebOps <https://debops.org/>
# SPDX-License-Identifier: GPL-3.0-only

# Role: ipxe
# Package: firmware-bookworm
# Version: 20230612

version=4
https://cdimage.debian.org/cdimage/unofficial/non-free/firmware/bookworm (20.+)/
10 changes: 10 additions & 0 deletions ansible/roles/ipxe/meta/watch-netboot-bookworm
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright (C) 2023 Maciej Delmanowski <drybjed@gmail.com>
# Copyright (C) 2023 DebOps <https://debops.org/>
# SPDX-License-Identifier: GPL-3.0-only

# Role: ipxe
# Package: netboot-bookworm
# Version: 20230607

version=4
https://deb.debian.org/debian/dists/bookworm/main/installer-amd64 (20.+)/

0 comments on commit da04d12

Please sign in to comment.