Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v3 0/6] #11662 - wic should mount /boot
@ 2017-07-25 11:26 Ed Bartosh
  2017-07-25 11:26 ` [PATCH v3 1/6] wic: copy rootfs directory before changing fstab Ed Bartosh
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ed Bartosh @ 2017-07-25 11:26 UTC (permalink / raw)
  To: openembedded-core

Hi,

This patchset adds /boot to the /etc/fstab of root partition, making
it mounted on boot. It also fixes reporting and testing issues
caused by this change.

The patchset also fixes long standing bug: wic updated fstab
inplace in rootfs directory. This causes other tasks working with
rootfs directory to produce incorrect results or crash. This is
fixed by harlinking rootfs content to the temporary directory before
updating fstab.

Changes in v2: squashed patches by reviewer's request
Changes in v3: unlink /etc/fstab in rootfs copy before updating it

The following changes since commit be281d536c6ac9cafa8357ced4b1e5ce2e0db501:

  wic: add 'wic write' command (2017-07-25 14:19:37 +0300)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib ed/wip
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/wip

Ed Bartosh (6):
  wic: copy rootfs directory before changing fstab
  wic: use absolute paths in rootfs plugin
  wic: rootfs: fix rootfs path reporting
  wic: rootfs: make copied rootfs unique
  wic: add /boot mount point to fstab by default
  oe-selftest: wic: fix test_quemu

 meta/lib/oeqa/selftest/cases/wic.py      |  2 +-
 scripts/lib/wic/plugins/imager/direct.py | 26 ++++++++++++++++----------
 scripts/lib/wic/plugins/source/rootfs.py | 16 +++++++---------
 3 files changed, 24 insertions(+), 20 deletions(-)

--
Regards,
Ed



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-07-25 11:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-25 11:26 [PATCH v3 0/6] #11662 - wic should mount /boot Ed Bartosh
2017-07-25 11:26 ` [PATCH v3 1/6] wic: copy rootfs directory before changing fstab Ed Bartosh
2017-07-25 11:26 ` [PATCH v3 2/6] wic: use absolute paths in rootfs plugin Ed Bartosh
2017-07-25 11:26 ` [PATCH v3 3/6] wic: rootfs: fix rootfs path reporting Ed Bartosh
2017-07-25 11:26 ` [PATCH v3 4/6] wic: rootfs: make copied rootfs unique Ed Bartosh
2017-07-25 11:26 ` [PATCH v3 5/6] wic: add /boot mount point to fstab by default Ed Bartosh
2017-07-25 11:26 ` [PATCH v3 6/6] oe-selftest: wic: fix test_quemu Ed Bartosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox