Skip to content

Commit b0748bf

Browse files
committed
feat: enable secureboot
1 parent 61ca760 commit b0748bf

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ See also the list of [contributors](CONTRIBUTORS.txt) who participated in this p
2121

2222
[![build-bionic](https://github.com/mvallim/live-custom-ubuntu-from-scratch/actions/workflows/build-bionic.yml/badge.svg)](https://github.com/mvallim/live-custom-ubuntu-from-scratch/actions/workflows/build-bionic.yml)
2323
[![build-focal](https://github.com/mvallim/live-custom-ubuntu-from-scratch/actions/workflows/build-focal.yml/badge.svg)](https://github.com/mvallim/live-custom-ubuntu-from-scratch/actions/workflows/build-focal.yml)
24+
[![build-jammy](https://github.com/mvallim/live-custom-ubuntu-from-scratch/actions/workflows/build-jammy.yml/badge.svg)](https://github.com/mvallim/live-custom-ubuntu-from-scratch/actions/workflows/build-jammy.yml)
25+
[![build-noble](https://github.com/mvallim/live-custom-ubuntu-from-scratch/actions/workflows/build-noble.yml/badge.svg)](https://github.com/mvallim/live-custom-ubuntu-from-scratch/actions/workflows/build-noble.yml)
2426

2527
## Terms
2628

scripts/chroot_build.sh

+9-1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ function install_pkg() {
117117
grub2-common \
118118
grub-efi-amd64-signed \
119119
shim-signed \
120+
memtest86+ \
120121
mtools \
121122
binutils
122123

@@ -179,7 +180,14 @@ function build_image() {
179180
cp /boot/initrd.img-**-**-generic casper/initrd
180181

181182
# memtest86
182-
cp /boot/memtest86+.bin install/memtest86+
183+
case $TARGET_UBUNTU_VERSION in
184+
"noble")
185+
cp /boot/memtest86+x64.bin install/memtest86+
186+
;;
187+
*)
188+
cp /boot/memtest86+.bin install/memtest86+
189+
;;
190+
esac
183191

184192
# memtest86++
185193
wget --progress=dot https://www.memtest86.com/downloads/memtest86-usb.zip -O install/memtest86-usb.zip

0 commit comments

Comments
 (0)