Re: [PATCH f14-branch master] Reset labels on /var/cache/yum as well (#623434).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/pyanaconda/packages.py b/pyanaconda/packages.py
> index 7d88d06..1384d1c 100644
> --- a/pyanaconda/packages.py
> +++ b/pyanaconda/packages.py
> @@ -205,7 +205,7 @@ def setFileCons(anaconda):
>          vgs = ["/dev/%s" % vg.name for vg in anaconda.storage.vgs]
>  
>          # ugh, this is ugly
> -        for dir in ["/etc/sysconfig/network-scripts", "/var/lib/rpm", "/etc/lvm", "/dev/mapper", "/etc/iscsi", "/var/lib/iscsi", "/root", "/var/log", "/etc/modprobe.d", "/etc/sysconfig" ] + vgs:
> +        for dir in ["/etc/sysconfig/network-scripts", "/var/lib/rpm", "/etc/lvm", "/dev/mapper", "/etc/iscsi", "/var/lib/iscsi", "/root", "/var/log", "/etc/modprobe.d", "/etc/sysconfig", "/var/cache/yum" ] + vgs:
>              def addpath(x): return dir + "/" + x
>  
>              if not os.path.isdir(anaconda.rootPath + dir):

This version won't recurse down through whatever's in /var/cache/yum.
Hold on, reworking.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux