How to build a ISO DVD of Linux Fedora from source code?
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
First, I couldnot find the tree Folders of whole Fedora as a Linux kernel, which include all packages.
Second, What is the tool to recompile Fedora in a few commands as kernel(./configure, make, make install), or without it and we have to compile Fedora packages one by one?
Spin has some functions, but it does not look like the direct answer of my question.
Second, What is the tool to recompile Fedora in a few commands as kernel(./configure, make, make install), or without it and we have to compile Fedora packages one by one?
you do not .
Building a OS is far more complicated than a few commands
go to the bookstore and buy the current "Linux From Scratch "
there are whole books on building a OS
but i think ( a guess only) your second question is referring to "rpmbuild"
you use rpmbuild to build the src rpms for the respin
You don't MAKE an official Fedora distro. You install it from what they've already made. You can, as pointed out, create a custom spin that had all the same packages, but it won't be the OFFICIAL distro. And the first reply gave you links to how to do that.
You don't MAKE an official Fedora distro. You install it from what they've already made.
Custom spin(and/or with recompiled packages) is not official Fedora distro, so I asked whether the Fedora developers use ONLY the same tools to MAKE(which means to compile)official Fedora distro.
Spin is not a compiling tool, rpmbuild is one. Do the Fedora developers use other compiling tools?
Linux is not a lump of harddisk filling, it's a collection of interacting pieces of software.
You did'nt really mention what you want to do. Build a MyFedora? If do, make a Spin, as John VV pointed out.
If you want to make a MyLinux type of distro, then Linux from Scratch is the way to go.
Linux is not the result of a "generator" in that you enter some parameters and out comes the CD image. In escence, Linux is a set of software-Lego bricks someone assembled for you. Of course, it is possible to assemble your own bricks...
In very brief: learn to build software on Linux. The steps are simple (example):
- download something
After all the software (there is a lot more to be installed) is installed, you'll have a working Linux system.
Tweaking a distro (taking care about copyrights) can be as simple as unpacking the ISO and replacing stuff...it CAN be, but rarely is...simple.
May I know your level of proficiency in building software? That way, we can point you to the best starting block for the race...one that we all want you to win
Thor
Last edited by ButterflyMelissa; 09-21-2011 at 12:41 PM.
You did'nt really mention what you want to do. Thor
Compile:
I want to modified and compile the Fedora source code.
SPIN is for distro. No one directly answered my question of the compiling tools.
As my understood now, RPMbuild is the ONLY tool to compile the packages, which is the ONLY tool can be used by either the official fedora developers or users as me.
Quote:
Originally Posted by Thor_2.0
May I know your level of proficiency in building software?
I was not a professional linux developer even though I did some coding in Linux. I focus on architecture design.
I want to read Fedora source code. Could anyone introduce me a source code browser as LXR whcih can access all files of Linux kernel or Fedora?
No one directly answered my question of the compiling tools.
Yes we did. You download the sourcecode, and if needed modify that. It takes some tenacity...and quite some experience in programming in C....but it can be done. Coders all over the world do it.
As for the code (it took me a few minutes of searching...) I think this list could be a starter...
Quote:
As my understood now, RPMbuild is the ONLY tool to compile the packages, which is the ONLY tool can be used by either the official fedora developers or users as me.
Yes it is. The workflow could be something like this: download the desired source code, and modify it. Then compile (the usual steps) and turn it into an installable package: an RPM. Then, you can distribute this as a package. You could modify the entire thing this way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.