Puppy Packetmanager(PPM2) does save when it should not

Please post any bugs you have found
Post Reply
Message
Author
backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

Puppy Packetmanager(PPM2) does save when it should not

#1 Post by backi »

Using Tahrpup 6.0.5 frugally installed to Flash .
As i experienced ...when running Puppys with New Puppy Packet Manager (PPM2) ... even in "no save mode " .... setting Pup Event Manager-Save-Intervals=0
(only saving on demand with save2flash )
also using Puppy Packetmanager-Configure"install to tmpfs instead of savefile, till session is saved" .....
when installing pets or installing from Puppy Packet Manager (PPM2) during session ........
they are immediately saved to save-folder despite Pup Event Manager set to Save-Intervals=0.
Other changes (configuration,Wallpaper changing ) will not be saved during session ...in this mode .

Which means using :

1.Puppy Packetmanager-Configure"install to tmpfs instead of savefile, till session is saved" does not work.
2.setting Pup Event Manager-Save-Intervals=0 does not work .
3.installing Pupsaveconfig 2.2.6 does not work ......
to prevent saving to flash when installing pets or installing from Puppy Packet Manager (PPM2) .
This is corroborated from different other users .
See Discussion here :

My suspicious:
its a special problem from PPM2
See also discussion here:

http://murga-linux.com/puppy/viewtopic. ... 204#930204

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#2 Post by mavrothal »

Try this patch

Code: Select all

--- a/usr/local/petget/installpkg.sh
+++ b/usr/local/petget/installpkg.sh
@@ -185,7 +185,8 @@
 #elif [ "ABC" = "DEF" ];then #111013
 elif [ $PUPMODE -eq 3 -o $PUPMODE -eq 7 -o $PUPMODE -eq 13 ];then
   # SFR: let user chose...
-  [ -f /var/local/petget/install_mode ] && IMODE="`cat /var/local/petget/install_mode`" || IMODE="savefile"
+  [ -f /var/local/petget/install_mode ] && IM="`cat /var/local/petget/install_mode`" || IMODE="savefile"
+  [ "$IM" = "true" ] && IMODE="tmpfs" || IMODE="savefile"
   if [ "$IMODE" != "tmpfs" ]; then
     FLAGNODIRECT=1
     #100426 aufs can now write direct to save layer...
(fixed in woof too)
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#3 Post by backi »

thanks for reply ..........going to test ...

Post Reply