Building same package twice and package forking
Luca <[email protected]> Sun, 12 Nov 2006 07:29:29 +0100
| Newsgroups | gmane.linux.distributions.rock.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all! I'm creating LinuxFromScratch (http://www.linuxfromscratch.org) and its projects (BeyondLinuxFromScratch, HardenedLinuxFromScratch, Cross-LinuxFromScratch and BeyondCross-LinuxFromScratch) targets but I'm having some problems in installing some packages. Under the documentation I found the How_To_Install_the_same_package_twice and the Package_Forking but I haven't managed to make it works. For the install the same package twice the examples are given using mine and Build-Package. In LFS we use to build same packages twice (example in stage0 and stage1 we use a Binutils-Pass 1, Gcc-Pass1, then some other packages, an Adjusting the Toolchain phase and after some packages we have a Gcc-Pass2 and Binutils-Pass2 and then the rest of packages). My question is: can the package forking be used in conjunction with Build-Target script to let the automated-system-build take care of the these double-passes (I meant, but I think it's understood, I need to have these packages to build twice under the same stage but with two different priorities); Now then the question about package forking: I read in the Package_Forking about the Conditional .desc files and took a look at the Desc_file_syntax. The examples show the conditions for the use with $xpkg; so I would like to know if it's possible to use conditions with the $target (example: one target has a x.x.0 version of a package, while another target has the x.x.1 version of the same package) ? Thanks in advance, Yours, Luca