Page 2 of 2

Posted: Sun 25 Jan 2015, 12:01
by mikeb
Well one feature of frugalism is you can have multiple installs on the same partition. eg ..I have the 4 pups, two slaxes and my experimental lucid/slax on one.... others would have many more.... for a tidy life.

Can you turn of the constant updates in the main distro world...after all I do that with windows and life is peachy?

By the way still running setup from 2008 as the default.... some minor updates and tweaks but its effectively still the same....all apps are sfs so they are changed independently. Having a stable working platform does mean one less thing to have to fiddle with.
i.e. Intel Atom still being a headache to optimize, when i tried to compile intel drivers on Slacko's kernel 3.10.2 i got a slow boot and the need to change parameters on xorg.conf to make it stable. And lastest intel drivers requirements are too far from Slacko and Slackware 14 (Mesalib 9.2.5 can boost 3D performance on N450 family, but i had no luck to compile it without gaps).
yes it seems they were a PITA when the newer graphics chips were released and are still so... I fortunately grabbed intel boards with 945 graphics and a netbook with the same...they play nicely with ANY system.... anything newer would undoubtedly drive me nuts.

mike

Posted: Sun 25 Jan 2015, 12:18
by Robin2
mikeb wrote:all apps are sfs so they are changed independently.
That sounds interesting - how would I make that happen?

...R

Posted: Sun 25 Jan 2015, 12:30
by mikeb
Well puppies can use sfs files...indeed puppy IS an sfs file... unfortunately the normal system limits it to 5 or 6 but you can load more on the fly or at boot using the sfs loader thats around/included... (sfs_load, sfs-on-the-fly...I use my own script as it happens)

An sfs is just a read only archive of the app's file tree.... they are layered on top of each other so as far as the system is concerned they are installed in the usual way and are seen withing the normal file system.

If an sfs is removed then its as if it has never existed...no leftovers.

In this scenario your app can be any compatible version it wants to be....eg if you wanted the latest firefox/java/whatever you get rid of the old sfs and load the new one...job done.

mike

Posted: Sun 25 Jan 2015, 18:43
by Robin2
mikeb wrote:An sfs is just a read only archive of the app's file tree....
I guess my question was really about how to convert a DEB into an SFS.

I haven't found any clear explanation online. I did find stuff about converting a DEB to a .PET and, separately, about converting a .PET to a .SFS

Is that the way to go?

And, AFAIK a DEB does not contain all of its dependencies. I presume the SFS must contain them? If that is correct, what is the easiest way to get all of them?

...R

Posted: Sun 25 Jan 2015, 19:39
by dancytron
Robin2 wrote:
mikeb wrote:An sfs is just a read only archive of the app's file tree....
I guess my question was really about how to convert a DEB into an SFS.

I haven't found any clear explanation online. I did find stuff about converting a DEB to a .PET and, separately, about converting a .PET to a .SFS

Is that the way to go?

And, AFAIK a DEB does not contain all of its dependencies. I presume the SFS must contain them? If that is correct, what is the easiest way to get all of them?

...R
RSH (lazy puppy guy) has an application called PADs that converts debs and pets into sfs files.

It's on this page http://lazy-puppy.weebly.com/programs.html

Posted: Sun 25 Jan 2015, 19:47
by mikeb
I just use the built in tools...

open and unpack the deb(s) with xarchive into a folder and then
mksquashfs /app_folder/ new_app.sfs

slax has a deb2lzm script doing basically the same....lots of ways to crack this nut...that one handy for a quick test...grab the parts..make sfs of all independently..once working and happy make you final build of everything trimmed and ready to go.

thing is if you do it manually you can remove any surplus items...there are usually a pile of those...

mike

edit... I can spell again!!

Posted: Sun 25 Jan 2015, 22:54
by Robin2
Thanks, both of you.

I will try those ideas tomorrow.

...R

Posted: Mon 26 Jan 2015, 10:01
by mikeb
wow typo city...I will edit.

Sometimes the wizards are more complicated than the actual job in hand...on a general note its worth digging in and getting to know how this stuff works :)

