Bug 141691 - app-portage/layman-1.0.5 - storage from layman.cfg is ignored
Bug#: 141691 Product:  Gentoo Linux Version: 2006.0 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P4
Resolution: FIXED Assigned To: wrobel@gentoo.org Reported By: vyegorov@gmail.com
Component: Applications
URL: 
Summary: app-portage/layman-1.0.5 - storage from layman.cfg is ignored
Keywords:  
Status Whiteboard: 
Opened: 2006-07-25 04:30 0000
Description:   Opened: 2006-07-25 04:30 0000
Hi.

Just installed layman (1.0.5) and wanted to change storage location (to
/usr/local/overlays). But seems like it is ignoring this option. I looked
through the sources and didn't found any place, where config file would have
been read and parsed.

Can this be fixed, please?


Here're my details:
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4,
2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms
strict"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo
http://trumpetti.atm.tut.fi/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aac acl acpi alsa apache2 avi berkdb bitmap-fonts bluetooth bzip2
cdr chroot cjk cli crypt cups curl dbus dlloader dri eds emboss encode esd evo
exif flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal hardened
imlib isdnlog jpeg kde ldap libg++ libwww mad maildir mikmod mmx mng motif
mozilla mp3 mpeg ncurses nptl nptlonly ogg oggvorbis opengl pam pcre pda pdflib
pic png posix postgres pppd python qt qt3 qt4 quicktime readline reflection
samba sdl session spell spl sse sse2 ssl tetex tiff truetype truetype-fonts
type1-fonts udev unicode usb vorbis wifi win32codecs xine xml xorg xpm xv zlib
elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux
userland_GNU video_cards_radeon video_cards_ati video_cards_fglrx
video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Gunnar Wrobel 2006-07-25 05:39:54 0000 -------
The config file gets read in lines 164-169 in config.py. But I introduced an
error in the default path to the config file. As a workaround you can use the
-c flag with layman or you wait until layman-1.0.6 hits your local mirror. I
just added it to cvs. Thanks for your report.