mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 23:49:52 +07:00
grub: test
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
41dd869f0c
commit
aa714f49c4
@ -11,7 +11,6 @@ insmod gzio
|
||||
insmod fat
|
||||
insmod ext2
|
||||
insmod png
|
||||
insmod jpeg
|
||||
|
||||
set default="boot"
|
||||
set timeout="5"
|
||||
@ -82,6 +81,19 @@ set color_normal=white/black
|
||||
|
||||
set ARC_CMDLINE="earlyprintk earlycon=ttyS0,115200 console=ttyS0,115200 root=/dev/ram rootwait pcie_aspm=off net.ifnames=0 ipv6.disable=1"
|
||||
|
||||
search --set=root --label "ARC1"
|
||||
if [ -s /.build ]; then
|
||||
menuentry 'Arc Automated Config Mode' --id automated {
|
||||
search --set=root --label "ARC3"
|
||||
set_gfxpayload
|
||||
echo "Loading Arc Kernel..."
|
||||
linux /bzImage-arc ${ARC_CMDLINE} ${arc_cmdline} automated_arc
|
||||
echo "Loading Arc Initramfs..."
|
||||
initrd /initrd-arc
|
||||
echo "Booting..."
|
||||
}
|
||||
fi
|
||||
|
||||
search --set=root --label "ARC3"
|
||||
if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
|
||||
if [ "${default}" = "direct" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user