Yes.Slacko Puppy 6.9.6.4
One of the most reliable workhorses! I use it all the time for demonstrations, live CD diagnoses and dual boot for clients wedded to the devil's distro.
Code: Select all
EXTRASFSLIST='lang_pack_ja-2.0.sfs'
PREVUNIONRECORD=''
LASTUNIONRECORD=''
Code: Select all
--- sfs_load-30 2016-09-11 07:30:18.000000000 +0900
+++ sfs_load 2017-02-22 22:22:50.581083715 +0900
@@ -1355,6 +1355,7 @@
$SFSBASE|$ZDRBASE|$ADRBASE|$YDRBASE|$FDRBASE) :;;
*) echo $EXTRASFSLIST | grep -qw "$FILENAME" || EXTRASFSLIST="$EXTRASFSLIST $FILENAME";;
esac
+ LASTUNIONRECORD="$LASTUNIONRECORD $FILENAME"
save_bootconfig
}
save_bootconfig() {
I think intended (though not necessarily right).shinobar wrote:Intended or a mistake?
Code: Select all
--- sfs_load-300 2016-09-11 07:30:18.000000000 +0900
+++ sfs_load 2017-02-23 21:38:16.000000000 +0900
@@ -62,7 +62,7 @@
MYPATH=$0
MYNAME=$(basename "$0")
-VERSION=3.0
+VERSION=3.0.2
ORGOPT="$@"
#some options the puplet builder can choose
WIPEWHITEONINIT="true" # true/false
@@ -1355,10 +1355,12 @@
$SFSBASE|$ZDRBASE|$ADRBASE|$YDRBASE|$FDRBASE) :;;
*) echo $EXTRASFSLIST | grep -qw "$FILENAME" || EXTRASFSLIST="$EXTRASFSLIST $FILENAME";;
esac
+ LASTUNIONRECORD="$LASTUNIONRECORD $FILENAME"
save_bootconfig
}
save_bootconfig() {
EXTRASFSLIST=$(echo $EXTRASFSLIST) # trim blanks
+ LASTUNIONRECORD=$(echo $LASTUNIONRECORD) # trim blanks
echo "EXTRASFSLIST='$EXTRASFSLIST'" > $BOOTCONFIG
echo "PREVUNIONRECORD='$PREVUNIONRECORD'" >> $BOOTCONFIG
echo "LASTUNIONRECORD='$LASTUNIONRECORD'" >> $BOOTCONFIG
@@ -1510,6 +1512,7 @@
fi
LOOPDEV=$(echo "$LOOP"| cut -d':' -f1)
if [ "$LOOPDEV" = "" ]; then
+ remove_item LASTUNIONRECORD "$FILENAME" && REGISTERED="y" || log "'$FILENAME' seems not registered."
save_bootconfig
error --info "$(gettext "Could not find the loaded point.")$(gettext "Maybe already unloaded.")"
return 1 #finish
@@ -1566,6 +1569,7 @@
mv -f "$LOOPLIST.new" "$LOOPLIST"
fi
#true # unless fatal error
+ remove_item LASTUNIONRECORD "$FILENAME" && REGISTERED="y" || log "'$FILENAME' seems not registered."
save_bootconfig
# delete file
RMLOG=""
@@ -1791,7 +1795,6 @@
fi
fi
[ "$SAVEFILE" != "" ] && PSUBDIR=$(dirname "$SAVEFILE"| cut -b2-) # remove '/' at head
-[ "$DESTDIR" -a "$PSUBDIR" -a ! -d "$DESTDIR/$PSUBDIR" ] && PSUBDIR="" # may not yet be created
# 13 Nov 2011: except PUPMODE=7 #2.0.12: PUPMODE=7 optional
case "$PUPMODE" in
5) if [ "$SAVEFILE" != "" ]; then SFSMODE="y"
I have some pets for Slacko64 6.9.6.4 here if they could be of use to you, or anyone really.belham2 wrote:While I am struggling away trying to build a 64-bit puduan debian pup, I gave up for awhile on it and came back to try Micko's dependable Slacko builds. Sure enough, a fresh, up-to-date Slacko64 with the latest kernel built first time thru, everything went great, and she booted straight to desktop. I cannot find (yet) a thing wrong with it, as I've been through nearly everything in the menu so far testing stuff.
I'm not sure I understand correctly the problem but using the latest puppy builds in a frugal install (in a subdir) SFS_load 3.0 detects the SFSs in the subdir, loads them fine and they load again correctly on reboot.shinobar wrote:By the way, sfs_load v3 in the Slacko-6.9.6.4 fails to load extra sfs's in the sub folder(psubdir) at boot.
<snip>
Code: Select all
<snip> @@ -1791,7 +1795,6 @@ fi fi [ "$SAVEFILE" != "" ] && PSUBDIR=$(dirname "$SAVEFILE"| cut -b2-) # remove '/' at head -[ "$DESTDIR" -a "$PSUBDIR" -a ! -d "$DESTDIR/$PSUBDIR" ] && PSUBDIR="" # may not yet be created # 13 Nov 2011: except PUPMODE=7 #2.0.12: PUPMODE=7 optional case "$PUPMODE" in 5) if [ "$SAVEFILE" != "" ]; then SFSMODE="y"
I tried on the Slacko-6.9.6.4 and also on the LxPupSc-17.02.1T frugal install in a subdir.mavrothal wrote:using the latest puppy builds in a frugal install (in a subdir) SFS_load 3.0 detects the SFSs in the subdir, loads them fine and they load again correctly on reboot.
Code: Select all
-[ "$DESTDIR" -a "$PSUBDIR" -a ! -d "$DESTDIR/$PSUBDIR" ] && PSUBDIR="" # may not yet be created
That IS strange As i said I do not see that (anybody else?)shinobar wrote:I tried on the Slacko-6.9.6.4 and also on the LxPupSc-17.02.1T frugal install in a subdir.mavrothal wrote:using the latest puppy builds in a frugal install (in a subdir) SFS_load 3.0 detects the SFSs in the subdir, loads them fine and they load again correctly on reboot.
The SFS in the same subdir loads fine, yes. But it does not load again on reboot.
No problems here - all sfs load perfectly after a reboot......I have 5 in a subdir frugal installmavrothal wrote:That IS strange As i said I do not see that (anybody else?)
Yes strange. But i got itmavrothal wrote:That IS strange As i said I do not see that (anybody else?)
Ah yes - I do see that - you have to do it in the opposite order:shinobar wrote:(3) Load the extra SFS in the subdir.
(4) Save the session making a new pupsave.
Right, for atahdd(PUPMODE=12).peebee wrote:you have to do it in the opposite order:
Make pupsave then
Install sfs
Then all is ok after reboot.
Indeed it fails in PUPMODE=13shinobar wrote:Right, for atahdd(PUPMODE=12).peebee wrote:you have to do it in the opposite order:
Make pupsave then
Install sfs
Then all is ok after reboot.
But it doesn't solve the issue for usbflash/ataflash(PUPMODE=13).
Code: Select all
--- a/etc/rc.d/rc.sysinit
+++ b/etc/rc.d/rc.sysinit
@@ -258,6 +258,29 @@
mount -t tmpfs -o remount,size=${ALLOCK}k tmpfs /initrd/mnt/tmpfs
fi
+# set up /mnt/home link befor sfs_load
+rm -f /mnt/home 2>/dev/null
+if [ ! -d /initrd ];then
+ PUP_HOME='/'
+ echo "PUP_HOME='/'" >> /etc/rc.d/PUPSTATE
+ ln -sv / /mnt/home
+else
+ if [ "$PUP_HOME" ];then #see /etc/rc.d/PUPSTATE
+ if [ "$PUP_HOME" = "/pup_ro1" -o "$PUP_HOME" = "/pup_rw" ];then
+ [ ! -d "$PUP_HOME" ] && echo "ERROR: $PUP_HOME does not exist"
+ #note, PUPMODE=6 will have PUP_HOME=/pup_rw.
+ #in the case of the persistent storage being the partition itself, this will be mounted
+ #on /initrd/pup_ro1 (tmpfs on pup_rw for restricted writes) or directly on /initrd/pup_rw
+ #and we do not really want users to access it as it is an aufs layer. Instead, they are
+ #already accessing it as "/".
+ ln -sv / /mnt/home
+ else
+ [ ! -d "/initrd${PUP_HOME}" ] && echo "ERROR: $PUP_HOME does not exist"
+ ln -sv /initrd${PUP_HOME} /mnt/home
+ fi
+ fi
+fi
+
#------ load extra sfs's if any ------
[ -d /initrd ] && sfs_load --cli start
#-------------------------------------
@@ -466,28 +489,6 @@
hostname -F /etc/hostname
-rm -f /mnt/home 2>/dev/null
-if [ ! -d /initrd ];then
- PUP_HOME='/'
- echo "PUP_HOME='/'" >> /etc/rc.d/PUPSTATE
- ln -sv / /mnt/home
-else
- if [ "$PUP_HOME" ];then #see /etc/rc.d/PUPSTATE
- if [ "$PUP_HOME" = "/pup_ro1" -o "$PUP_HOME" = "/pup_rw" ];then
- [ ! -d "$PUP_HOME" ] && echo "ERROR: $PUP_HOME does not exist"
- #note, PUPMODE=6 will have PUP_HOME=/pup_rw.
- #in the case of the persistent storage being the partition itself, this will be mounted
- #on /initrd/pup_ro1 (tmpfs on pup_rw for restricted writes) or directly on /initrd/pup_rw
- #and we do not really want users to access it as it is an aufs layer. Instead, they are
- #already accessing it as "/".
- ln -sv / /mnt/home
- else
- [ ! -d "/initrd${PUP_HOME}" ] && echo "ERROR: $PUP_HOME does not exist"
- ln -sv /initrd${PUP_HOME} /mnt/home
- fi
- fi
-fi
-
################WAIT MODULES LOADED##################
echo "WAIT MODULES LOADED"
#previous module loading may not have completed...
shinobar wrote:You can reproduce the issue:
(1) Furugal install in a subdir and some extra SFS in the same subdir.
(2) Boot without pupsave.
(3) Load the extra SFS in the subdir.
(4) Save the session making a new pupsave.
(5) reboot with the pupsave. The extra SFS in the subdir does not load.
Code: Select all
--- sfs_load-300 2016-09-11 07:30:18.000000000 +0900
+++ sfs_load 2017-02-26 12:14:39.000000000 +0900
@@ -1370,7 +1370,7 @@
# already at the destination?
SUB=""
[ "$PSUBDIR" != "" ] && SUB="$DESTDIR/$PSUBDIR" || SUB=""
- for D in $DESTDIR $SUB; do
+ for D in $SUB $DESTDIR; do
[ -s "$D/$F" ] && FOUND="$D/$F" && break
done
echo "$FOUND"
@@ -1767,7 +1767,7 @@
*) SAVEFILE="";;
esac
[ "$PUP_HOME" != "" ] && PUPHOME=$INITRDHOME #20151004
- [ "$PUPHOME" = "$INITRDHOME" ] && PUPHOME=$MNTHOME && DESTDIR=$PUPHOME
+ [ "$PUPHOME" = "$INITRDHOME" ] && DESTDIR=$PUPHOME
else
# PUPMODE=2 or 5
if [ "$PUPMODE" = "2" ]; then
@@ -1791,7 +1791,6 @@
fi
fi
[ "$SAVEFILE" != "" ] && PSUBDIR=$(dirname "$SAVEFILE"| cut -b2-) # remove '/' at head
-[ "$DESTDIR" -a "$PSUBDIR" -a ! -d "$DESTDIR/$PSUBDIR" ] && PSUBDIR="" # may not yet be created
# 13 Nov 2011: except PUPMODE=7 #2.0.12: PUPMODE=7 optional
case "$PUPMODE" in
5) if [ "$SAVEFILE" != "" ]; then SFSMODE="y"