init-install-testfs: create signature file for master image
Also small cosmetic changes. (From OE-Core rev: 33c464269155f268cb08f086e530187bac61c299) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
a8f453d5b2
commit
809350a23f
|
@ -154,8 +154,12 @@ mkdir -p /boot
|
|||
# Handling of the target root partition
|
||||
mount $rootfs /tgt_root
|
||||
mount -o rw,loop,noatime,nodiratime /run/media/$1/$2 /src_root
|
||||
|
||||
echo "Copying rootfs files..."
|
||||
cp -a /src_root/* /tgt_root
|
||||
|
||||
touch /tgt_root/etc/masterimage
|
||||
|
||||
if [ -d /tgt_root/etc/ ] ; then
|
||||
echo "$bootfs /boot ext3 defaults 1 2" >> /tgt_root/etc/fstab
|
||||
# We dont want udev to mount our root device while we're booting...
|
||||
|
|
Loading…
Reference in New Issue