auto-mount prevent formating on testboot and testrootfs when image deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Dispatcher |
Fix Released
|
Medium
|
Spring Zhang |
Bug Description
If master image is Ubuntu LEB, it will mount testboot and testrootfs when bootup. It will prevent format during new image deployment.
Log:
min/avg/max/mdev = 102.841/
root@master:~# mkfs.ext3 -q /dev/disk/
/dev/disk/
root@master:~# udevadm trigger
root@master:~# mkdir -p /mnt/root
root@master:~# mount /dev/disk/
root@master:~# mxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
--numeric-owner -C /mnt/root -xzf -s/tmp/
root@master:~# echo linaro > /mnt/root/
root@master:~# umount /mnt/root
root@master:~# mkfs.vfat /dev/disk/
mkfs.vfat 3.0.9 (31 Jan 2010)
mkfs.vfat: unable to open /dev/disk/
root@master:~# udevadm trigger
Related branches
- Spring Zhang (community): Needs Resubmitting
- Paul Larson (community): Needs Information
-
Diff: 376 lines (+225/-22)4 files modifieddoc/android-new-kernel.json (+37/-0)
doc/lava-new-kernel.json (+30/-0)
lava_dispatcher/actions/android_deploy.py (+28/-7)
lava_dispatcher/actions/deploy.py (+130/-15)
- Linaro Validation Team: Pending requested
-
Diff: 23 lines (+6/-0)1 file modifiedlava_dispatcher/actions/deploy.py (+6/-0)
Changed in lava-dispatcher: | |
status: | Confirmed → Fix Committed |
Changed in lava-dispatcher: | |
status: | Fix Committed → Fix Released |
Adding umount command before deployment will resolve it.