LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-05-2006, 11:35 PM   #1
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / GoboLinux / LFS / VoidLinux
Posts: 145

Rep: Reputation: 26
Variation of LFS into /pkg


Hi,

I want to manage a system by installing into /pkg.

I figured with --prefix=/pkg this is trival.

I am currently using several ruby scripts which aid me.
With them I can pretty much build a traditional
system from scratch (not perfect because some things arent
working 100% but at least I can do control it from
commandline.)

Most of the time the problem is when a C program tries
to compile itself and checks for its requirements.

It sometimes says it is missing something.

I am using a folder called /links to keep symlinks into
/pkg.

Is there a way to make it easily known to a linux
system what I am doing?

So far it seems the design is very weak. I have to
add files to PATH, I have to add entries into
/etc/ld.so.conf, i have to specify additional
include files and set some environmental stuff.

For me I would like to have an easier way to tell my
system what I want to have, and where I collect it.

(Remember, the source files are compiled or moved
into /pkg, then symlinked automagically into /links.
So my question would be, what needs to be done
that my system is "aware" of what I, as user,
want?)

Once I know this, I think I can continue.

Right now I install into --prefix=/usr and hope
that everything is ok though apparently it sometimes
is not
 
  


Reply



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
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 05:03 AM
Starting from 0 - pkg by pkg Lopes Linux - Newbie 2 07-02-2005 01:42 AM
pkg-tools > 1.3.2 for LFS 5.1.1? t0mmyp Linux From Scratch 4 08-10-2004 09:11 AM
LFS 3.2 book, but LFS packages 3.0 CragStar Linux From Scratch 2 04-07-2002 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:46 PM.

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