Wind River Support Network

HomeDefectsLIN5-2762
Fixed

LIN5-2762 : using make usb-image to make an read-only image doesn't actually work

Created: Mar 29, 2013    Updated: Dec 19, 2017
Resolved Date: Apr 16, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.3
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Build & Config

Description

The defaults command for the command "make usb-image" generate a read-only image, but when the actual target system boots the image is found to be read-write

Steps to Reproduce

configure --enable-rootfs=glibc_small+debug --enable-kernel=standard --enable-board=qemux86-64

make fs
make usb-image < /dev/null
make start-target TOPTS="-disk export/usb.img" TARGET_QEMU_KERNEL=""

# Login and run
touch testing123
halt -p

# Now boot the target again:
make start-target TOPTS="-disk export/usb.img" TARGET_QEMU_KERNEL=""

# You will see the file is there with "ls" and the image was mounted read-write

Other Downloads


Live chat
Online