Re: building an LFS/BLFS system using porg

Roger Koehler <[email protected]>
Newsgroups gmane.linux.lfs.general
Message-ID <CAFmpHayPmY8iETCN1DCVPwr1KVfOpzU66ernRvX1tD+ZOjYPyA@mail.gmail.com>
On Tue, Oct 28, 2014 at 11:22 AM, Roger Koehler <[email protected]> wrote:
> On Tue, Oct 28, 2014 at 8:43 AM, Roger Koehler <[email protected]> wrote:
>> I am excited to try it!  My plan is to install it at the end of LFS chapter
>> 5 and then use it to install the entire system!  I may run into issues.
>
> Step 1:
>
> So, after installing xz, do this (as root):
>
> mkdir /mnt/lfs/var/log/porg
> ln -sv /mnt/lfs/var/log/porg /var/log/porg
> ./configure --prefix=/tools --disable-grop
> make
> make install

Step 2:

After creating all of the standard directories, links, and
configuration files, the first real installation is the Linux API
headers which amounts to a simple copy command:

porg -lp linux-api-headers-3.16.6 "cp -rv dest/include/* /usr/include"

To see all of the include files that were installed:

porg -f linux-api-headers-3.16.6

Works like a charm!

If you forget to perform a particular installation step, just use:

porg -lp+ <foobar-1.0> "<install command>"

and the additional installed files will be added to the porg log for
that package.  Peace of cake!  I love how simple this is!  I'll
continue through the book installing the system step by step and
report back if I run into any problems.  I'm very hopeful that it will
be smooth sailing from here.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.