| Author |
Message |
shinobar

Joined: 28 May 2009 Posts: 2271 Location: Japan
|
Posted: Wed 04 Jan 2012, 06:47 Post_subject:
pupsaveconfig-2.0.1 |
|
pupsaveconfig-2.0.1.pet, sync with woof2 2012-01-03.
See the top post.
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
grimoire

Joined: 04 Jul 2010 Posts: 68
|
Posted: Wed 04 Jan 2012, 12:57 Post_subject:
Re: pupsaveconfig-2.0.1 |
|
This one works well in lucid 5.28!
|
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Mon 09 Jan 2012, 13:29 Post_subject:
|
|
Would it be possible to get a patch file for the mods you make to rc.shutdown? I want to add this to saluki, but it's very difficult to keep sync with woof without the original patch. Thanks!
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2271 Location: Japan
|
Posted: Mon 09 Jan 2012, 21:37 Post_subject:
rc.shutdown patch |
|
| jemimah wrote: | | Would it be possible to get a patch file for the mods you make to rc.shutdown? I want to add this to saluki, but it's very difficult to keep sync with woof without the original patch. Thanks! |
@jemimah
Take the attached, but...
It is difficult to maintain with a patch because the rc.shutdown of pupsaveconfig is far from the original.
Maybe there is another difficulty in woof build after Barry introduced his shutdownconfig.
But i always look up the latest rc.shutdown in woof(2) and try to merge.
Everytime I make a diff and merge them manually.
See the comment both of woof and pupsaveconfig.
The pupsaveconfig-2.0.1 syncs with the woof2 at 2012-01-03
| Code: | | #120103 karl godt: error unmounting stray partitions. 120103 karl godt: more tweaks. |
| Description |
A patch against /etc/rc.d/rc.shutdown
|

Download |
| Filename |
rc.shutdown-20120103-pupsaveconfig.patch.gz |
| Filesize |
15.66 KB |
| Downloaded |
236 Time(s) |
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Tue 10 Jan 2012, 13:37 Post_subject:
|
|
Thanks. It does seem quite difficult to figure out how to maintain. I will test it.
|
|
Back to top
|
|
 |
