LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-07-2012, 09:24 PM   #1
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 453
Blog Entries: 3

Rep: Reputation: 40
building distros


hello,

i'm wondering what's the mechanism that large vendors such as novell,debian,ubuntu ..etc , use in order to compile their distros ?

i assume it's some automation of rpmbuild ...

cheers
 
Old 04-08-2012, 05:08 AM   #2
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,285

Rep: Reputation: 61
Most likely use scripts to build each of their packages, much like slackware does.
 
Old 04-08-2012, 05:55 AM   #3
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by fotoguy View Post
Most likely use scripts to build each of their packages, much like slackware does.
+1

DebianLive, and I assume the normal Debian although I may be wrong, uses scripts to build the system.
 
Old 04-08-2012, 11:13 AM   #4
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 453
Blog Entries: 3

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by k3lt01 View Post
+1

DebianLive, and I assume the normal Debian although I may be wrong, uses scripts to build the system.
okay , so you mean some ordinary bash scripts or something like Makefiles ?

Quote:
Most likely use scripts to build each of their packages, much like slackware does.
well i remember that slackware doesn't use rpm , so i guess you're talking about binary tarballs, right ?
 
Old 04-08-2012, 01:21 PM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Xubuntu
Posts: 5,108

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
You might find these interesting:
http://www.tldp.org/HOWTO/Debian-Bin...WTO/index.html
http://www.tldp.org/HOWTO/RPM-HOWTO/index.html
 
Old 04-08-2012, 04:15 PM   #6
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by entz View Post
okay , so you mean some ordinary bash scripts or something like Makefiles ?
I mean DebianLive. Google it and read up on it you will find it interesting.
 
Old 04-08-2012, 10:16 PM   #7
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,285

Rep: Reputation: 61
Quote:
Originally Posted by entz View Post
okay , so you mean some ordinary bash scripts or something like Makefiles ?


well i remember that slackware doesn't use rpm , so i guess you're talking about binary tarballs, right ?
Yeah they use bash scripts, sorry I should have been a bit more clear on that one. I think rpm's might be a binary tarball as well, just a different type, I can't be 100% on that though. Slackware have all the scripts used to build each package in the source directory on the disc or source directory where you download it from.

That way you can change a few things in each of the script to suit your requirements, and then do a complete rebuild of all the packages.

I did at one stage make a bash script to go and find all the scripts, change what I needed, then go through each directory and run the scripts to remake all the packages. If you want to make your own distro, this would be an easy way to do it.
 
Old 04-12-2012, 05:38 PM   #8
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 453
Blog Entries: 3

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by k3lt01 View Post
I mean DebianLive. Google it and read up on it you will find it interesting.
well it's a live distro , what a surprise...

i'm not quite sure how that is irrelevant , btw i've read some of its docs on the official website , which does mention commands for compiling it but it doesn't talk about the technology behind it ...

i'm not interested in any particular distro instead i'm interested in the methodology used to compile them.

Quote:
Slackware have all the scripts used to build each package in the source directory on the disc or source directory where you download it from.
good to know.

however i'd exempt slackware from the question above , since it's rather simplistic and uncomplicated from a development perspective.
i doubt though that large distros such as ubuntu , fedora, opensuse rely just on simple scripts to compile thousands of packages.

now i'm aware that large distros unlike slackware are package managed through things like rpm.
although rpm is great for single packages , it isn't enough for packaging distros.

so a clearer question would be : what rpm(or whatever package management system is used) supplement is needed in order to build and package the large mainstream distros ?

cheers

Last edited by entz; 04-12-2012 at 05:49 PM.
 
Old 04-13-2012, 11:57 AM   #9
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
You could also have a look here for the openSUSE build service. I don't know what SLES/SLED do, but I'd bet that it is a variant of that.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Which Linux/Linux distros may the best for building a reliable and secure server rajiv yadav Linux - Server 4 01-18-2011 08:41 AM
[SOLVED] Which Linux distros can be used for building Single-Tier Client/Server system ?? rajiv yadav Ubuntu 1 01-18-2011 08:16 AM
Questions about viruses, compiling, customizing/building distros, etc. timswim78 Linux - Newbie 4 03-03-2005 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration