Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 18 Apr 2014, 15:20
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
pUPnGO - 6Mb ISO - Basic Building Block Puplet
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 58 [868 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 56, 57, 58 Next
Author Message
goingnuts

Joined: 07 Dec 2008
Posts: 777

PostPosted: Wed 03 Mar 2010, 15:07    Post subject: Update...  

New build script and builds (build script included in ISO) uploaded. A more user-friendly menu driven build configuration can be used. Also an application menu included.
Basically now ALSA is working (but not in builds), GUI-build with low or full font, use BusyBox intensively or a more safe build. Not quite sure if save to CD works...
Build with Geany, Lynx, Links, Abiword, Gxine, Gparted or Hiawatha+php+mysql-server now available. The applications will run but you might miss some of the features as fine-tuning and size reductions have not been made to its full extent.

Basic build iso (with and with out GUI) is more or less the same as previous build - the main purpose have been to make the build script easier to use - and to give an appetizer of what the pUPnGO-build script can be used for...

The new script fetch PETs from ftp://distro.ibiblio.org/pub/linux/distributions/puppylinux/pet_packages-4 and community PETS.

Examples of builds possible ("QuickPUPs"...?):
    Hiawatha based Web server with php+mysql (needs RAM!) (20MB)
    A lightweight web-browser with GUI and the Links-browser (13MB)
    Plain writer edition, GUI and Abiword. (17MB)
    Tiny GUI build with XFE, Links and Gparted (16MB)
    Multimedia GUI version with Gxine only. (16MB) NB: remember to include ALSA in the build!

I will not claim the build script to be bug free (its probably not) but I have tested most of the combinations possible. ex. Gxine can play mp3/mpg-files but haven't tested other formats...

Still: To have a proper build you need to install used PETs to the host system - and you need disc-space...(save-file 512->1024 needed)
Have fun...
Kim
Below screen shot of 16MB build with Gparted, Links and XFE-filemanager running in qemu 32MB RAM...
pUPnGO_light.png
Description 
png

 Download 
Filename  pUPnGO_light.png 
Filesize  124.15 KB 
Downloaded  583 Time(s) 

Last edited by goingnuts on Thu 04 Mar 2010, 02:35; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Wed 03 Mar 2010, 18:24    Post subject:  

If anyone would like to setup a kiosk using only jwm this link could help for setting a background and application start buttons
http://www.murga-linux.com/puppy/viewtopic.php?t=51200


On recent X to disable ctrl+alt+backspace - edit the xorg.conf template for:
Section “ServerFlags”
Option “DontZap” “true”
EndSection

however <right alt + printscreen +k> is supposed to do the same thing now - you could disable the printscreen key similar to the xlock fix in growl (using xmodmap) here:
http://www.murga-linux.com/puppy/viewtopic.php?p=335216

Want to see if you are missing some dependencies?
ldd *in/* |grep "not found" |cut -d = -f 1 |sort |uniq
#this is from memory so don't kill me if it is off by a bit ...
# may also need to do this for *lib/* as well as the mozilla and other plugins

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 777

PostPosted: Fri 05 Mar 2010, 13:34    Post subject:    

I am trying to make some hardware dependent build with pUPnGO. This means that using a virtual machine do not work - I have to burn each build to CD and boot on the specific machine the build is for. This is definitely a slow approach as I want to only build in the needed drivers for the specific hardware the target machine have.

One approach is to boot target machine with a full P412 CD, after boot do a lsmod and note what was found. Then afterwards try to figure out where that specific module is in P412 and include it in the build.

A more automatic approach would be nice - maybe do the boot with full P412 - and save the result of lsmod to a file. This file could maybe be used afterwards to pick the modules and put it in the pUPnGO build?

I cannot find a translation between the output of lsmod and the actual place on drive where the module file is - so if someone could give a pointer I would be grateful.
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Fri 05 Mar 2010, 16:58    Post subject:  

I made a zdrv cutter script a while back - its in cutting edge - latest version 0.0.4 added xorg drivers (not currently on zdrv yet, but I think they should be eventually) so you will probably do best with 0.0.3 for now. Please feel free to make any improvements you need, it is public domain.

http://www.murga-linux.com/puppy/viewtopic.php?t=51450
http://www.murga-linux.com/puppy/viewtopic.php?t=51552

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 777

PostPosted: Fri 05 Mar 2010, 17:25    Post subject:  

THANKS technosaurus! Very Happy
Excellent - just what I needed! What a time saver!
First test looks great (reduced my driver "load" to 3MB) and it seems everything is found and included. Just had to comment out the inclusion of "/etc/DISTRO_SPECS" as I have no such file.

If its ok with you I will try to include it as a function in pUPnGO build script?

Kim
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Fri 05 Mar 2010, 17:50    Post subject:  

DISTROSPECS is the replacement for puppyversion in woof builds... should do a check for it and if it does not exist use /etc/puppyversion and the zdrv_XXX.sfs format instead of the new format that includes the kernel version ...probably at the end where the gets moved (and renamed) to the home directory. It is public domain so anyone can use it including M$ (of course that would mean they would have to switch to the linux kernel Smile
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 777

PostPosted: Sat 06 Mar 2010, 04:00    Post subject:  

Thanks again.
Your approach to driver cut-down brings me a lot forward - was thinking if one could imagine a "in-situ" build of a personal Puppy? Probably not a new idea - but booting the minimum Puppy (could be pUPnGO) and afterwards pulling user chosen needed stuff from internet - and finally build and install...

technosaurus wrote:
... including M$ (of course that would mean they would have to switch to the linux kernel Smile


Best guess is they will eventually have to/need to move...
Do not know if that is good or bad though...
Back to top
View user's profile Send private message Visit poster's website 
Keef


Joined: 20 Dec 2007
Posts: 562
Location: Staffordshire

PostPosted: Sat 06 Mar 2010, 09:30    Post subject:  

@goingnuts

After making a savefile, on next boot the zdrv is not loaded. I mean that if I further modify the zdrv, (I use Edit-SFS) the changes will not show - the contents of the previous incarnation persist in the savefile.
Other than that, I'm really enjoying messing with pUPnGO - just knocking up a basic CLI version with bash menus (mainly pinched from INX) and a few apps. Using the framebuffer to make it a little nicer looking, but having trouble getting getting the font I want to install - psfu fonts are generally ok, but not plain psf. Something to do with utf8 I believe. Still, I am doing this so I can learn as I go along, so not losing any sleep over it.
I have tried the new build script. Built an iso with Alsa. Ran alsaconf and although it reported that it was unable to load the drivers, it played the sample 'bark' at the end. Not tested it further yet.
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Sat 06 Mar 2010, 10:38    Post subject:  

sounds like it may be an issue with edit-sfs, try running it from the command line so you can see any errors.
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 777

PostPosted: Sat 06 Mar 2010, 11:14    Post subject:  

Keef:
I found the following:
P412 original mounts pup_412.sfs and zdrv (if present) when booted from CD and no other Puppy files on drives.
If you during shutdown create a save-file Puppy offers to copy pup_412.sfs and zdrv to the drive. If you say no this is respected - if you say yes you get pup_412.sfs and zdrv on the drive too.

If you boot again from CD and you have a save file present P412 copy pup_412.sfs to drive (if not present) and you are not asked if this is ok. zdrv is still mounted and content available.

If you boot from CD and save-file and pup_412.sfs is present zdrv is NOT mounted - and your zrdv content is not available.

This seems to be P412 build in behavior (by purpose or not). I think P412 was not meant to use zdrv at all.

To overcome this pUPnGO looks at boot if a zrdv is mounted and have content. If so this content is copied to mounted temp-system and will be included in the personal save-file if you choose to make one at power off. So your zdrv contents moved from zdrv to personal save-file and even though a zdrv-file is present it will never be mounted again (unless you delete main .sfs file). You cant even choose it via the bootmanager as it do not show zdrv (renaming might work - never tried that...)

Also if you have a main .sfs-file on the drive this one seems to be loaded instead of the main-sfs-file on the CD-rom. So if you make changes to main-sfs and think you will see the new content - you wont if you have a main-sfs-file on the HD.

All this makes sense (I think) for the purpose and use of the original PUPPY - It is annoying in the concept of pUPnGO...

I might be missing something but this is at least my findings.

I still have fun with pUPnGO too - it is a great way of learning Puppy and Linux basic. Glad you have fun too.

The font issue is a big mystery to me...It would be nice to have a simple font configuration tool - choose which fonts you want (and need) and have them one place. It seems that there are several places where fonts are placed and several font types. Until now its either one font or all of them in the build script (include all font by choosing beauty-box=yes).
Kim
Back to top
View user's profile Send private message Visit poster's website 
Keef


Joined: 20 Dec 2007
Posts: 562
Location: Staffordshire

PostPosted: Sat 06 Mar 2010, 17:38    Post subject:  

Thanks for the explanation - it all makes sense now, and has exposed my ignorance.
And there's plenty more where that came from.....
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Sat 06 Mar 2010, 19:04    Post subject:  

I think the intention was that they (modules) would be saved to the pupsave file.

the zdrv cutter will automatically make this happen because they are rewritten (you may also want to rm -rf the backup of lib/modules)

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 4981
Location: Arizona, U.S.A.

PostPosted: Sat 06 Mar 2010, 21:49    Post subject:  

Actually MU made a " TinyPup " many years ago that was about the same size.
Puppy412 is the " old school " Puppy now, a newer Puppy version would be good.
I`m not sure what value a " console only " version of Puppy has really...

A stripped down Puppy with Xvesa intact would be useful, and one with Xvesa and Xorg too.
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 562
Location: Staffordshire

PostPosted: Sun 07 Mar 2010, 13:42    Post subject: Fonts
Subject description: Replace setfont symlink
 

Solved the problems with certain console fonts failing to load by coping the setfont binary from the full 4.12 to replace the symlink to busybox.
Now I can use nice terminus-fonts at a larger size to go with the higher framebuffer resolutions.
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 777

PostPosted: Tue 09 Mar 2010, 04:36    Post subject:  

Keef: org. setfont will be used in next update of builds/build script. Thank you for finding that.
technosaurus: Any chance to remount an already mounted zdrv to be read-write? I am trying to implement part of your zdrvctr in pUPnGO - (offer a cutdown at poweroff) - but if zdrv is large it uses a lot of space in the ramdisk. If one could modify the mounted zdrv directly before copying, less space would be used...
Update: Never mind, after some time at Google I realize it might be impossible. Found another approach: Copy zdrvctr found modules directly to root, after that a for/do/done loop through dirs in zdrv copying to root but avoiding /lib/modules/firmware/network dirs.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 5 of 58 [868 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 56, 57, 58 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0787s ][ Queries: 12 (0.0080s) ][ GZIP on ]