patchPuppyWithSfs.sh - patch main puppy sfs with sfs file(s)

Core libraries and systems
Post Reply
Message
Author
gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

patchPuppyWithSfs.sh - patch main puppy sfs with sfs file(s)

#1 Post by gyro »

This is a script that patches the main puppy sfs file in the currrent directory.
Warning - do not run this script if the directory is on a non-Linux partition.

Code: Select all

patchPuppyWithSfs.sh patch1.sfs patch2.sfs
This results in a new puppy sfs file including the files from all listed sfs files.
The original puppy sfs has been renamed by appending '.bak'
If the original puppy sfs contained an '/etc/DISTRO_SPECS' file, any DISTRO_IDSTRING is appended to the new puppy sfs.

Note:
The script contains 2 lines for the mksquashfs command.
Use the shorter, commented out, line to get a bigger sfs more quickly.

gyro
Attachments
patchPuppyWithSfs.sh.gz
'gunzip' the file to get script.
(458 Bytes) Downloaded 265 times

Post Reply