make memdisk work with bios cmdpath
This commit is contained in:
parent
70913bcd02
commit
671d08c502
3 changed files with 8 additions and 9 deletions
11
build.sh
11
build.sh
|
@ -108,19 +108,16 @@ echo -n "
|
||||||
→ ${MEMDISK_FILE}
|
→ ${MEMDISK_FILE}
|
||||||
"
|
"
|
||||||
echo -n "\
|
echo -n "\
|
||||||
# header
|
echo \"prefix | \${prefix}\"
|
||||||
|
search --no-floppy --set root --fs-uuid '${ESP}'
|
||||||
|
prefix=\"(\${root})/boot/grub\"
|
||||||
|
echo \"prefix | \${prefix}\"
|
||||||
" > "${MEMDISK_FILE}"
|
" > "${MEMDISK_FILE}"
|
||||||
echo -n "
|
echo -n "
|
||||||
↙ ${GRUB_SHIGNED}
|
↙ ${GRUB_SHIGNED}
|
||||||
↘ ${MEMDISK_FILE}
|
↘ ${MEMDISK_FILE}
|
||||||
"
|
"
|
||||||
cat "${GRUB_SHIGNED}" >> "${MEMDISK_FILE}"
|
cat "${GRUB_SHIGNED}" >> "${MEMDISK_FILE}"
|
||||||
echo -n "
|
|
||||||
→ ${MEMDISK_FILE}
|
|
||||||
"
|
|
||||||
echo -n "\
|
|
||||||
# footer
|
|
||||||
" >> "${MEMDISK_FILE}"
|
|
||||||
|
|
||||||
echo -n "
|
echo -n "
|
||||||
↙ ${MEMDISK_ROOT}
|
↙ ${MEMDISK_ROOT}
|
||||||
|
|
|
@ -74,6 +74,7 @@ function grub_list_xtra {
|
||||||
}
|
}
|
||||||
|
|
||||||
function grub_main {
|
function grub_main {
|
||||||
|
echo '---'
|
||||||
ls
|
ls
|
||||||
grub_list_const
|
grub_list_const
|
||||||
grub_split
|
grub_split
|
||||||
|
|
|
@ -58,13 +58,14 @@ Build an ESP File System including:
|
||||||
|
|
||||||
## Tasks
|
## Tasks
|
||||||
|
|
||||||
* build.sh
|
* bash
|
||||||
* args/pgp
|
* args/pgp
|
||||||
* args/esp & lsgm/cp
|
* args/esp & lsgm/cp
|
||||||
* mimic grubx64.efi.signed
|
* mimic grubx64.efi.signed
|
||||||
* efi
|
* efi
|
||||||
* bios
|
* bios
|
||||||
* grub.cfg
|
* --prefix '(memdisk)'
|
||||||
|
* live
|
||||||
* check squashfs option
|
* check squashfs option
|
||||||
* python
|
* python
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue