Re: Building same package twice and package forking
Luca <[email protected]> Sun, 12 Nov 2006 15:24:55 +0100
| Newsgroups | gmane.linux.distributions.rock.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all!
I'm trying with forking taking look to bash and linux, so I tried just
to test these modifications for the lfs target:
In gcc package directory I created a:
-) preconfig.in
if [ $SDECFG_TARGET = 'lfs' ] ; then
if pkgcheck gcc X
then
pkgfork gcc gcc-pass1 stages -X---5---9 priority 115.000
pkgfork gcc gcc-pass2 stages -X---5---9 priority 115.000
pkgenable gcc-pass1
pkgenable gcc-pass2
#pkgremove gcc
fi
fi
(tried also with pkgcheck X instead of pkgenable and tried adding status
X before stages)
-) pkgmapper.in
case "$pkg" in
gcc[-pass{1,2}]
pkg=gcc ;;
esac
and in the list of packages selected appear gcc, gcc-pass1 and gcc-pass2
but it's marked with the "X" only gcc while the two forks are marked
with "O".
Where is my errors and how to solve them?
Thanks in advance,
Luca