site  contact  subhomenews

4.1.2: 3rd SFS bugfix

December 03, 2008 — BarryK
Forum member Béèm has been patiently reporting that only two SFS files could be loaded. It was supposed to be fixed in 4.1.1, but wasn't. I think I've finally nailed it.

If you have Unleashed and you want to manually apply this fix:

1. Open puppy-unleashed/boot/initrd-tree0/init in a text editor.
2. At about line 1221, insert the extra handling for pup_ro6, as shown below.
3. At about line 1260, ditto.

AT ABOUT LINE 1221:

#if same dir exists lower layer, then wipe the opaque file...
[ -d /pup_ro3${ONEDIR} ] && rm -f $ONEOPAQUE
[ -d /pup_ro4${ONEDIR} ] && rm -f $ONEOPAQUE
[ -d /pup_ro5${ONEDIR} ] && rm -f $ONEOPAQUE
[ -d /pup_ro6${ONEDIR} ] && rm -f $ONEOPAQUE #v412

AT ABOUT LINE 1260:
#prepare everything for doing a switch_root...
#cpio archive does switch_root, lose the initial-ramfs, so move all mntd...
mkdir -p /pup_new/initrd
mkdir -p /pup_new/initrd/pup_ro1
mkdir -p /pup_new/initrd/pup_ro2
mkdir -p /pup_new/initrd/pup_ro3
mkdir -p /pup_new/initrd/pup_ro4
mkdir -p /pup_new/initrd/pup_ro5
mkdir -p /pup_new/initrd/pup_ro6 #v412

Comments

sfs files at boot
Username: Béèm


Tags: puppy