Lines 1477-1483
def spawn(mystring, mysettings, debug=False, free=False, droppriv=False,
Link Here
|
1477 |
# TODO: Enable fakeroot to be used together with droppriv. The |
1477 |
# TODO: Enable fakeroot to be used together with droppriv. The |
1478 |
# fake ownership/permissions will have to be converted to real |
1478 |
# fake ownership/permissions will have to be converted to real |
1479 |
# permissions in the merge phase. |
1479 |
# permissions in the merge phase. |
1480 |
fakeroot = fakeroot and uid != 0 and portage.process.fakeroot_capable |
1480 |
fakeroot = fakeroot and portage.process.fakeroot_capable |
1481 |
portage_build_uid = os.getuid() |
1481 |
portage_build_uid = os.getuid() |
1482 |
portage_build_gid = os.getgid() |
1482 |
portage_build_gid = os.getgid() |
1483 |
if uid == 0 and portage_uid and portage_gid and hasattr(os, "setgroups"): |
1483 |
if uid == 0 and portage_uid and portage_gid and hasattr(os, "setgroups"): |
1484 |
- |
|
|