Recompile OpenSUSE

Does anyone know how to completely recompile the full OpenSUSE distro? I like Gentoo, but prefer Suse. Is there a way to combine the two by recompiling an distro with my own compile options and rebuild the distro completely? Is there a wiki/tutorial on this or a project that will do it? Thanks!

What you want is SUSE Studio which will allow you to build a distro just like you want. I can’t be sure you could “combine distro’s”, but it is the only method to build your own openSUSE version. It is free, but like lots of things, you will need to work with it to learn just how it works. It would not be considered so easy that a Linux newbie could do it, but then, you never know.

Welcome – SUSE Studio

Thank You,

Thank you for the info on SUSE Studio. I am aware of it and have usee it before. It seems to build well and quickly, but I am more interested in how to build it myself on my local machine given the rpm sources. This is more for educational purposes so I don’t want to use SUSE Studio. Thank you again.

To put it simply, No. You can customize with SUSE Studio but thats about it. openSUSE uses binary rpms so you can’t recompile from them, secondly recompiling a whole distro like openSUSE including KDE etc would taking you forever on anything but a behemoth of workstation. If you really want to recompile everything then you best just stick to gentoo or LFS.

If you are a masochist and insit on it and want openSUSE as your base then the sources are available on OBS but without using build scripts etc this is just too big a task for a single person. If you use the build scripts then you might as well just use the binary distrobution.

Are build scripts available? Or is that kept hidden from the public? My question is really this: can we take the build scripts, modify them, and then rebuild the distro? Thanks!

On 2012-10-11 15:56, me3064 wrote:

> If you are a masochist and insit on it and want openSUSE as your base
> then the sources are available on OBS but without using build scripts
> etc this is just too big a task for a single person. If you use the
> build scripts then you might as well just use the binary distrobution.

You can build the entire distro using OBS, at least in theory.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Am 11.10.2012 16:26, schrieb tetmo113:
>
> Are build scripts available? Or is that kept hidden from the public?
> My question is really this: can we take the build scripts, modify them,
> and then rebuild the distro? Thanks!
>
>
That build scripts are the spec files in the src rpms (which contain the
source) and are of course public and the whole OBS itself is GPL and
available itself in source. You can setup your own local OBS by
installing the packages for it.


PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.5 | GeForce GT 420
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.9.2 | HD 3000
eCAFE 800: oS 11.4 i586 | AMD Geode LX 800@500MHz | 512MB | lamp server

On 10/11/2012 02:46 PM, tetmo113 wrote:
> Is there a wiki/tutorial on this or a project that will do
> it?

i don’t know of a how-to or guide inside the opensuse.org universe (i
googled and didn’t find on–which is NOT to say none exists) but, all of
the source code is available, so i guess you just need to download the
sources and get busy!!

but, i’ve never done the gentoo thing, so i have no idea exactly how or
in which order to ‘get busy’…maybe you (having done so in the past)
could take a modern gentoo how-to and follow/edit it to success…and,
when you have a proven product, just slide it into the wiki’s SDBs
<http://en.opensuse.org/Portal:Support_database> or our forums how-tos
<http://tinyurl.com/5v6ssca>

WAIT!!! look at this:
http://en.opensuse.org/SDB:Making_an_openSUSE_based_distribution
but, i can’t actually tell if it is useful, or not…i see the last
version referenced in the instructions is 11.3 (which has been
unsupported for about a year) and little effort has gone to the page
since then, so . . .


dd http://tinyurl.com/DD-Caveat

Am 11.10.2012 16:30, schrieb Martin Helm:
> You can setup your own local OBS by installing the packages for it.
>
http://doc.opensuse.org/products/draft/OBS/obs-best-practices_draft/
Chapter 4

for an introduction to rpm spec files I have no good link at hand but
google should help.


PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.5 | GeForce GT 420
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.9.2 | HD 3000
eCAFE 800: oS 11.4 i586 | AMD Geode LX 800@500MHz | 512MB | lamp server

Hi
If you do a quick build on SUSE Studio of say a JeOS image, then check
the list of installed rpm’s as a basis. Then setup your own OBS
instance, grab the src rpms, modify as requied and build away. You can
also use OBS to build kiwi images…


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.6-2.10-desktop
up 1 day 3:17, 3 users, load average: 0.08, 0.04, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU