diff options
Diffstat (limited to 'meta/recipes-core/initrdscripts/files/init-install.sh')
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh index 8e433d5eda..b1600030f5 100644 --- a/meta/recipes-core/initrdscripts/files/init-install.sh +++ b/meta/recipes-core/initrdscripts/files/init-install.sh | |||
@@ -151,7 +151,7 @@ mkdir -p /boot | |||
151 | 151 | ||
152 | # Handling of the target root partition | 152 | # Handling of the target root partition |
153 | mount $rootfs /tgt_root | 153 | mount $rootfs /tgt_root |
154 | mount -o rw,loop,noatime,nodiratime /media/$1/$2 /src_root | 154 | mount -o rw,loop,noatime,nodiratime /run/media/$1/$2 /src_root |
155 | echo "Copying rootfs files..." | 155 | echo "Copying rootfs files..." |
156 | cp -a /src_root/* /tgt_root | 156 | cp -a /src_root/* /tgt_root |
157 | if [ -d /tgt_root/etc/ ] ; then | 157 | if [ -d /tgt_root/etc/ ] ; then |
@@ -194,7 +194,7 @@ if [ ! -f /boot/grub/grub.cfg ] ; then | |||
194 | echo "kernel /vmlinuz root=$rootfs rw $3 $4 quiet" >> /boot/grub/menu.lst | 194 | echo "kernel /vmlinuz root=$rootfs rw $3 $4 quiet" >> /boot/grub/menu.lst |
195 | fi | 195 | fi |
196 | 196 | ||
197 | cp /media/$1/vmlinuz /boot/ | 197 | cp /run/media/$1/vmlinuz /boot/ |
198 | 198 | ||
199 | umount /boot | 199 | umount /boot |
200 | 200 | ||