Page 1 of 1

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

Posted: Fri 21 Nov 2014, 13:23
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