The Kool
Joined: 17 Oct 2011 Posts: 4
|
Posted: Mon 06 Feb 2012, 13:00 Post_subject:
|
|
I tried this a few times. I start with a completely fresh install of Slacko 531 on a usb, and I set it to never save, which is what I want (I don't even want it to ask). I tell it to shut down, it restarts X instead.
Any help? I really want this working, or at least SOMETHING that will keep it from saving at shutdown.
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2199 Location: UK
|
Posted: Wed 22 Feb 2012, 21:00 Post_subject:
|
|
I too am looking to get some of the latest fixes in the rc.shutdown from woof2 into my rc.shutdown, which is mostly like that of pupsaveconfig 2.0 (soon to be 2.0.1+plus my changes)...
So I would appreciate any patches that are posted to this thread, which contain individual updates found in woof2, made ready to patch into the rc.shutdown of pupsaveconfig releases... I'll post any I make here...
The Kool: look here - http://www.murga-linux.com/puppy/viewtopic.php?p=383738#383738
Basically, 'snapmergepuppy' is the cmd that saves... disable it, or see the lines above, in more recent rc.shutdown files (supplied by pupsaveconfig)
You can also set SAVE INTERVAL to 0 (zero) in "eventmanager", so puppy won't save automatically while in use...
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2271 Location: Japan
|
Posted: Thu 23 Feb 2012, 08:38 Post_subject:
PupsaveConfig-2.1 |
|
Ok, download pupsaveconfig-2.1.pet as a test release.
syc with woof2 2012-02-19, unmount NFS/SSHFS, EJECTCD flag.
http://shino.pos.to/linux/puppy/
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2271 Location: Japan
|
Posted: Mon 12 Mar 2012, 07:16 Post_subject:
Pupsaveconfig-2.1.1 |
|
Pupsaveconfig-2.1.1
# v2.1.1 1mar12: avoid space in path
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
sszindian

Joined: 24 Apr 2010 Posts: 491 Location: Pennsylvania U.S.
|
Posted: Mon 12 Mar 2012, 17:06 Post_subject:
014 |
|
Post In Error:
_________________ Cloud Computing For Every Puppy (a .pet)
http://murga-linux.com/puppy/viewtopic.php?t=69192
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2271 Location: Japan
|
Posted: Fri 06 Apr 2012, 09:53 Post_subject:
PupsaveConfig-2.1.2 |
|
# v2.1.2 6apr12: fix was EJECTCD not chenger under PUPMODE=13 (thanks to Jades)
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2271 Location: Japan
|
Posted: Tue 10 Apr 2012, 01:34 Post_subject:
PupsaveConfig-2.2pupsaveconfig-2.2.pet |
|
Long persistent bug!
Was failed with the bootfash comboformat install. Thanks to Ghost Dog who reported this.
pupsaveconfig-2.2.pet from http://shino.pos.to/linux/puppy/ please.
| Code: | # v2.2 8apr12: fix was failed with no space partition(tnx to Ghost Dog), fix was failed with SAVEMARK, fix was failed mmc card, default partition and folder, exit 0 (thanks to don)
# v2.2 10apr12: sync with woof 20409, kill acpid (rc.shutdown) |
You need not upgrade if you already running puppy with pupsaveconfig. Upgrade is recommended to the pupplet builders or you are going to remaster.
Note for full install: You need to modify /etc/rc.d/rc.sysinit or rc.local to purge /tmp/*. See the detail at Barry's blog.
http://bkhome.org/blog/?viewDetailed=02789
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Fri 13 Apr 2012, 22:10 Post_subject:
|
|
A little feedback on 2.2.
I always change the notebook dialog back to an hbox. Otherwise some user occasionally reports not being able to find the settings (which are on the second tab). I think it's nicer with one screen too.
I think you should remove 32MB as a size option because a lot of the time if you make a save file that's too small bad things happen on the next boot.
Seems to be working fine in my initial testing.
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2732 Location: Kiel,Germany
|
Posted: Sun 15 Apr 2012, 16:59 Post_subject:
|
|
For the pupsave too small this happened to me too now
I could imagine something like this :
| Code: | # diff -up /initrd/pup_ro2/usr/bin/pupsaveconfig /usr/bin/pupsaveconfig
--- /initrd/pup_ro2/usr/bin/pupsaveconfig 2012-04-14 00:52:29.000000000 +0100
+++ /usr/bin/pupsaveconfig 2012-04-15 22:46:58.277478425 +0100
@@ -1496,7 +1496,13 @@ $BUTTONS
determinsize || continue # v2.2
[ "$MSG" = "$MSG0" ] && MSG=$MSG1
SIZELIST="$MSIZE@MB"
- for ACHOICE in 64 128 256 512 768 1024 1536 2048 # v2.2: 32MB in choice
+ DU_INITRD_PUP_RW=`du -B 1M -c /initrd/pup_rw |tail -n1 |awk '{print $1}'` #du 1M=1024,1MB=1000
+ VALUES='32 64 128 256 512 768 1024 1280 2048 4096'
+ for val in $VALUES;do
+ [ "$val" -gt "$DU_INITRD_PUP_RW" ] && VALIDS="$VALIDS $val"
+ done
+ #for ACHOICE in 64 128 256 512 768 1024 1536 2048 # v2.2: 32MB in choice
+ for ACHOICE in $VALIDS
do
SIZE=$ACHOICE
[ $SIZE -gt $MFREE ] && SIZE=$MFREE
|
This also is an inconvenience-bug in the regular shutdownconfig by Barry :
| Code: | # diff -up /initrd/pup_ro2/usr/sbin/shutdownconfig /usr/sbin/shutdownconfig
--- /initrd/pup_ro2/usr/sbin/shutdownconfig 2011-11-10 05:11:50.000000000 +0100
+++ /usr/sbin/shutdownconfig 2012-04-15 22:37:10.343996867 +0100
@@ -63,6 +63,8 @@ else
BACKGROUNDORANGE=''
fi
+DU_INITRD_PUP_RW=`du -B 1M -c /initrd/pup_rw |tail -n1 |awk '{print $1}'` #M=1024,MB=1000
+
choosepartfunc() {
#dialog to choose what partition to create ${DISTRO_FILE_PREFIX}save.2fs on...
T_admin="$(gettext 'administrator')"
@@ -274,11 +276,15 @@ Or, \Zb\\\${T_abort}\ZB to shutdown with
} #end choosepartfunc
choosesizefunc(){
- local KFREE SIZELIST NUM CHOICES FLABEL SLABEL ACHOICE KSIZE
+ local KFREE SIZELIST NUM CHOICES FLABEL SLABEL ACHOICE KSIZE VALUES VALIDS val
KFREE=$1 ; SIZELIST="" ; NUM=1 ; CHOICES=""
FLABEL="`expr $KFREE \/ 1024`MB"
[ $KFREE -ge 1048576 ] && FLABEL="`dc $KFREE 1048576 \/ p`GB"
- for ACHOICE in 32 64 128 256 512 768 1024 1280 2048 4096
+ VALUES='32 64 128 256 512 768 1024 1280 2048 4096'
+ for val in $VALUES;do
+ [ "$val" -gt "$DU_INITRD_PUP_RW" ] && VALIDS="$VALIDS $val"
+ done
+ for ACHOICE in $VALIDS
do
KSIZE=`expr $ACHOICE \* 1024`
SLABEL="${ACHOICE}MB"
@@ -297,6 +303,7 @@ choosesizefunc(){
T_sizetitle="$(gettext 'First shutdown: size save-file')"
T_sitemenu="$(gettext 'Please choose the size you would like for the personal save file.
Note, 512M is a good choice, or highest if that not available.
+Note, ${DU_INITRD_PUP_RW}M have accumulated in this session .
Select choice, then click OK button...')"
${DIALOGEXE} ${BACKGROUNDYELLOW} ${TITLEPARAM} "$T_sizetitle" --no-collapse --no-cancel --default-item "5" --menu "$T_sitemenu" 0 0 0 $SIZELIST >/dev/console 2>/tmp/sizetag.txt
NUM=`cat /tmp/sizetag.txt` |
This i posted for archive's sake in case this gets lost because pupsave too small NOTE: Not tested yet .
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7037 Location: qld
|
Posted: Sun 22 Apr 2012, 15:54 Post_subject:
|
|
There seems to be a problem in 2.2 if your partitions are numbered > 10. The count is not in order and subsequently partitions in the GUI get the wrong label resulting in a save to the wrong partition (eg, I chose sda1 and the save was found on sda10 )
Reported here
Thanks
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
|