Can puppy be build in another distro?

A home for all kinds of Puppy related projects
Post Reply
Message
Author
User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Can puppy be build in another distro?

#1 Post by mavrothal »

I'm trying to built a puppy derivative for the OLPC XO-1 laptop (see here http://www.murga-linux.com/puppy/viewto ... 2&start=30 )
However, the XO-1 is using a heavily modified kernel to the point that will not boot a normal Intel PC! Puppy on the other hand will not boot the XO-1 (tried from 412 to 4.3b3).
I tried to build a a puppy using a patched olpc kernel (that booted the XO) but since I could not boot the development machine I could not build a pupplet.
So I was thinking to go the other way. Build the pupplet on the OLPC XO-1 (using Fedora, Debian or Ubuntu that have been tweaked to work with the XO kernel). Is it possible? Are any of the puppy unleashed script going to work? If yes how? please advice before I start banging my head on the wall again.

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#2 Post by amigo »

Start banging... There is no reliable way to rebuild puppy from source -you want even find all the sources for any particular version. The only way to go about it is to decide which programs and features you want to 'port' and start doing them manually. If you have any sense at all, you'll make sure *your* work can be rebuilt reliably by doing ecverything from source, with well-scripted routines to do everything and *lots* of notes...

User avatar
Colonel Schell
Posts: 50
Joined: Mon 06 Jul 2009, 22:11
Location: Columbus, Ohio

#3 Post by Colonel Schell »

How did big_bass create Slaxer_pup? :shock:

He says he built it on a Slackware kernel. Hmmm....

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#4 Post by mavrothal »

Colonel Schell wrote:How did big_bass create Slaxer_pup? :shock:

He says he built it on a Slackware kernel. Hmmm....
How did he?...
To rebuild the puppy kernel or build one from a different distro is not a problem. To build a pupplet from a puppy with different kernel is not a problem either. The problem is when your kernel will not boot the development machine or when you can not run any puppy on the development machine that runs this kernel.
I guess what I do not know is the following. You load eg XO-Ubundu-olpc-kernel with squashsf support. You get and untar puppy unseashed. You get and loop-mount in /mnt pup_421.sfs and devx_421.sfs. Are the unleashed scripts going to work?

User avatar
moogsydodong
Posts: 81
Joined: Mon 16 Mar 2009, 10:35
Location: Tagum City, Davao del Norte, Mindanao, Philippines

#5 Post by moogsydodong »

ei mavrothal...

as if I remember it correctly...bigbass created slaxerpup using slackware kernel then added the packages and scripts that are present in the actual puppy...he then followed the init script format that is being used by puppy...
as he always say its a puppy body with a slackware heart

you can ask him about slaxerpup here:
http://murga-linux.com/puppy/viewtopic.php?t=41298
...SHUT UP AND LISTEN!!!...In a battle there is only ONE COMMANDER!!!

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#6 Post by amigo »

big_bass has done a lot of head banging in order to create a package-based distro -that means that he creates packages of all software he adds.

As said before, the kernel *is* the OS and all the programs that are used are the distro. The two are quite independent of each other. To get certain programs working together depends on the selection and version of the *libraries* which are used -no matter what kernel you use/choose.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#7 Post by mavrothal »

So let me put it in terms that I can understand :)
- You pick a machine that runs a distro OTHER than puppy.
- Rebuild its kernel to your (and Puppy's) requirements
- Build on that machine Puppy linux using source packages and NONE of puppy's building tools (but have them as guide).
- Test, debug, distribute.
Is that the way?

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#8 Post by ttuuxxx »

mavrothal wrote:So let me put it in terms that I can understand :)
- You pick a machine that runs a distro OTHER than puppy.
- Rebuild its kernel to your (and Puppy's) requirements
- Build on that machine Puppy linux using source packages and NONE of puppy's building tools (but have them as guide).
- Test, debug, distribute.
Is that the way?
Ok the best way to do it is download a compatible "Puppy unleashed" that will have all the "extra" puppy scripts and use the scripts in what ever "other" distro your using, puppy uses tons of extra scripts, more and more lately and if your ever going to get it to work, it would be best to have them. basically download woof or unleashed and build it.

What I never get is that companies like OLPC XO-1 laptops, They have a great product, but they tend to be a bit tight with their budget, Acer and Asus also. Really if they gave out like 5-10 of them to the top puppy developers/packages they would instantly probably have a working a OS, tons of customized scripts/applications etc. What would it cost? almost nothing, what would they get in return 1000's of free hours of labor. I spend like 16+hr a day on puppy, and many others do also. That would set any project well off into a great start.
P.s i wouldn't buy one, but if one was sent to me I would work on it, and I'm sure many others would, as long as I could plug a full-sized keyboard and monitor to it.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#9 Post by mavrothal »

ttuuxxx wrote:What I never get is that companies like OLPC XO-1 laptops, They have a great product, but they tend to be a bit tight with budget, Acer and Asus also. Really if they gave out like 5-10 of them to the top puppy developers/packages they would instantly probably have a working a OS, tons of customized scripts/applications etc. What would it cost? almost nothing, what would they get in return 1000's of free hours of labor. I spend like 16+hr a day on puppy, and many others do also. That would set any project well off into a great start.
Well,... THEY DO! Is called contributors program ( http://wiki.laptop.org/go/Contributors_Program ) where you basically request (a) machine(s) for a specific well described and justified propose. I would guess that "XOpup" with python suport and the possibility (or better promise) to run Sugar on the top ( http://wiki.sugarlabs.org/go/Sugar_Application_Stack ) has a good chance.
You can get an idea about ongoing projects here http://wiki.laptop.org/go/Projects
(PM me if you want to go forward and you think you could use any help)
ttuuxxx wrote:P.s i wouldn't buy one, but if one was sent to me I would work on it, and I'm sure many others would, as long as I could plug a full-sized keyboard and monitor to it.
ttuuxxx
If a contributors application fails, _I_ will get you one! They are currently ~$130 in Ebay. No big deal...
And yes you can plug a keyboard but for the monitor you'll need either a hardware hack (with a soldering iron...) or a USB adapter and the relevant kernel module.

Post Reply