feat: enable secureboot

This commit is contained in:
Marcos Tischer Vallim
2024-09-07 22:06:28 -03:00
parent 61ca760f79
commit b0748bf30b
2 changed files with 11 additions and 1 deletions

View File

@ -21,6 +21,8 @@ See also the list of [contributors](CONTRIBUTORS.txt) who participated in this p
[![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)
[![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)
[![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)
[![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)
## Terms

View File

@ -117,6 +117,7 @@ function install_pkg() {
grub2-common \
grub-efi-amd64-signed \
shim-signed \
memtest86+ \
mtools \
binutils
@ -179,7 +180,14 @@ function build_image() {
cp /boot/initrd.img-**-**-generic casper/initrd
# memtest86
cp /boot/memtest86+.bin install/memtest86+
case $TARGET_UBUNTU_VERSION in
"noble")
cp /boot/memtest86+x64.bin install/memtest86+
;;
*)
cp /boot/memtest86+.bin install/memtest86+
;;
esac
# memtest86++
wget --progress=dot https://www.memtest86.com/downloads/memtest86-usb.zip -O install/memtest86-usb.zip