Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 06-14-2005, 09:33 AM   #1
LQ Newbie
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
Question about ALFS

After getting halfway through LFS, I feel it would be much more convenient if I could automate the process. Unfortunately there isn't much documentation on ALFS, so I don't know how to get it work right. Could someone give me a good place to read, or some pointers?

Another thing I was thinking about: if I sat down I probably could write a big bash script for my own computer. That would take perhaps 2 hours? If I can't get ALFS to work, should I write a PERL script instead? Cos in bash I don't think I could chroot or su, could I?
Old 06-14-2005, 02:40 PM   #2
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
You can chroot and su in bash. Those two commands even allow for other commands to be run.

su - root -c COMMAND

So in reality, you could set up LFS with several bash scripts.
Although the problem is with su you may have a password prompt (although if there's no password set, there's no problem).
Old 06-14-2005, 05:47 PM   #3
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
Most of the documentation for ALFS is in the alfs profiles rather than in the alfs package itself, in particular the config directory within the profile. The config directory contains xml files which you can edit to suit your setup. there is also a shell script called 'runit' included which launches the build for you.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
aLFS-6.1 glibc failing 'make check' in step-6 sundialsvcs Linux From Scratch 3 09-26-2005 05:26 AM
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 05:23 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 02:51 PM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 03:02 PM
aLFS installation troubles cuco76 Linux From Scratch 3 05-29-2004 12:20 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration