mirror of
https://git.yoctoproject.org/poky
synced 2026-07-27 07:27:12 +00:00
initrdscripts: Fix the init scripts to support the no fb case.
This commit is contained in:
@@ -139,7 +139,7 @@ echo "default 0" > /ssd/boot/grub/menu.lst
|
||||
echo "timeout 30" >> /ssd/boot/grub/menu.lst
|
||||
echo "title Poky-Netbook" >> /ssd/boot/grub/menu.lst
|
||||
echo "root (hd0,0)" >> /ssd/boot/grub/menu.lst
|
||||
echo "kernel /boot/vmlinuz root=$rootfs rw video=$3 vga=$4 quiet" >> /ssd/boot/grub/menu.lst
|
||||
echo "kernel /boot/vmlinuz root=$rootfs rw $3 $4 quiet" >> /ssd/boot/grub/menu.lst
|
||||
|
||||
cp /media/$1/vmlinuz /ssd/boot/
|
||||
|
||||
|
||||
@@ -27,9 +27,9 @@ read_args() {
|
||||
LABEL=*)
|
||||
label=$optarg ;;
|
||||
video=*)
|
||||
video_mode=$optarg ;;
|
||||
video_mode=$arg ;;
|
||||
vga=*)
|
||||
vga_mode=$optarg ;;
|
||||
vga_mode=$arg ;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
@@ -79,7 +79,7 @@ case $label in
|
||||
;;
|
||||
install)
|
||||
if [ -f /media/$i/$ROOT_IMAGE ] ; then
|
||||
./install.sh $i $ROOT_IMAGE $video_mode $vga
|
||||
./install.sh $i $ROOT_IMAGE $video_mode $vga_mode
|
||||
else
|
||||
fatal "Couldnt find install script"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user