Hi,

 

I have now got this script to work, and it works great ! I do have a few
questions though.

 

First of all I get a md5sum error on the lfs-bootscripts and tzdata2013c,
and the nss-3.14.3-standalone-1.patch has been moved. Those things I have
just corrected / ignored.

 

But then the script fails in the compilation of Lua. In file lua.sh, line
21: The script try to make a sed on ../../SOURCES/lua.pc -which can't be
found. If I change this line to ../../TOOLS_RPM/lua-5.2.2/lua.pc the script
finish compiling lua, apparently succesfull. but then during compilation of
RPM the script fails whith "can't find lua ."

 

I have temporary solved this by adding -without-lua to the configuration of
RPM. The funny thing was, that I had the same problem when I compiled RPM
first. No matter what I did, I could not compile it with lua. What is the
consequences of this (if any), and can you advise a solution ?

 

Aside from that, I love the script, instead of 2 - 3 days of work I can now
build a fresh system in just four hours, with virtually no work at the
computer, and on top of that I get RPM ! I am updating the kernel and the
book version now, I am also adding a script which can update the RPM
database by generating an installable RPM whith all the packages you have
compiled from source. And if you are not going to maintain your script on
github, I can make mine available for anyone who would like to try this.

 

Niels

--- Begin Message ---
On 03/03/2013 02:36 PM, DJ Lucas wrote:
> On 03/01/2013 08:15 PM, Baho Utot wrote:
>> FYI - For those that may be interested.....
>>
>> I have just finished my current project, building LFS using the RPM
>> package manager.
>> It builds the LFS tool chain from bash scripts, then RPM is build and
>> installed into /tools,
>> which I then use to build chapters 6-8 using RPM driven by some bash
>> scripts.
>>
>> The whole build is controlled by a single bash script, so that once the
>> environment is setup, running the control script will build LFS in one
>> go.  Set the root passwd and then reboot to the newly built system.
>>
>> I have uploaded it to github.
>> Here is the URL:
>> https://github.com/baho-utot/LFS-RPM
>>
>>
> Did you give up on Pacman?
>
> -- DJ
>
>
>

Yes, the LFS-pacman packeage management line is now a dead end.  If 
anyone wants to take it over be my guest.

i don't like where pacman 4 is going and it requires many more 
additional packages to make it function.
I am following the pacman devel on Arch for now and it seems a bit 
crazy.   I wanted a simple package management system and it looked like 
pacman would fit the bill.  I tried upgrading the version of pacman to 
the latest version in my "build system" built things got a bit too 
ugly.  I then looked for different packages managers and RPM seemed to 
be the best choice.  I was used the lastest rpm version from rpm.org ( 
there has just been a new release so I will need to grab that).
I like the srpm files as it captures all the files used to create the 
binary rpm package so you can recreate the binary package when ever you 
need to.
Using rpm is a requirment for "Linux Filesystem Hierarchy Standard" so I 
guess it makes me more compliant...Yipee






-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

--- End Message ---
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to