[PATCH] iutil: Introduce getSysroot()/getTargetPhysicalRoot(), use instead of ROOT_PATH
Colin Walters
walters at verbum.org
Wed Apr 23 21:10:12 UTC 2014
On Wed, Apr 23, 2014 at 2:47 AM, Vratislav Podzimek
<vpodzime at redhat.com> wrote:
>
> I'm sorry, but I don't quite get this. The docstring says, this can
> return something different from the sysroot and the only thing it does
> is returning the value of getSysroot().
Right. This attached patch fixes it to return a constant ROOT_PATH -
we never want to mount the storage anywhere else really.
However I think it's worth having a new function because it allows us
to "git grep ROOT_PATH" and find any locations that need to be changed.
Also, I took this opportunity to introduce setSysroot() which was in a
later patch.
New patch attached, thanks for the review!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20140423/529ea0a1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-iutil-Introduce-getSysroot-getTargetPhysicalRoot-use.patch
Type: text/x-patch
Size: 55213 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20140423/529ea0a1/attachment-0001.bin>
More information about the anaconda-patches
mailing list