Re: Building same package twice and package forking
Benjamin Schieder <[email protected]> Sun, 12 Nov 2006 15:28:42 +0100
| Newsgroups | gmane.linux.distributions.rock.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============0977984794==
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="gatW/ieO32f1wygP"
Content-Disposition: inline
--gatW/ieO32f1wygP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 12.11.2006 15:24:55, Luca wrote:
> Hi all!
>=20
> I'm trying with forking taking look to bash and linux, so I tried just
> to test these modifications for the lfs target:
>=20
> In gcc package directory I created a:
> -) preconfig.in
> if [ $SDECFG_TARGET =3D 'lfs' ] ; then
SDECFG? Are you sure you're using ROCK Linux?
> if pkgcheck gcc X
At least in ROCK, gcc is not a package on its own, so this check will alsays
be false.
> 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=3Dgcc ;;
> esac
>=20
> 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".
btw, checking for a target in preconfig.in probably won't work.
Bette idea would be to always fork the gcc-pass[12] packages, disable them
per default, and then enable them in the targets *.in files.
Greetings,
Benjamin
--=20
Go away, or I will replace you with a very small shellscript!
http://shellscripts.org/
--gatW/ieO32f1wygP
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFFVy+ZAsME5O4xgqgRAomdAKDh3s7kyN1akoF1UDrhbdPdv/+YXgCfR4Qp
dfdfs3Gsch1nxLrhEzL7EZk=
=rapR
-----END PGP SIGNATURE-----
--gatW/ieO32f1wygP--
--===============0977984794==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
rock-devel mailing list
[email protected]
http://www.rocklinux.net/mailman/listinfo/rock-devel
--===============0977984794==--