Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 21 Apr 2014, 06:55
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
PupsaveConfig-2.2.5
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 9 of 11 [160 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11 Next
Author Message
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: 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.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
grimoire


Joined: 04 Jul 2010
Posts: 68

PostPosted: Wed 04 Jan 2012, 12:57    Post subject: Re: pupsaveconfig-2.0.1  

This one works well in lucid 5.28! Smile
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: 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
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: 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.
rc.shutdown-20120103-pupsaveconfig.patch.gz
Description  A patch against /etc/rc.d/rc.shutdown
gz

 Download 
Filename  rc.shutdown-20120103-pupsaveconfig.patch.gz 
Filesize  15.66 KB 
Downloaded  319 Time(s) 

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: 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
View user's profile Send private message Visit poster's website 
The Kool

Joined: 17 Oct 2011
Posts: 4

PostPosted: 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
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2364
Location: UK

PostPosted: 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
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: 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/

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: Mon 12 Mar 2012, 07:16    Post subject: Pupsaveconfig-2.1.1  

Pupsaveconfig-2.1.1
# v2.1.1 1mar12: avoid space in path

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
sszindian


Joined: 24 Apr 2010
Posts: 578
Location: Pennsylvania U.S.

PostPosted: 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
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: 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)
_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: 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

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: 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. Very Happy
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3860
Location: Kiel,Germany

PostPosted: Sun 15 Apr 2012, 16:59    Post subject:  

For the pupsave too small this happened to me too now Embarassed

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 Smile NOTE: Not tested yet .
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: 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 Sad )

Reported here

Thanks

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 9 of 11 [160 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0789s ][ Queries: 13 (0.0075s) ][ GZIP on ]