Hi All,
EDIT 2020-12-24 new attachments and info at second post of this thread.
The following was originally posted by @mikeslr (thanks Mike ):
I didn't see a thread about fredx181's Create Portable AppImage (or selfextracting script), http://murga-linux.com/puppy/viewtopic. ... 14#1011814. @ rockedge: don't hesitate to move if there is one. Or email me and I'll do it.
Per that post:
"Options:
- 'PortableAppsLinux Mode' or 'Chroot mode' choice
The 'Chroot Mode' gives a better chance that the app will run (specially with complex apps)
But for simple apps, I'd recommend 'PortableAppsLinux Mode' (runs faster)
(see more info below)
- Create appimage from selected directory "AppDir", or
- Create appimage from selected .sfs or .squashfs (Chroot Mode only)
- Create selfextracting script instead of appimage (using makeself https://makeself.io/)"
I haven't used the Chroot mode. But the portable mode works well. I find it particularly useful when remastering if I want to strip out applications from the puppy_version_number.sfs and perhaps place them in an adrv/ydrv or SFS or even in a portable-appimage. There are a number of tools to facilitate this:
jpeps' gnewpet, http://murga-linux.com/puppy/viewtopic. ... 673#598673 will create a pet consisting of all necessary files of builtin or installed application;
Among others, taersh's PaDS, http://murga-linux.com/puppy/viewtopic. ... 922#998922 will combine pets and SFSes, debs and other packages into either a pet or an SFS, including Suites or adrvs/ydrvs;
and
shinobar's remasterX, http://murga-linux.com/puppy/viewtopic. ... 345#780345.
And, of course, there are other, similar applications.
However, what all these have in common is that they are part of your operating system when you remaster and become 'builtins' in your remaster. A portable-appimage created using fredx181's tool mounts thru /tmp; and applications linked thru the /tmp folder are not included in remasters.
Take a look at the screenshot at http://murga-linux.com/puppy/viewtopic. ... 14#1011814 and note where it has you "Select the directory to use as 'Appdir-root':" AFAIK, any source can serve as that directory. For example, UExtract a pet and use the folder within the extracted folder; or mount an SFS and copy its contents into a folder. "Patched" snaps and flatpaks --decompressed and patched to include libraries absent from Puppies-- can also be 'repackaged'.
Edit: I had included nicOS-Utility-Suite, viewtopic.php?p=1533#p1533 provides many tools including a couple different ones for remastering; but although an AppImage was created, it did not run the remaster module. Didn't try the others.