Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 563676 Details for
Bug 568464
[feature request] loopback.cfg grub ISO boot
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that should enable generation of loopback.cfg at x86/amd64
loopback.patch (text/plain), 1.75 KB, created by
pille
on 2019-02-03 17:04:30 UTC
(
hide
)
Description:
patch that should enable generation of loopback.cfg at x86/amd64
Filename:
MIME Type:
Creator:
pille
Created:
2019-02-03 17:04:30 UTC
Size:
1.75 KB
patch
obsolete
>diff --git i/targets/support/bootloader-setup.sh w/targets/support/bootloader-setup.sh >index e4735782..c3c99735 100755 >--- i/targets/support/bootloader-setup.sh >+++ w/targets/support/bootloader-setup.sh >@@ -264,13 +264,20 @@ case ${clst_hostarch} in > [ -d "$1/grub" ] || mkdir -p "$1/grub" > > iacfg=$1/grub/grub.cfg >+ lbcfg=$1/grub/loopback.cfg > echo 'set default=0' > ${iacfg} > echo 'set gfxpayload=keep' >> ${iacfg} > echo 'set timeout=10' >> ${iacfg} > echo 'insmod all_video' >> ${iacfg} > echo '' >> ${iacfg} >+ echo '' > ${lbcfg} > for x in ${clst_boot_kernel} > do >+ echo "menuentry 'Boot LiveCD (kernel: ${x})' --class gnu-linux --class os {" >> ${iacfg} >+ echo " linux /boot/${x} ${default_append_line}" >> ${iacfg} >+ echo " initrd /boot/${x}.igz" >> ${iacfg} >+ echo "}" >> ${iacfg} >+ echo "" >> ${iacfg} > echo "menuentry 'Boot LiveCD (kernel: ${x})' --class gnu-linux --class os {" >> ${iacfg} > echo " linux /boot/${x} ${default_append_line}" >> ${iacfg} > echo " initrd /boot/${x}.igz" >> ${iacfg} >@@ -281,6 +288,16 @@ case ${clst_hostarch} in > echo " initrd /boot/${x}.igz" >> ${iacfg} > echo "}" >> ${iacfg} > echo "" >> ${iacfg} >+ echo "menuentry 'Boot LiveCD (kernel: ${x})' --class gnu-linux --class os {" >> ${lbcfg} >+ echo " linux /boot/${x} ${default_append_line} isoboot=\$iso_path ">> ${lbcfg} >+ echo " initrd /boot/${x}.igz" >> ${lbcfg} >+ echo "}" >> ${lbcfg} >+ echo "" >> ${lbcfg} >+ echo "menuentry 'Boot LiveCD (kernel: ${x}) (cached)' --class gnu-linux --class os {" >> ${lbcfg} >+ echo " linux /boot/${x} ${default_append_line} docache isoboot=\$iso_path" >> ${lbcfg} >+ echo " initrd /boot/${x}.igz" >> ${lbcfg} >+ echo "}" >> ${lbcfg} >+ echo "" >> ${lbcfg} > done > fi > ;;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 568464
: 563676