mirror of
https://github.com/mvallim/live-custom-ubuntu-from-scratch.git
synced 2025-08-03 16:33:19 +00:00
feat: enable secureboot
This commit is contained in:
2
.github/workflows/build-bionic.yml
vendored
2
.github/workflows/build-bionic.yml
vendored
@ -9,7 +9,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
2
.github/workflows/build-focal.yml
vendored
2
.github/workflows/build-focal.yml
vendored
@ -9,7 +9,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
2
.github/workflows/build-jammy.yml
vendored
2
.github/workflows/build-jammy.yml
vendored
@ -9,7 +9,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
scripts/chroot
|
||||
scripts/image
|
||||
scripts/certificates
|
||||
*.iso
|
||||
|
@ -631,9 +631,14 @@ remove packages specified in `filesystem.manifest` that are *not* listed in `fil
|
||||
2. Create [SBAT](https://github.com/rhboot/shim/blob/main/SBAT.md) file
|
||||
|
||||
```shell
|
||||
GRUB_VERSION=`grub-mkstandalone -V | tr -s ' ' | cut -d' ' -f3 | cut -d'-' -f1`
|
||||
GRUB_RELEASE=`grub-mkstandalone -V | tr -s ' ' | cut -d' ' -f3`
|
||||
|
||||
# create SBAT file
|
||||
cat <<EOF > isolinux/sbat.csv
|
||||
sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md
|
||||
grub,1,Free Software Foundation,grub,2.04,https://www.gnu.org/software/grub/
|
||||
grub,1,Free Software Foundation,grub,$GRUB_VERSION,https://www.gnu.org/software/grub/
|
||||
grub.ubuntu,1,Ubuntu,grub2,$GRUB_RELEASE,https://www.ubuntu.com/
|
||||
EOF
|
||||
```
|
||||
|
||||
|
@ -349,10 +349,15 @@ EOF
|
||||
|
||||
popd # return to image directory
|
||||
|
||||
# grub version/release
|
||||
GRUB_VERSION=`grub-mkstandalone -V | tr -s ' ' | cut -d' ' -f3 | cut -d'-' -f1`
|
||||
GRUB_RELEASE=`grub-mkstandalone -V | tr -s ' ' | cut -d' ' -f3`
|
||||
|
||||
# create SBAT file
|
||||
cat <<EOF > isolinux/sbat.csv
|
||||
sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md
|
||||
grub,1,Free Software Foundation,grub,2.04,https://www.gnu.org/software/grub/
|
||||
grub,1,Free Software Foundation,grub,$GRUB_VERSION,https://www.gnu.org/software/grub/
|
||||
grub.ubuntu,1,Ubuntu,grub2,$GRUB_RELEASE,https://www.ubuntu.com/
|
||||
EOF
|
||||
|
||||
# create a grub UEFI image
|
||||
|
Reference in New Issue
Block a user