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 Mon 16 Jul 2018, 16:10
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Another re-write of the "init" script - using OverlayFs?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 13 of 13 [189 Posts]   Goto page: Previous 1, 2, 3, ..., 11, 12, 13
Author Message
gyro

Joined: 28 Oct 2008
Posts: 1527
Location: Brisbane, Australia

PostPosted: Sun 24 Jun 2018, 08:47    Post subject:  

peebee wrote:
see that "/usr/sbin/overlay-setup-frugal" is in overlay_mods.sfs but do I install the .sfs and then run it or do I extract it and run it??
The most reliable way to do it in a "normal" puppy is to sfs_load the "overlay_mods.sfs" from the tar file, thus making the new utilities available, but not modifying the system.
Then the process I outlined in my previous post should work.

Sorry about the confusion, my bad.
I think the new process is documented in the post announcing the first version to include delta's.
But I should fix the first post to make things clear.

gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1527
Location: Brisbane, Australia

PostPosted: Sun 24 Jun 2018, 10:00    Post subject:  

I have updated the first post to include current usage information.
gyro
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3391
Location: Worcestershire, UK

PostPosted: Mon 25 Jun 2018, 04:18    Post subject:  

gyro wrote:
I have updated the first post to include current usage information.
gyro

Thanks @gyro - now works fine.....
Screenshot.png
 Description   
 Filesize   228.38 KB
 Viewed   262 Time(s)

Screenshot.png


_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
gyro

Joined: 28 Oct 2008
Posts: 1527
Location: Brisbane, Australia

PostPosted: Mon 25 Jun 2018, 06:05    Post subject:  

peebee wrote:
Thanks @gyro - now works fine.....
Great. Thanks for testing.
gyro
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3391
Location: Worcestershire, UK

PostPosted: Mon 02 Jul 2018, 04:07    Post subject:  

Hi @gyro

Have you had any thoughts on how an experimental woof-ce build might be done to include overlayfs?

Presumably the overlay-mods.sfs would be converted to a .pet and included in the DISTRO_PKG_SPECS ??

and then overlay-setup-frugal would need to be run via
EXTRA_COMMANDS
in
_00build.conf ??

?? or not??

Cheers
peebee

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
gyro

Joined: 28 Oct 2008
Posts: 1527
Location: Brisbane, Australia

PostPosted: Fri 06 Jul 2018, 08:46    Post subject:  

@peebee,

All my current methods for producing an "overlay_init" Puppy work outside woof-ce.
"overlay-setup_frugal" converts a normal frugal install to an "overlay_init" frugal install.
"overlay-make-iso" converts a normal iso to an "overlay_init" iso. Unfortunatley this requires the "overlay" module to be loaded, as it merges directories by creating an "overlayfs" stack.

One method of integrating "overlay_init" into woof-ce is to actually include it all into a normal Puppy, with the alternative init being activated by a boot parameter at run time.
I'm not convinced that "bloating" a normal Puppy with all the extra files from "overlay_init" is the best way to proceed.

"overlay_init" consists of an alternative initird.gz (smaller), a number of files that replace existing files in Puppy, and quite a few new files with no equivalent in normal Puppy.

My original idea was that woof-ce would be capable of producing an alternative "initrd.gz" just as it can produce different Puppies.
So, similar to a woof-ce user choosing to build a "upupbb" or "slacko" Puppy, they would be able to choose to build an "aufs" or an "overlay" initrd.gz.

gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1527
Location: Brisbane, Australia

PostPosted: Fri 13 Jul 2018, 21:51    Post subject:  

I have uploaded a delta for upupbb-18.05+8.iso http://www.fishprogs.software/puppy/initrd/upupbb-18.05+8.iso___upupbb_overlay0.9d-18.05+8.iso.delta.

This is just a maintenance release for a newer upupbb, and to fix a couple of minor bugs.

gyro
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1598
Location: Italy

PostPosted: Yesterday, at 03:49    Post subject:  

gyro wrote:
I have uploaded a delta for upupbb-18.05+8.iso http://www.fishprogs.software/puppy/initrd/upupbb-18.05+8.iso___upupbb_overlay0.9d-18.05+8.iso.delta.


I just did a new frugal install with istructions from here and peebee. All working well for my basic needs. Excuse my ignorance: no multiple savefolders support at boot?

Later: help files in the iso require to be rewrited...
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1527
Location: Brisbane, Australia

PostPosted: Today, at 01:49    Post subject:  

watchdog wrote:
I just did a new frugal install with istructions from here and peebee. All working well for my basic needs. Excuse my ignorance: no multiple savefolders support at boot?
Yes there is no such support.
It was something I left till later, but now I find I don't miss it.
I have 2 directories, "pupsaves" (where my savefolders normally reside) and "pupsavesAlt". When I want to try a possibly "dangerous" pet, I run "Saveconfig"->"Folder"->"Select" and select "pupsavesAlt".
On reboot I'm now using a copy of my savefolder in "pupsavesAlt".
When I have finished, I run "Saveconfig"->"Folder"->"Default" to go back to my normal savefolder, which results in a "Cancel", "Replace" or "Keep" dialog, referring to my normal savefolder in "pupsaves".
If the test was successful, I select "Replace". If the test failed, I select "Keep".
No, it's not the same as multi-savefolder support in "init", but unfortunately the result is that real multi-savefolder is currently a low priority.
watchdog wrote:
Later: help files in the iso require to be rewrited...
Yes, again you are correct. And the answer is similar, there always seems to be something more urgent.

PS. Thanks for testing.

gyro
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 13 of 13 [189 Posts]   Goto page: Previous 1, 2, 3, ..., 11, 12, 13
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.0667s ][ Queries: 13 (0.0192s) ][ GZIP on ]