Line
Link Here
|
0 |
-- a/layman/config.py |
0 |
++ b/layman/config.py |
Lines 90-98
class BareConfig(object):
Link Here
|
90 |
self.root = root |
90 |
self.root = root |
91 |
|
91 |
|
92 |
self._defaults = { |
92 |
self._defaults = { |
93 |
'configdir': path([self.root, EPREFIX,'/etc/layman']), |
93 |
'configdir': path([EPREFIX,'/etc/layman']), |
94 |
'config' : '%(configdir)s/layman.cfg', |
94 |
'config' : '%(configdir)s/layman.cfg', |
95 |
'storage' : path([self.root, EPREFIX,'/var/lib/layman']), |
95 |
'storage' : path([EPREFIX,'/var/lib/layman']), |
96 |
'cache' : '%(storage)s/cache', |
96 |
'cache' : '%(storage)s/cache', |
97 |
'local_list': '%(storage)s/overlays.xml', |
97 |
'local_list': '%(storage)s/overlays.xml', |
98 |
'installed': '%(storage)s/installed.xml', |
98 |
'installed': '%(storage)s/installed.xml', |
Lines 104-110
class BareConfig(object):
Link Here
|
104 |
'require_repoconfig': 'Yes', |
104 |
'require_repoconfig': 'Yes', |
105 |
'clean_archive': 'yes', |
105 |
'clean_archive': 'yes', |
106 |
'make_conf' : '%(storage)s/make.conf', |
106 |
'make_conf' : '%(storage)s/make.conf', |
107 |
'repos_conf': path([self.root, EPREFIX,'/etc/portage/repos.conf/layman.conf']), |
107 |
'repos_conf': path([EPREFIX,'/etc/portage/repos.conf/layman.conf']), |
108 |
'conf_module': ['make_conf', 'repos_conf'], |
108 |
'conf_module': ['make_conf', 'repos_conf'], |
109 |
'nocheck' : 'yes', |
109 |
'nocheck' : 'yes', |
110 |
'http_proxy' : '', |
110 |
'http_proxy' : '', |
Lines 118-135
class BareConfig(object):
Link Here
|
118 |
'overlays' : |
118 |
'overlays' : |
119 |
'https://api.gentoo.org/overlays/repositories.xml', |
119 |
'https://api.gentoo.org/overlays/repositories.xml', |
120 |
'overlay_defs': '%(configdir)s/overlays', |
120 |
'overlay_defs': '%(configdir)s/overlays', |
121 |
'bzr_command': path([self.root, EPREFIX,'/usr/bin/bzr']), |
121 |
'bzr_command': path([EPREFIX,'/usr/bin/bzr']), |
122 |
'cvs_command': path([self.root, EPREFIX,'/usr/bin/cvs']), |
122 |
'cvs_command': path([EPREFIX,'/usr/bin/cvs']), |
123 |
'darcs_command': path([self.root, EPREFIX,'/usr/bin/darcs']), |
123 |
'darcs_command': path([EPREFIX,'/usr/bin/darcs']), |
124 |
'git_command': path([self.root, EPREFIX,'/usr/bin/git']), |
124 |
'git_command': path([EPREFIX,'/usr/bin/git']), |
125 |
'g-common_command': path([self.root, EPREFIX,'/usr/bin/g-common']), |
125 |
'g-common_command': path([EPREFIX,'/usr/bin/g-common']), |
126 |
'g-sorcery_command': path([self.root, EPREFIX,'/usr/bin/g-sorcery']), |
126 |
'g-sorcery_command': path([EPREFIX,'/usr/bin/g-sorcery']), |
127 |
'mercurial_command': path([self.root, EPREFIX,'/usr/bin/hg']), |
127 |
'mercurial_command': path([EPREFIX,'/usr/bin/hg']), |
128 |
# left blank due to squashfs only needing to mount the image. |
128 |
# left blank due to squashfs only needing to mount the image. |
129 |
'squashfs_command': '', |
129 |
'squashfs_command': '', |
130 |
'rsync_command': path([self.root, EPREFIX,'/usr/bin/rsync']), |
130 |
'rsync_command': path([EPREFIX,'/usr/bin/rsync']), |
131 |
'svn_command': path([self.root, EPREFIX,'/usr/bin/svn']), |
131 |
'svn_command': path([EPREFIX,'/usr/bin/svn']), |
132 |
'tar_command': path([self.root, EPREFIX,'/bin/tar']), |
132 |
'tar_command': path([EPREFIX,'/bin/tar']), |
133 |
't/f_options': ['check_official', 'clean_archive', 'nocheck', 'require_repoconfig'], |
133 |
't/f_options': ['check_official', 'clean_archive', 'nocheck', 'require_repoconfig'], |
134 |
'bzr_addopts' : '', |
134 |
'bzr_addopts' : '', |
135 |
'bzr_syncopts' : '', |
135 |
'bzr_syncopts' : '', |