build-a-muppy

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

build-a-muppy

#1 Post by MU »

To create a custom Puppy, you can remaster it with the included utilities.

build-a-muppy uses a different approach.
I use the name "muppy", because I build my next puplett "Muppy008" with it, but you can build any puplett.
Download and extract on a harddrive with a lot of space.
http://dotpups.de/files/build-a-muppy/0 ... -muppy.tgz
It is 44 MB, includes gimp and firefox german/english to demonstrate how to add packages.
Those are only intended as examples, you can replace or delete them.

UPDATE: newer version including Puppy 301/Muppy 008.x see:
http://murga-linux.com/puppy/viewtopic. ... 819#167819

Now copy the content of the Puppy you want to modify:
cd build-a-muppy
cp -ax /initrd/pup_ro2/* sfs-sources/original/


Now add files to the other subfolders in /sfs-sources.
My examples show how to do it.

Now add the files from your Puppy-Iso in "/iso-files" (vmlinuz, initrd.gz and so on).

Now edit settings.txt

Set your preferred language, and version-numbers.
Then run:
mkdir iso
./build-muppy
./build-addon
./build-iso


Now you should have your ISO in the folder "/iso"

--------------------------
Details about the folders in /sfs-sources/:

/original
The content of pup_301.sfs (or any other pup_xxx.sfs).
You can delete files, that you do not want, like /usr/lib/seamonkey
But take care:
some programs need libraries from seamonkey, e.g. gxine.
So you might keep:
libmozjs.so
libnspr4.so
libplc4.so
libplds4.so
Be carefull when you delete files from Puppy, test your iso then carefully to check if programs still work.

/original-to-addon
Here you can move files, that shall be added to a "addon.sfs", that will be included in the iso.
I already moved seamonkey there.
So when Puppy boots from CD, this program is not available, keeping the memory-footprint low.
It just can be used, when the user saves to a personal pup_save.2fs.
Then on reboot, he can mount that addon.sfs, Puppy will pop up a utility for that.
I plan to write a tool, that also can mount directly from CD.

/packages-base
here you add packages, that will be included in the pup_301.sfs
Files here will overwrite files from /original

Muppy will contain here ezpup with modified .jwmrc and icewm/menu.

If you want to create a localized and an english version:
in settings.txt, if you use
BUILDLANG=de
then the folder
/sfs-sources/packages-base/COUNTRY---de---firefox
is used for your iso.

If you enter:
BUILDLANG=en
then the folder
/sfs-sources/packages-base/COUNTRY---en---firefox
is used for your iso.
The COUNTRY---de---firefox
is ignored then!

This technique makes localization quite easy.

/packages-addon
Same as before, just for addon.sfs

/basesfs
this is a relict from older versions.
You can add files here that would overwrite /original, but this folder will be dropped in future versions.

Mark
Last edited by MU on Wed 27 Feb 2008, 14:17, edited 8 times in total.

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

Thanks

#2 Post by raffy »

Thanks, Mark, it's a new way of building a new puplet (well, it must be old hat for you now :) ). Do I undestand it correctly that the resulting puplet will have Muppy and EZpup as common components? Or "muppy" is just the name of the method?

And should the running Puppy have an identical kernel (3.01)?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post by MU »

Muppy in this case stands for "custom puppy".
I just used this name, cause I build Muppy008 with it.

Neither Muppy or Puppy or ezpup is included.
Only some scripts to build a custom Puppy.
Plus some example-packages to demonstrate how you add packages for an addon (Gimp), or how to add them for a localized iso and an english iso (firefox).

You can use any Puppy as a base, by copying the files from pup_xxx.sfs (which are usually found in /initrd/pup_ro2/) to /original.
You even could mount a different pup_xxx.sfs, and copy those files.
The build-scripts use nothing from your currently running system.
You even could build a custom puppy while you run Debian or Suse.

The main difference to other solutions is, that you easily can create a new version when there is a new Puppy.
Lets say, your last puplet was based on Puppy 300.
So now to use Puppy 301 as a base instead, you just replace /original and /iso-files with the files from Puppy 301, and then run the scripts again.
Voila - you have a new iso, with all customized packages you had used for your last iso.

This is different to the usual approach, where you had to install all packages from new.

Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

I uploaded the full build-a-muppy that I used to build Muppy008alpha (see: http://murga-linux.com/puppy/viewtopic.php?t=23397 )

It includes Puppy301 with bugfixed initrd.gz, OpenOffice english and german and so on.
A 530 Megabyte download.
Thanks to Canari from puppylinux.ca for hosting it.
To re-build muppy:

cd muppy008build
./build-base-and-addon
./build-iso

The new script "build-base-and-addon" simply is a combination of the others.
It puts the "base" and "addon" files in a single pup_301.sfs.

I decided to do this, as Puppy still is not able to mount a second sfs from CD using unionfs.

Muppy007 was able to do that by using a patched init.
But when I tried now to adapt my patches to Puppy3, I got lost in the completely rewritten init-script.

Maybe that will be an option in future again, but at moment it seems to work fine, too using only a single sfs.

Download:
http://www.puppylinux.ca/muppy/
can be extracted like this:
tar -xjvf muppy008a-build-all.tar.bz2

It is 1500 MB extracted.

Mark

User avatar
willhunt
Posts: 495
Joined: Wed 05 Oct 2005, 18:19

#5 Post by willhunt »

I get these errors when I try and run it
cp: cannot stat `sfs-sources/addonsfs/*': No such file or directory
cp: cannot stat `sfs-sources/kdesfs/*': No such file or directory
and I run out of room how much does this take anyway?
Last edited by willhunt on Sun 11 Nov 2007, 21:26, edited 1 time in total.
[url=http://hostfile.org/icepak.pet]176 Icewm Themes :!:[/url]
[url=http://tinyurl.com/39fl3x]vlc-0.8.6c-i586.pet[/url]
[url=http://tinyurl.com/2q7cbp]vlc-0.8.6c-i586.pet[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

cp: cannot stat `sfs-sources/addonsfs/*': No such file or directory
cp: cannot stat `sfs-sources/kdesfs/*': No such file or directory

you can ignore, it tries to copy files from those folders, but they do not exist.
I had used them in muppy007.

The script copies all neeed files to the /sfs-temp-all, so you need almost double amount. 1 - 1.5 GB.
Then it creates the pup_301.sfs, so another 400 MB is needed.
Finally the iso, so again 400 MB (though you now could delete the /sfs-temp-all first.

So you might calculate around 1.5 - 2.5 GB to build the iso.

Mark

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#7 Post by edoc »

Will this also work with the new 4.xx version?

I'd like to use Barry's new minimalist version to build myself a customized Puppy.

First one to use daily, then one for a USB stick for maximum portability - more
likey to demonstrate Puppy than to use as my laptop will tend to travel with me.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

macadavy
Posts: 213
Joined: Mon 12 Jun 2006, 07:43
Location: Cascadia's Attic, eh?

#8 Post by macadavy »

Much of this discussion is over my head. :oops:
I don't have a good understanding of how others have used the Puppy Unleashed CD to make their own Puppies, but it seems rather daunting to this newbie. How does your approach differ? It seems simpler, and includes a way to add-in .sfs files which I like.
I'm interested in moving Puppy toward a DIY (Do It Yourself) model for building custom Puppies. The ultimate simplified newb-boob-proof concept might look like the 'custom' install of some GNU/Linux distros (e.g. Libranet) which allowed you to simply click in a box to choose the desired packages from a CD that were to be installed. Nimblex ( http://nimblex.net/ ) uses such a point'n'click process to assemble an ISO online which you can then download to burn to CD. Can we 'puppify' what they've done? (Not necessarily online, though that would be nice, too!) :D
[i]Welcome to my weird, wild, wonderful, wired world![/i]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#9 Post by MU »

Edoc,
yes, should work too with Puppy 4.
But check carefully the subfolders for systemfiles.

Somewhere I included a modified /etc/profile, this might have changed since Puppy 3.

But the concept is simple.
Put the content of the original pup_xxx.sfs in /original, add own packages to the other folders.
Then add the rest from the original iso in /iso-files, and edit settings.txt.

macadavy,
I think creating a Iso usually is very easy in Puppy.
Boot the CD with a personal savefile, install some dotpets, then remaster it with the provided programs in the menu.
I never did it, but from what I have read this really is easy.

My approach is a bit more complicated, but makes it easier to keep track of version updates or creating localized versions.
So it is basically intended for people who made first experiences in building own Puppys, and now want to maintain updated versions over a longer period.

The idea of doing this with a grafical tool, for example via internet, we have discussed here at minisys.org.
We think of extending the script in this direction, but it might take half a year, as currently we already have a long todo-list.

Mark

User avatar
willhunt
Posts: 495
Joined: Wed 05 Oct 2005, 18:19

package install

#10 Post by willhunt »

it took over 2.5 gb but well worth it 8) I added
everything I could think of some tgz & deb packages
to the /packages-addon.
I found to affect changes to icewm I had to edit the
/packages-addon/ezpup/root/.icewm
very nice all my packages had version numbers so
keeping track will be easy :)

Final pup_301.sfs 570MB :oops: 270mb of lib files
( I forgot how to strip them :oops: after compiling)
but mythtv should work as soon as I figure out sql
login problem

what a very handy tool thanks :)
Last edited by willhunt on Sun 23 Dec 2007, 05:07, edited 3 times in total.
[url=http://hostfile.org/icepak.pet]176 Icewm Themes :!:[/url]
[url=http://tinyurl.com/39fl3x]vlc-0.8.6c-i586.pet[/url]
[url=http://tinyurl.com/2q7cbp]vlc-0.8.6c-i586.pet[/url]

jonyo

#11 Post by jonyo »

macadavy wrote:Much of this discussion is over my head. :oops:
Tell me about it :oops: :oops: to say the least..in my case. :cry:
macadavy wrote:I'm interested in moving Puppy toward a DIY (Do It Yourself) model for building custom Puppies. The ultimate simplified newb-boob-proof concept might look like the 'custom' install of some GNU/Linux distros (e.g. Libranet) which allowed you to simply click in a box to choose the desired packages from a CD that were to be installed. Nimblex ( http://nimblex.net/ ) uses such a point'n'click process to assemble an ISO online which you can then download to burn to CD. Can we 'puppify' what they've done? (Not necessarily online, though that would be nice, too!) :D
I'd like to know too. :?

User avatar
willhunt
Posts: 495
Joined: Wed 05 Oct 2005, 18:19

#12 Post by willhunt »

Tell me about it to say the least..in my case.
macadavy wrote:
I'm interested in moving Puppy toward a DIY (Do It Yourself) model for building custom Puppies. The ultimate simplified newb-boob-proof concept might look like the 'custom' install of some GNU/Linux distros (e.g. Libranet) which allowed you to simply click in a box to choose the desired packages from a CD that were to be installed. Nimblex ( http://nimblex.net/ ) uses such a point'n'click process to assemble an ISO online which you can then download to burn to CD. Can we 'puppify' what they've done? (Not necessarily online, though that would be nice, too!) Very Happy
I'd like to know too. Confused
I would really suggest a 10 gig partition and some experimentation
I've built some really nice puppies sofar with this system and it
works great! the only problem I have now is keeeping track of
which puppy version I'm working with.

I have not tried it with series 1 yet
Last edited by willhunt on Sun 23 Dec 2007, 05:17, edited 1 time in total.
[url=http://hostfile.org/icepak.pet]176 Icewm Themes :!:[/url]
[url=http://tinyurl.com/39fl3x]vlc-0.8.6c-i586.pet[/url]
[url=http://tinyurl.com/2q7cbp]vlc-0.8.6c-i586.pet[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#13 Post by MU »

I uploaded the final buildsystem for Muppy 008.

You can get it from the same location as the iso:
http://dotpups.de/Minisys-Linux/

It is around 590 MB.
Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#14 Post by MU »

this small update adds service pack1 to muppy008build.

**edit** removed, use SP2 instead further down.
extract this archive to muppy008build.

Then delete these files/folders:

sfs-sources/packages-base/ezpup/etc/xdg/templates
sfs-sources/packages-base/pburn

Mark
Last edited by MU on Fri 11 Jan 2008, 04:54, edited 1 time in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#15 Post by MU »

Uploaded Service Pack 2.
Includes SP1, and these changes:
Updated ntfs drivers/tool to 2.0.0, the older version was reported to work erratic with Windows Vista.

Localized Cups printing system.
Localized Network-Wizard
Added german Beginners help.

http://puppyfiles.ca/dotpupsde/dotpups/ ... ck2.tar.gz

Important:
Delete the folder:
muppy008build/sfs-sources/packages-base/muppyhelp
Delete the file:
muppy008build/sfs-sources/packages-base/ezpup/root/Choices/ROX-Filer/PuppyPin

Those now moved to "COUNTRY" folders.

Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#16 Post by MU »

Service Pack 3, Details for that:
http://www.murga-linux.com/puppy/viewto ... 583#166583

Delete these folders:
muppy008build/sfs-sources/packages-base/muppyhelp
muppy008build/sfs-sources/packages-base/ezpup/etc/xdg/templates
muppy008build/sfs-sources/packages-base/pburn
muppy008build/sfs-sources/original/etc/cups
muppy008build/sfs-sources/original/usr/doc/cups
muppy008build/sfs-sources/packages-base/dillo/usr/local/lib/dillo

Delete these files:
muppy008build/sfs-sources/packages-base/ezpup/root/Choices/ROX-Filer/PuppyPin

Then extract the tar.gz:
http://dotpups.de/dotpups/Muppylinux/Mu ... ck3.tar.gz

Mark

User avatar
papos
Posts: 120
Joined: Thu 21 Dec 2006, 07:47
Location: france
Contact:

#17 Post by papos »

thanks for the servicepack3
I put in settings.txt BUILDLANG=fr and create some /muppy008build/sfs-sources/packages-base/COUNTRY---fr--- and add fr_FR.utf8

by default in icewm desktop chooselocale country localisation is in "de" not in "fr" how to fix this for the first boot?
when I chooselocale country localisation fr i have two problem
-with xorg when i shutdown the first time I don't have the menu "Do you want to create a msy_save.2fs file" i have a box whit nothing but it's ok with xvesa
-i have to starticewm with console see the menu.

thanks Thierry

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#18 Post by MU »

by default in icewm desktop chooselocale country localisation is in "de" not in "fr" how to fix this for the first boot?
copy
/iso-files---en
to
/iso-files---fr

Then the english initrd.gz is used.
It lets you choose the keyboard and uses english country-settings.

The german one skips keyboard-selection and sets locale to de_DE. That is hardcoded in the initrd.gz.
-i have to starticewm with console see the menu.
Can you explain more detailed please?
I don't understand.
Tu peux ecrire aussi en francais. Je fais beaucoup des faux quand j'ecris, mais je comprends tous ce que je lis.
Cordialement, Mark
Last edited by MU on Wed 16 Jan 2008, 11:34, edited 2 times in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#19 Post by MU »

-with xorg when i shutdown the first time I don't have the menu "Do you want to create a msy_save.2fs file" i have a box whit nothing but it's ok with xvesa
I am not shure.
Maybe:
1.) it is a problem with your fr_FR.utf8

I use de_DE , not de_DE.utf8.
It is possible that your .utf8 does not work here.

2.) Maybe your Xorg does not shutdown.
Can you see any text?
Or just a complete black screen?

If you have a black screen only, then the Xserver does not exit properly.
Then please post the text of this file:
/usr/X11R7/bin/wmpoweroff

Mark

User avatar
papos
Posts: 120
Joined: Thu 21 Dec 2006, 07:47
Location: france
Contact:

#20 Post by papos »

Thanks for the response of english initrd.gz
I have rebuild all with SP3 and test on a second computer
in icewm desktop when i chooselocale country localisation fr the xserver restart but the menus are not present in the screen, I can clic in the console and type starticewm then the menu appear but when I shutdown the first time I don't have the menu "Do you want to create a msy_save.2fs file" i have a white and blue box whitout any text. certainly some problem with local

Also to run my muppy the first time i have to
1)boot, chose the keyboard, xorg, then I put starticewm in autostrart, then I clic reboot to create a msy_sav-file.sfs
2)I reboot and choselocale country localisation fr in WM (all is OK) I can see the menus of all the applications that I have add.

Merci pour cette version. Thierry

Post Reply