diff options
Diffstat (limited to 'meta/recipes-core/initrdscripts/files/init-install-testfs.sh')
| -rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install-testfs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install-testfs.sh b/meta/recipes-core/initrdscripts/files/init-install-testfs.sh index d2f2420498..26e1fb3dd2 100644 --- a/meta/recipes-core/initrdscripts/files/init-install-testfs.sh +++ b/meta/recipes-core/initrdscripts/files/init-install-testfs.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 |
| @@ -197,7 +197,7 @@ if [ ! -f /boot/grub/grub.cfg ] ; then | |||
| 197 | echo "kernel /vmlinuz root=$rootfs rw $3 $4 quiet" >> /boot/grub/menu.lst | 197 | echo "kernel /vmlinuz root=$rootfs rw $3 $4 quiet" >> /boot/grub/menu.lst |
| 198 | fi | 198 | fi |
| 199 | 199 | ||
| 200 | cp /media/$1/vmlinuz /boot/ | 200 | cp /run/media/$1/vmlinuz /boot/ |
| 201 | 201 | ||
| 202 | umount /boot | 202 | umount /boot |
| 203 | 203 | ||
