blivet: Split ROOT_PATH usage into getTargetPhysicalRoot()/getSysroot()

Colin Walters walters at verbum.org
Sat Apr 26 17:20:32 UTC 2014


This mirrors the change to Anaconda, in order to enable OSTree
support.

For OSTree, the location of the OS checkout (and e.g. /etc/fstab) is
really in /ostree/deploy/$osname/deploy/$revision/etc/fstab.

In order to properly support OSTree, Blivet will need to gain an
understanding of the separation between the physical system / and the
target root.

This patch will be used in Anaconda, which will call setSysroot()
attribute after the root being installed is laid out.

After that, when we call write(), the fstab data will be correctly
written into the target root.
---
 blivet/__init__.py | 106 ++++++++++++++++++++++++++++++++--------------
 blivet/devicelibs/dasd.py | 4 +-
 blivet/fcoe.py | 8 ++--
 blivet/iscsi.py | 14 +++---
 blivet/util.py | 4 +-
 blivet/zfcp.py | 6 +--
 6 files changed, 93 insertions(+), 49 deletions(-)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20140426/e87f9209/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Split-ROOT_PATH-usage-into-getTargetPhysicalRoot-get.patch
Type: text/x-patch
Size: 16541 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20140426/e87f9209/attachment.bin>


More information about the anaconda-patches mailing list