summaryrefslogtreecommitdiffstats
path: root/meta/packages/initrdscripts/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/initrdscripts/files')
-rw-r--r--meta/packages/initrdscripts/files/init-install.sh2
-rw-r--r--meta/packages/initrdscripts/files/init-live.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/packages/initrdscripts/files/init-install.sh b/meta/packages/initrdscripts/files/init-install.sh
index 4d90f457cd..9ef6c47b8e 100644
--- a/meta/packages/initrdscripts/files/init-install.sh
+++ b/meta/packages/initrdscripts/files/init-install.sh
@@ -139,7 +139,7 @@ echo "default 0" > /ssd/boot/grub/menu.lst
139echo "timeout 30" >> /ssd/boot/grub/menu.lst 139echo "timeout 30" >> /ssd/boot/grub/menu.lst
140echo "title Poky-Netbook" >> /ssd/boot/grub/menu.lst 140echo "title Poky-Netbook" >> /ssd/boot/grub/menu.lst
141echo "root (hd0,0)" >> /ssd/boot/grub/menu.lst 141echo "root (hd0,0)" >> /ssd/boot/grub/menu.lst
142echo "kernel /boot/vmlinuz root=$rootfs rw video=$3 vga=$4 quiet" >> /ssd/boot/grub/menu.lst 142echo "kernel /boot/vmlinuz root=$rootfs rw $3 $4 quiet" >> /ssd/boot/grub/menu.lst
143 143
144cp /media/$1/vmlinuz /ssd/boot/ 144cp /media/$1/vmlinuz /ssd/boot/
145 145
diff --git a/meta/packages/initrdscripts/files/init-live.sh b/meta/packages/initrdscripts/files/init-live.sh
index 96a1a9488f..d4e53713ef 100644
--- a/meta/packages/initrdscripts/files/init-live.sh
+++ b/meta/packages/initrdscripts/files/init-live.sh
@@ -27,9 +27,9 @@ read_args() {
27 LABEL=*) 27 LABEL=*)
28 label=$optarg ;; 28 label=$optarg ;;
29 video=*) 29 video=*)
30 video_mode=$optarg ;; 30 video_mode=$arg ;;
31 vga=*) 31 vga=*)
32 vga_mode=$optarg ;; 32 vga_mode=$arg ;;
33 esac 33 esac
34 done 34 done
35} 35}
@@ -79,7 +79,7 @@ case $label in
79 ;; 79 ;;
80 install) 80 install)
81 if [ -f /media/$i/$ROOT_IMAGE ] ; then 81 if [ -f /media/$i/$ROOT_IMAGE ] ; then
82 ./install.sh $i $ROOT_IMAGE $video_mode $vga 82 ./install.sh $i $ROOT_IMAGE $video_mode $vga_mode
83 else 83 else
84 fatal "Couldnt find install script" 84 fatal "Couldnt find install script"
85 fi 85 fi