Skip to content

Commit c9709f6

Browse files
committed
feat: enable secureboot
1 parent 13fac00 commit c9709f6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ remove packages specified in `filesystem.manifest` that are *not* listed in `fil
662662
4. Add .sbat sections
663663
664664
```shell
665-
objcopy --set-section-alignment '.sbat=512' --add-section .sbat=isolinux/sbat.csv isolinux/grubx64.efi --adjust-section-vma .sbat+10000000
665+
objcopy --add-section .sbat=isolinux/sbat.csv isolinux/grubx64.efi --change-section-address .sbat=10000000
666666
```
667667
668668
5. UEFI secure boot signing

scripts/chroot_build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ EOF
372372
sed -i 's/SecureBoot/SecureB00t/' isolinux/grubx64.efi
373373

374374
# add .sbat sections
375-
objcopy --set-section-alignment '.sbat=512' --add-section .sbat=isolinux/sbat.csv isolinux/grubx64.efi --adjust-section-vma .sbat+10000000
375+
objcopy --add-section .sbat=isolinux/sbat.csv isolinux/grubx64.efi --change-section-address .sbat=10000000
376376

377377
# UEFI secure boot signing
378378
sbsign --key /certificates/db.key --cert /certificates/db.pem --output isolinux/grubx64.efi isolinux/grubx64.efi

scripts/default_config.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# Usage: Copy this file to config.sh and make changes there. Keep this file (default_config.sh) as-is
66
# so that subsequent changes can be easily merged from upstream. Keep all customiations in config.sh
77

8-
# The version of Ubuntu to generate. Successfully tested: bionic, cosmic, disco, eoan, focal, groovy, jammy
8+
# The version of Ubuntu to generate. Successfully tested LTS: bionic, focal, jammy, noble
99
# See https://wiki.ubuntu.com/DevelopmentCodeNames for details
10-
export TARGET_UBUNTU_VERSION="jammy"
10+
export TARGET_UBUNTU_VERSION="noble"
1111

1212
# The Ubuntu Mirror URL. It's better to change for faster download.
1313
# More mirrors see: https://launchpad.net/ubuntu/+archivemirrors
@@ -41,7 +41,7 @@ export TARGET_PACKAGE_REMOVE="
4141
function customize_image() {
4242
# install graphics and desktop
4343
apt-get install -y \
44-
plymouth-theme-ubuntu-logo \
44+
plymouth-themes \
4545
ubuntu-gnome-desktop \
4646
ubuntu-gnome-wallpapers
4747

0 commit comments

Comments
 (0)