Compile Trisquel from Source
- Anmelden oder Registrieren um Kommentare zu schreiben
The Trisquel sources are available on the download page.
However, when I extract the image to a folder, inside I see just Ubuntu software packages, nothing more. I don't have the slightest clue as to how to recompile this once I'm done modifying it. Could I have some help?
> The Trisquel sources are available on the download page.
My understanding is that is only the source code to the contents of the ISOs, not for all of Trisquel. In addition to the wiki you may want to look into http://devel.trisquel.info/gitweb/ as well as how to use the package manager.
Do I need to "git clone" all of them in order to create a Trisquel-based distro?
No, the source DVD is not relevant to creating a sub-distro either. You
need to read these:
https://trisquel.info/en/wiki/how-trisquel-made
https://trisquel.info/en/wiki/package-helpers
And probably the contents of package maint-guide
However, I'd encourage you to spend some time helping out with
Trisquel for a bit to build your skills. You never know after some
time it might work out that Ruben (our BDFL) suggests you make a
Trisquel flavour of your own (like Trisquel Mini) rather than create
a derivative distro.
(edit) added either
I read both of them this morning, but I still don't get how to create a sub-distro.
I don't think that creating a Trisquel flavor will be good enough. What I want to do is continue the development of the Sabily distribution , but base it on a completely free distro. I would have simply deblobbed the current version, but according to an email I received from RMS (any GNU/Linux user knows who he is) the nonfree distros have fundamental problems which simply deblobbing won't fix.
OK, From What I Know / AFAICT you would create the same
infrastructure layout as Trisquel but use the Trisquel repos as your
upstream not the Ubuntu ones. Your package helpers would tailor
specific packages to give you your distro's branding, desktop etc.
Hack makeiso.git to build your own install disk using them.
If you're going to run a .deb distro you will need to read package
maint-guide.
My guess is the main problem RMS will have been thinking of is the
fact that ordinary distro repos are littered with packages which have
GNU FSDG compliance issues. Using a GNU FSDG distro as upstream
saves you most of that effort, although I think to retain GNU FSDG
status yourself you would have to accept compliance bugs.
Leny
However...
The essence of the above is that all you're doing is creating some
custom packages and building an install disk using them, the rest is
stock Trisquel. Ruben has said Trisquel will be getting community a
repos. So in principle you could create your custom packages and put
them in the community repos. Build your own install disk with the
community repos already enabled and have a Trisquel Remix. Then you
wouldn't need your own infrastructure. Of course you'd have to ask
Ruben about that. He's best contacted as quidam on #trisquel on
freenode.
You could also provide your own repos for your own custom stuff and use the trisquel repos for the rest of the code, like Linux Mint does with Ubuntu. However, again you'd have to ask Ruben because he'd have to cater for the extra bandwidth.
Leny
Probably a noob question, but what is an "upstream"?
It's a metaphor that describes the various distributions based on each other as parts of a river: Ubuntu is upstream from Trisquel because everything in Ubuntu "flows" into Trisquel, and Debian is upstream from Ubuntu because everything in Debian "flows" into Ubuntu. So Trisquel being your "upstream" just means your system is based on Trisquel.
Ah, that makes sense! Okay, thanks everyone, I've finally figured out how to make a subdistro!
If I cannot recompile Trisquel through the source ISO, then what is the source ISO for?
I have a computer running Trisquel which crashes and restarts on its own every few days or so. I think that recompiling Trisquel specifically for that system might solve the problem. What do you think?
First, the source ISO is there so you can study and change the source
for the programs on the install CDs as per Freedom 1. You can't
build the whole of Trisquel from it because that's tens of thousands
of packages which won't all fit on one DVD. You could build a
Trisquel install CD from the DVD. However, the Trisquel developer
git repos contain a better way of doing this if you have a decent
Internet connection.
Second, I seriously doubt recompiling Trisquel specifically for your
system is the right thing to do for your problem from your
description. You haven't given us any of the answers to the who,
what, why, where, when and how questions of software problem
diagnosis which would evidence that it was necessary. Have you done
the basic things like unplug all non-essential peripherals and
checked the logs for things like kernel oops if it happens after that?
I have no real reason to believe that recompiling would solve my problem. I just thought it was worth a shot.
The only non-essential peripheral it has is an external hard-drive.
I have never looked at a log before. Syslog looks interesting. I'll try working with that information.
"The only non-essential peripheral it has is an external hard-drive."
If it's a USB HDD turn it off when you're not using it. USB HDD
controllers sometimes lock up, e.g. after a couple of days, and some
MOBOs don't like misbehaving USB devices.
When I say non-essential I mean everything USB other than the
keyboard and mouse should only be switched on when it's needed.
Have you checked the memory of the computer? I believe the Trisquel CD/DVD can do that when you reboot off it.
- Anmelden oder Registrieren um Kommentare zu schreiben