File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ KERNEL_DEB=""
6262FIRMWARE_DEB=" "
6363USE_CONF=0
6464USE_MANIFEST=0
65+ TARGET=" "
6566
6667if [[ $# -eq 4 ]]; then
6768 CONF=" $1 "
@@ -85,6 +86,7 @@ elif [[ $# -eq 3 ]]; then
8586 FIRMWARE_DEB=" $2 "
8687 USE_CONF=0
8788 USE_MANIFEST=0
89+ TARGET=" $3 "
8890 fi
8991elif [[ $# -eq 2 ]]; then
9092 CONF=" "
@@ -399,7 +401,17 @@ crd_dtb_path=\"/lib/firmware/\$kernel_ver/device-tree/x1e80100-crd.dtb\"
399401echo '[CHROOT] Writing GRUB configuration...'
400402tee /boot/grub.cfg > /dev/null <<GRUBCFG
401403set timeout=5
402- set default=${CODENAME} _crd
404+ \#set default=${CODENAME} _crd
405+ set default=\" QLI\"
406+ if [ " $TARGET " == \" hamoa\" ]; then
407+ set default=\" hamoa\"
408+ fi
409+ menuentry \" Ubuntu QLI IoT for X Elite CRD\" --id QLI {
410+ search --no-floppy --label system --set=root
411+ linux /boot/vmlinuz-\$ kernel_ver earlycon console=ttyMSM0,115200n8 root=LABEL=system cma=128M rw clk_ignore_unused pd_ignore_unused efi=noruntime rootwait ignore_loglevel
412+ initrd /boot/initrd.img-\$ kernel_ver
413+ }
414+
403415menuentry \" Ubuntu ${CODENAME} IoT for X Elite CRD\" --id ${CODENAME} _crd {
404416 search --no-floppy --label system --set=root
405417 devicetree \$ crd_dtb_path
You can’t perform that action at this time.
0 commit comments