diff options
author | Devan Franchini <twitch153@gentoo.org> | 2014-08-16 21:31:16 -0400 |
---|---|---|
committer | Devan Franchini <twitch153@gentoo.org> | 2014-08-16 21:31:16 -0400 |
commit | 70ae729d89ea25a2c6b8e0769368450317c30d1f (patch) | |
tree | c71f48da21c2760915dc79c7a6f7b009601ad75e | |
parent | Moves archive.py to overlays (diff) | |
download | layman-70ae729d89ea25a2c6b8e0769368450317c30d1f.tar.gz layman-70ae729d89ea25a2c6b8e0769368450317c30d1f.tar.bz2 layman-70ae729d89ea25a2c6b8e0769368450317c30d1f.zip |
config.py: Blanks out squashfs_command
Due to squashfs not needing to run a command aside from mount and
umount (which are handled by the Mounter() class), the config
option was set to a blank value.
layman.cfg: Reflects change to squashfs_command option with
explanation to user.
config.py: Also removes clean_tar from the true false check in favor
of the clean_archive config option.
-rw-r--r-- | etc/layman.cfg | 4 | ||||
-rw-r--r-- | layman/config.py | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/etc/layman.cfg b/etc/layman.cfg index efd990c..4e9aad9 100644 --- a/etc/layman.cfg +++ b/etc/layman.cfg @@ -198,9 +198,11 @@ news_reporter: portage #git_command : /usr/bin/git #mercurial_command : /usr/bin/hg #rsync_command : /usr/bin/rsync +#left intentionally blank since squashfs only needs to +#mount the squashfs image. +#squashfs-command : #svn_command : /usr/bin/svn #tar_command : /bin/tar -#g-common_command : /usr/bin/g-common #g-sorcery_command : /usr/bin/g-sorcery diff --git a/layman/config.py b/layman/config.py index adfd2de..4fbff5d 100644 --- a/layman/config.py +++ b/layman/config.py @@ -123,11 +123,12 @@ class BareConfig(object): 'g-common_command': path([self.root, EPREFIX,'/usr/bin/g-common']), 'g-sorcery_command': path([self.root, EPREFIX,'/usr/bin/g-sorcery']), 'mercurial_command': path([self.root, EPREFIX,'/usr/bin/hg']), - 'squashfs_command': path([self.root, EPREFIX,'/usr/bin/unsquashfs']), + # left blank due to squashfs only needing to mount the image. + 'squashfs_command': '', 'rsync_command': path([self.root, EPREFIX,'/usr/bin/rsync']), 'svn_command': path([self.root, EPREFIX,'/usr/bin/svn']), 'tar_command': path([self.root, EPREFIX,'/bin/tar']), - 't/f_options': ['check_official', 'clean_tar', 'nocheck', 'require_repoconfig'], + 't/f_options': ['check_official', 'clean_archive', 'nocheck', 'require_repoconfig'], 'bzr_addopts' : '', 'bzr_syncopts' : '', 'cvs_addopts' : '', |