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 ac62160528..8ab74ddc5d 100644 --- a/meta/recipes-core/initrdscripts/files/init-install-testfs.sh +++ b/meta/recipes-core/initrdscripts/files/init-install-testfs.sh | |||
@@ -158,13 +158,13 @@ mount -o rw,loop,noatime,nodiratime /run/media/$1/$2 /src_root | |||
158 | echo "Copying rootfs files..." | 158 | echo "Copying rootfs files..." |
159 | cp -a /src_root/* /tgt_root | 159 | cp -a /src_root/* /tgt_root |
160 | 160 | ||
161 | touch /tgt_root/etc/masterimage | 161 | touch /tgt_root/etc/controllerimage |
162 | 162 | ||
163 | if [ -d /tgt_root/etc/ ] ; then | 163 | if [ -d /tgt_root/etc/ ] ; then |
164 | echo "$bootfs /boot ext3 defaults 1 2" >> /tgt_root/etc/fstab | 164 | echo "$bootfs /boot ext3 defaults 1 2" >> /tgt_root/etc/fstab |
165 | # We dont want udev to mount our root device while we're booting... | 165 | # We dont want udev to mount our root device while we're booting... |
166 | if [ -d /tgt_root/etc/udev/ ] ; then | 166 | if [ -d /tgt_root/etc/udev/ ] ; then |
167 | echo "/dev/${device}" >> /tgt_root/etc/udev/mount.blacklist | 167 | echo "/dev/${device}" >> /tgt_root/etc/udev/mount.ignorelist |
168 | fi | 168 | fi |
169 | fi | 169 | fi |
170 | umount /tgt_root | 170 | umount /tgt_root |