On Sun, Sep 6, 2009 at 9:16 AM, William Immendorf
<[email protected]>wrote:

> On Sun, Sep 6, 2009 at 10:16 AM, Smartboy<[email protected]> wrote:
> > I had been looking into that system, but it seems that it isn't as easy
> to
> > use, as there are several packages that break when trying it. As for how
> its
> > done, basically you are doing a fakeroot install of the program to a
> > different directory, and for this I take a look at Arch Linux PKGBUILDs
> to
> > see how they are packaged.
> OK, but how would you get Glibc, and the rest during the build process?
>
> William
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
Like I said in the examples, run something similar to
./configure
make
make install_root=/pkgs/${pkgname}/${pkgver} install
for glibc, or for other packages, use
./configure
make
make DESTDIR=/pkgs/${pkgname}/${pkgver} install
Make sure to load the package after you do that (using the scripts attached
to the hint). This means you need to install the unionfs userland tools to
the temporary toolchain.

On Sun, Sep 6, 2009 at 9:17 AM, William Immendorf
<[email protected]>wrote:

> On Sun, Sep 6, 2009 at 10:16 AM, Smartboy<[email protected]> wrote:
> > Also, the only way you can have this totally using unionfs/aufs is by
> using
> > a more complete initcpio image. It would need to include stuff like bash,
> > the config files, etc, all in it. Once the root is populated by the pkgs,
> > then it isn't needed anymore.
> And how do I do that?
>
> William
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
I don't know how that is done LFS-style, because I haven't been able to do a
complete install, but using an arch-style init (mkinitcpio) it would be by
including the files in the BINARIES and FILES variables.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to