SliTaz SliTaz Forum

You are not logged in.

#1 2017-03-27 16:02:42

Hawksed
Member
Registered: 2017-03-27
Posts: 3

Is it possible to cross-distribute your distribution?

I found a link to the sources of the distribution http://download.tuxfamily.org/slitaz//sources/. But nowhere did I find a way to cross-compile the distribution, then pack it into iso9660 and boot. I want to make my own modification, why is there no such possibility?

Offline

#2 2017-03-27 16:03:47

Hawksed
Member
Registered: 2017-03-27
Posts: 3

Re: Is it possible to cross-distribute your distribution?

Crosscompilation. I was wrong in the title!

Offline

#3 2017-03-28 23:34:57

fredyfred
Member
Registered: 2016-11-30
Posts: 73

Re: Is it possible to cross-distribute your distribution?

Hi Hawksed - Im just a beginner re slitaz..and am not sure what you mean by 'cross-compile'. But if you just mean modify Slitaz by adding more packages then make a new iso file - then Slitaz is made to do exactly that.

May I suggest you take a look at:

http://hg.slitaz.org/tazlito/raw-file/tip/doc/tazlito.en.html

(Im still learning about this…and have yet to get it to work..mainly due to my inabilities. But it will give some idea of the versatility of Slitaz.)

Offline

#4 2017-03-28 23:53:20

fredyfred
Member
Registered: 2016-11-30
Posts: 73

Re: Is it possible to cross-distribute your distribution?

though if you are looking at cross compiling Slitaz to run on a different platform, Hawksed - I haven't come across any documentation on that. I expect that being a small team of developers they dont have much spare time for that sort of thing.

I too have an interest in that though…be fun (and a challenge) to get Slitaz working on a G4 iBook that I have. May explore this using T2 or Finn linux systems which can run on a G4 PPC.

Offline

#5 2017-03-29 15:53:54

Hawksed
Member
Registered: 2017-03-27
Posts: 3

Re: Is it possible to cross-distribute your distribution?

>May I suggest you take a look at:

>http://hg.slitaz.org/tazlito/raw-file/tip/doc/tazlito.en.html

Perhaps this is just what I need. Now I'm going to check.

>I too have an interest in that though…be fun (and a challenge) to get Slitaz working on a G4 iBook

>that I have. May explore this using T2 or Finn linux systems which can run on a G4 PPC.

I would like to run on android with support for an arm. If you port it will just start.

Offline

#6 2017-03-29 20:28:21

pankso
Administrator
Registered: 2026-06-27
Posts: 341
Website

Re: Is it possible to cross-distribute your distribution?

Hi,

Maybe try a search engine :-) https://www.google.ch/search?q=slitaz+custom+livecd&ie=utf-8&oe=utf-8&client=firefox-b&gfe_rd=cr&ei=dRbcWMjZJIOm8wez667YDg

Here the full documentation: http://doc.slitaz.org/en:handbook:genlivecd

To create your own SliTaz ISO flavor in a few step:

$ su

# mkdir /home/slitaz/5.0

# cd /home/slitaz/5.0

# tazlito get-flavor core

This will give all needed files in /home/slitaz/5.0. The list of packages to include in the distro, the additonnal files you want to include in the ISO, etc. Open a file manager to checj the files, the receipt holds the name of your custom distro. When ready, you can build the iso

# tazlito gen-distro

If you are search to cross compile SliTaz for ARM platform: here is the doc with all our tools. But this process is more complex and need more knowledge. That said SliTaz is already ported to ARM and a new ARM maintainer would be very welcome, since I dont have time to update it actually. Here is the doc for cross (part of cookutils) and some note about cross compiling:

http://arm.slitaz.org/

http://arm.slitaz.org/tools.cgi?doc&tool=cross

http://doc.slitaz.org/en:cookbook:cross

PS: second option - I use a chroot to build ISO's so my main system is protected if I mess about, for that you need tazdev from our repo. Build a chroot and then use cookiso (more automated than tazlito)

# tazdev gen-chroot

# tazdev -c

# cookiso setup

# cookiso gen --flavors=core

All used files are in the chroot --> /home/slitaz

- Christophe

Offline

#7 2017-04-17 08:46:06

fredyfred
Member
Registered: 2016-11-30
Posts: 73

Re: Is it possible to cross-distribute your distribution?

Ta pankso..but when I type 'get-flavor core'

I get an error (failed) in updating core.desc re unknown bpackages:

root@Tower:/home/slitaz/5.0# tazlito get-flavor core

Preparing core distro flavor

================================================================================

Connecting to mirror.switch.ch (130.59.113.36:80)

core.flavor          100% |*******************************|  4160   0:00:00 ETA

Cleaning /home/slitaz/5.0/distro...                                   [ Done ]

Strip versions from list core.pkglist...                              [ Done ]

Updating core.desc...                                                 [ Failed ]

Unknown packages:

  slitaz-tools-boxes

Extracting flavor core.flavor...                                      [ Done ]

Updating tazlito.conf...                                              [ Done ]

================================================================================

Flavor is ready to be generated by [c]tazlito gen-distro[/c]

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]