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 06 Dec 2019, 10:58
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
sfs-direct-remaster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
stemsee

Joined: 27 Jun 2013
Posts: 2539
Location: In The Way

PostPosted: Sun 27 Oct 2019, 10:39    Post subject:  sfs-direct-remaster
Subject description: independent self-contained remastering script
 

Here is an update to sfs-direct-remaster.

This is a cli remastering script, with some cleaning function.

This remasters directly to a base sfs file. Either in ram (/mnt/ram) or on drive (/mnt/sd?).

Let's you save to your boot directory, while backing up previous base sfs to *.sfs-old (*-old-old)

Easy and quick. ISO creation will be functional later.

EDIT: I have updated the script and added another mechanism for cleaning before remastering.

A yad dnd pain opens and the user simply drags files and/or directories (one at a time) and drops them on the dnd pane. They will be added to an excluded.txt list in /tmp, mksquashfs will read the list and 'exclude' all things listed.
sfs-direct-remaster.gz
Description  fake .gz
gz

 Download 
Filename  sfs-direct-remaster.gz 
Filesize  6.46 KB 
Downloaded  23 Time(s) 
xscreenshot-20191111T210345.png
 Description   
 Filesize   32.63 KB
 Viewed   146 Time(s)

xscreenshot-20191111T210345.png

xscreenshot-20191111T210244.png
 Description   
 Filesize   57.75 KB
 Viewed   146 Time(s)

xscreenshot-20191111T210244.png

xscreenshot-20191111T211226.png
 Description   
 Filesize   29.46 KB
 Viewed   146 Time(s)

xscreenshot-20191111T211226.png


Last edited by stemsee on Mon 11 Nov 2019, 18:58; edited 4 times in total
Back to top
View user's profile Send private message MSN Messenger 
rufwoof


Joined: 24 Feb 2014
Posts: 3665

PostPosted: Sun 27 Oct 2019, 11:41    Post subject:  

Quote:
ISO creation will be functional later

Update the links (files) and this is a reasonable template (strip out the busybox and kernel wget/build parts) for forming a iso.

http://www.murga-linux.com/puppy/viewtopic.php?p=950082#950082

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2539
Location: In The Way

PostPosted: Sun 27 Oct 2019, 17:03    Post subject:  

Interesting project rufwuf

It burns with genisoimage. I was looking also at mkisofs and xorriso.

If i cannot isolate builtin_dd then I will add compatibility for all available options.
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2539
Location: In The Way

PostPosted: Tue 05 Nov 2019, 22:38    Post subject:  

nuts....totally nuts!!

Laughing

I had three remaster scripts in mind....I seemed to have mixed and messed them up previously! I was not thinking clearly .... !

Finally sorted the mess out!

tested on fd and upuppee
sfs-direct-remaster.gz
Description 
gz

 Download 
Filename  sfs-direct-remaster.gz 
Filesize  6.03 KB 
Downloaded  31 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2539
Location: In The Way

PostPosted: Mon 11 Nov 2019, 18:59    Post subject:  

Updated see first post
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2539
Location: In The Way

PostPosted: Mon 18 Nov 2019, 12:22    Post subject:  

I am very happy with this script. Even happier now as I have taken the 'cleaning' or rather 'excluding' to another degree.

Using the same d'n'd pane it is now possible to drag an sfs module to it. For example, I compiled a new aufs enabled kernel. The compilation downloads aufs utilities which are in the kernel-modules.sfs (when using sukk anyway), They are not just in /lib/modules, but havve binaries also in the system PATH. Up until now my remaster scripts all left those in the remaster, which is not ideal. So now one can dnd the current kernel-modules.sfs to the dnd pane and then /usr/sbin/rmsfs will mount it in /tmp and after a tree op will add all files and dirs to the excluded.txt list in /tmp for mksquashfs to read and exclude. So several sfs modules and a few other files or dirs can be added (one at a time ((but don't drag'n'drop a mixture of files, dirs and sfs modules!)) .... so I experimented with kernel-modules.sfs and a devx.sfs plus other stuff. All went well.

I had tried to add rmsfs functionality as a function but it wasn't so easy for me.

It provides the cleanest possible remaster! And a mechanism for excluding layered modules, or at least the files and dirs contained therein.

Before posting it I want to test an equivalent cli alternative, in order to maintain its ability to do the remastering without X running, and no loss of functionality.
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2539
Location: In The Way

PostPosted: Mon 02 Dec 2019, 12:51    Post subject:  

Here is the direct remaster with ability to exclude sfs modules by dragging to the dnd pane. When rmsfs offers to remove files select NO.Place rmsfs in path and make executable

EDIT: rmsfs depends on tree
sfs-direct-remaster.gz
Description  fake .gz
gz

 Download 
Filename  sfs-direct-remaster.gz 
Filesize  7.19 KB 
Downloaded  3 Time(s) 
rmsfs.gz
Description  fake .gz
gz

 Download 
Filename  rmsfs.gz 
Filesize  2.85 KB 
Downloaded  2 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.0360s ][ Queries: 13 (0.0054s) ][ GZIP on ]