deb-pkg: Support hybrid_rt scenario
Debian package adds support for hybrid_rt scenario. Tracked-On: #6688 Signed-off-by: Hu Fenglin <fenglin.hu@intel.com>
This commit is contained in:
parent
27f0d2969a
commit
57360ad8d1
|
@ -45,6 +45,8 @@ $kernelimg
|
|||
|
||||
EOF
|
||||
elif [ $SCENARIO == hybrid ];then
|
||||
echo -e "\E[32m Please put zephyr64.elf in the /boot/ directory"
|
||||
tput sgr0
|
||||
cat>"${filename}"<<EOF
|
||||
#!/bin/sh
|
||||
exec tail -n +3 \$0
|
||||
|
@ -60,6 +62,25 @@ module2 /boot/zephyr64.elf Zephyr_ElfImage
|
|||
module2 /boot/ACPI_VM0.bin ACPI_VM0
|
||||
}
|
||||
|
||||
EOF
|
||||
elif [ $SCENARIO == hybrid_rt ];then
|
||||
echo -e "\E[32m Please put bzImage_RT in the /boot/ directory"
|
||||
tput sgr0
|
||||
cat>"${filename}"<<EOF
|
||||
#!/bin/sh
|
||||
exec tail -n +3 \$0
|
||||
menuentry 'ACRN multiboot2 ' --id ACRN_deb_multiboot2 {
|
||||
load_video
|
||||
insmod gzio
|
||||
insmod part_gpt
|
||||
insmod ext2
|
||||
search --no-floppy --fs-uuid --set $uuid
|
||||
multiboot2 $ACRNBIN root=PARTUUID=$partuuid
|
||||
$kernelimg
|
||||
module2 /boot/bzImage_RT RT_bzImage
|
||||
module2 /boot/ACPI_VM0.bin ACPI_VM0
|
||||
}
|
||||
|
||||
EOF
|
||||
elif [ $SCENARIO == partitioned ];then
|
||||
cat>"${filename}"<<EOF
|
||||
|
|
Loading…
Reference in New Issue