LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-11-2005, 08:39 PM   #1
siggiae
LQ Newbie
 
Registered: Apr 2005
Posts: 10

Rep: Reputation: 0
Making my own distro with my friends?


Hello, I'm quite new in the linux world. Used fedora for about 4 months and slackware last 6-7 months. I was thinking of making my own linux from scratch... most of all for the learning experience. I have few questions before I begin.
1. Is it possable to "install/import" package manager, and build(like Checkinstall) packages for the system?(a simple one like the pkg system in Slackware and )
2. Is some easy way to share the "distro :-)" with my friends?
3. Do you recommend to use Stable(outdated?) lfs or just the developing version?

Greetings
Siggiae
 
Old 06-11-2005, 08:54 PM   #2
Gay R0b0t
Member
 
Registered: May 2004
Location: Sydney, Australia
Distribution: SUSE 9.3
Posts: 127

Rep: Reputation: 15
use stable. in my opinion it would be easiest to simply modify Debian, and tailor it to your own purposes. that way you already have apt and the vast infrastructure of debian in place.
 
Old 06-11-2005, 08:55 PM   #3
Gay R0b0t
Member
 
Registered: May 2004
Location: Sydney, Australia
Distribution: SUSE 9.3
Posts: 127

Rep: Reputation: 15
forgot to add, another reason to use debian (or an existing distro) as a base is the presence of an installer, that you can they slightly modify. this will save you oodles of work.
 
Old 06-12-2005, 01:48 AM   #4
Harmaa Kettu
Member
 
Registered: Apr 2005
Location: Finland
Posts: 196

Rep: Reputation: 30
1. I use pkgutils from CRUX Linux.
  • It is designed for a source based distro, so it's very simple to use in such system.
  • The packages are normal tarballs, so they can be installed without the package manager if necessary. The system survives accidents like "rm -rf /usr" without rescue cd.
  • It doesn't have extra dependencies (wget is needed to fetch the source tarballs, but you probably need it anyway). Most other package management systems require big things like BerkeleyDB.
  • Updating packages is usually very easy: change the version number in the Pkgfile and run "pkgmk -d -u".
  • Command "pkginfo -o file" displays the owner package of the file. If a file is in wrong place or has wrong permissions, I can easily find which package put it there and fix the package. Other package managers typically don't have this feature at all or it requires a kilometer long command line.
  • The build program (pkgmk) is a shell script, so it's easy to add your own extensions to it.

2. Make a live-cd (the makefile here is a good starting point). Write an installation script and put it and the package tarballs on the cd. For updates I think setting up a cvs repository is the best way, especially if you want your friends to maintain some of the packages.

3. I think it's best to use latest stable releases of all packages, but note that gcc 4.0.0 is not a stable release. Having always up-to-date system is one of the big advantages of LFS.
 
  


Reply


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
Making a Distro with LFS rmckayfleming Linux From Scratch 7 10-30-2005 02:59 AM
making own distro ankscorek VectorLinux 2 09-06-2005 07:25 AM
A question regarding making ur own distro tuxfood Linux - General 1 12-02-2004 01:48 PM
making my own distro?!! ahmed_alzahrani Linux - Distributions 1 08-27-2004 01:28 PM
a thanks, and about making my own distro mr0w1 Linux - Software 4 01-21-2004 12:35 PM

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

All times are GMT -5. The time now is 04:01 AM.

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