Configuration problem
Ralph Stickley
[email protected]
Fri, 20 Oct 2000 13:46:02 -0700 (PDT)
Dean,
I was able to make this occur using the "check configuration dependancies"
feature. So the fix for this is in pwl_pkgconf (about line 643, where the
selected dependancy files are used to find the package they are contained in)
was:
grep "$depFn" $PKG_INDEX >> .dep.add
can be fixed with:
grep "$depFn" $PKG_INDEX | sed "s!packages\/!!g" >> .dep.add
A slight bug since PKG_INDEX contains the full path packages/xxx/fn
and package_add_delete function is expecting xxx/fn..
Hope this helps...
Later,
Ralph
(Adi - check this out, maybe find a better way to do this; should be a variable
instead of hardcoding the "packages" path in this file - all directories are
defined in pwl_functions...)
--- Dean Brown <[email protected]> wrote:
> I am having problems extracting a filesystem using the pwlconfig script.
> As can be seen in the following project.conf file the last six lines
> have an incorrect path.
>
> ./packages/Editors/vim-ncurses.list
> ./packages/Editors/vim.list
> ./packages/Kernel/kernel-basic-old.list
> ./packages/Kernel/modutils.list
> ./packages/Network/netkit-telnet.list
> ./packages/Network_Base/net-tools.list
> ./packages/Network_Base/netkit-base.list
> ./packages/Network_Base/networkscripts.list
> ./packages/Network_Clients/dhcpcd.list
> ./packages/Network_Serial/mgetty.list
> ./packages/Network_Serial/setserial.list
> ./packages/Shells/bash.list
> ./packages/System_Administration/procps-ncurses.list
> ./packages/System_Base/bdflush.list
> ./packages/System_Base/dev.list
> ./packages/System_Base/filesystem.list
> ./packages/System_Base/initscripts.list
> ./packages/System_Base/ldconfig.list
> ./packages/System_Base/lilo.list
> ./packages/System_Base/mingetty.list
> ./packages/System_Base/sysvinit.list
> ./packages/System_Base/util-linux.list
> ./packages/System_Daemons/sysklogd.list
> ./packages/System_Daemons/vixie-cron.list
> ./packages/System_Libraries/glibc.list
> ./packages/System_Libraries/libtermcap.list
> ./packages/System_Utilities/e2fsprogs.list
> ./packages/System_Utilities/fileutils.list
> ./packages/System_Utilities/gzip.list
> ./packages/System_Utilities/sh-utils.list
> ./packages/System_Utilities/tar.list
> ./packages/X/XFree86-100dpi-fonts.list
> ./packages/X/XFree86-75dpi-fonts.list
> ./packages/X/XFree86-FBDev.list
> ./packages/X/XFree86-SVGA.list
> ./packages/X/XFree86-VGA16.list
> ./packages/X/XFree86-libs.list
> ./packages/X/XFree86-stuff.list
> ./packages/X/XFree86-twm.list
> ./packages/X/XFree86-xdm.list
> ./packages/X/XFree86-xfs.list
> ./packages/X/XFree86.list
> ./packages/X/fvwm2-icons.list
> ./packages/X/fvwm2.list
> ./packages/X_Libraries/xpm.list
> ./packages/packages/System_Administration/procps.list
> ./packages/packages/System_Libraries/libstdc++.list
> ./packages/packages/System_Libraries/ncurses.list
> ./packages/packages/System_Utilities/fileutils.list
> ./packages/packages/System_Utilities/grep.list
> ./packages/packages/X/fvwm2-icons.list
>
> Ignoring the fact that I'm including way more than necessary for a
> minimal system, is there anything that may be causing this?
>
> --
> Dean
> ---------------------------------------------------
> See the list archives at http://adis.on.ca/archives/
> See the PWL homepage at http://peeweelinux.com
> ---------------------------------------------------
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/
---------------------------------------------------
See the list archives at http://adis.on.ca/archives/
See the PWL homepage at http://peeweelinux.com
---------------------------------------------------