mike

Posted: Mon 26 Jan 2015, 13:12
by dejan555
Robin2 wrote: I guess my question was really about how to convert a DEB into an SFS.

I haven't found any clear explanation online. I did find stuff about converting a DEB to a .PET and, separately, about converting a .PET to a .SFS

Is that the way to go?

And, AFAIK a DEB does not contain all of its dependencies. I presume the SFS must contain them? If that is correct, what is the easiest way to get all of them?

...R
Yes, you need all dependencies, I guess you can check that option "Download only" in puppy's package manager (I don't know how good it is in resolving dependencies at this point)

I believe there are scripts on forum to automatize process of converting multiple debs in sfs, but basically it's just extracting them all in one directory and making sfs of that directory, something like this (writing from the top of my mind) :

Code: Select all

#!/bin/bash
#Assuming you're running script from a separate directory where there are only debs needed for sfs:

targetname=$(basename "$PWD")
for i in *.deb;do dpkg-deb -x $i;rm $i;done
cd ..
dir2sfs $targetname/

Posted: Wed 11 Feb 2015, 03:59
by slavvo67
Hi guys:

There's a GUI utility called PADS that works quite well in combining all debs, pets, into one larger pet. The only complaint that I have is that you have to choose each file individually to add (one at a time) instead of using something like the old CTRL and left click to highlight and add multiple files at once. Still, the little annoyance is worth the convenience.

Best,

Slavvo67

Posted: Wed 11 Feb 2015, 04:07
by LazY Puppy
slavvo67 wrote:The only complaint that I have is that you have to choose each file individually to add (one at a time) instead of using something like the old CTRL and left click to highlight and add multiple files at once.
In PaDS 1.0.4 you can put all .deb, .pet and .txz Files into a Directory and do a right-click onto this Directory.
Then choose Combine to SFS or Merge to SFS (can't remember exactly). Pretty easy!

Posted: Wed 11 Feb 2015, 04:24
by slavvo67
Thanks RSH. This is one of your creations, I guess. Good stuff.

Best,

Slavvo67

devs need a NEXT PUPPY

Posted: Thu 10 May 2018, 07:41
by hamoudoudou
combine SFS with pads . SFS is in the charts of Popularity
The few programming lessons i had when i was young was to verify if what you need was not yet existing. If not, then first take a sheet of paper and your pencil and order things to do
draw the program graphically by yes and no knots

What is somewhere forgoten, is the need to make his program, because even if a program exists, dev needs to try to develop something.. he will try again his personal process For storming his brain.
Why do you make your wine as you can buy a bottle at the grocer's ? Because i like it.. It can be worse, the same.. even better.. the reason is because i like to make wine.
Of course it would be better to check what people ask, and try to satisfy them.. But people ask for boring process as bluetooth ...

Posted: Thu 10 May 2018, 15:35
by rockedge
I just found a new use for UPUP 3.9.9.2 Raring.... as is basically.....I need a machine capable of streaming a camera to the internet 24/7....the one we have used for the last 5 years is an IBM T-42 from around 2002-2005 which ran Tahr 6.0.5 and ZoneMinder non-stop from 2012 until a few days ago when the cooling fan failed. This will be replaced but in the mean time....a 2002 Dell C610 with a Pentium III and 256 megs of RAM is pulled out of storage and fired up, installed UPUP 3.9.9.2 which runs beautifully on this system...some adjustment to the PPM and bang installed Apache 2.2 Mysql and PHP 5.6 and the devx as an SFS....added zoneminder 1.26.5 (old version) and INADYN as the dynamic IP updater......running now streaming away almost better than some of the newest similar setups. No changes needed at all.......no updates coming nor needed in this case. Just an old machine running an OS that fits it's specs....just like the big boys...we're not peeing with the Puppies but running with the pack.......

Posted: Thu 10 May 2018, 17:07
by nosystemdthanks
Why do you make your wine as you can buy a bottle at the grocer's ? Because i like it.. It can be worse, the same.. even better.. the reason is because i like to make wine.
<3 this.