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 Fri 19 Dec 2014, 10:28
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Woof at Github
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 14 [210 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 12, 13, 14 Next
Author Message
mavrothal


Joined: 24 Aug 2009
Posts: 1894

PostPosted: Fri 15 Nov 2013, 01:55    Post subject: Re: woof-CE mailing list  

01micko wrote:
Ha what a bout a good old fashioned mailing list Smile

This will be a cool place for all those following woof development but not particularly interested in getting their hands dirty and it will be great for developer collaboration as well..

http://woof-ce.26403.n7.nabble.com/Welcome-to-the-woof-mailing-list-td2.html


Nice!
Let's see if it works Wink

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
Karl Godt


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

PostPosted: Fri 15 Nov 2013, 04:26    Post subject:  

Of course !

Have finished 90% of my first rc.shutdown ideas , hope you are satisfied ..

For the idea to add some options , I have played with that long time ago.
Horrible because the many shutdown scripts need to pass them to rc.shutdown.

I feel like a cotton picker centuries ago . Will wash myself with shoe cream now ..
Back to top
View user's profile Send private message Visit poster's website 
SFR


Joined: 26 Oct 2011
Posts: 1111

PostPosted: Fri 15 Nov 2013, 09:50    Post subject:  

Hi guys

Speaking of rc.shutdown - what do you think about including there the "save-on-demand" dialog (PUPMODE=13) at last?
Despite the fact I'm a big fan of it personally, the issue pops up quite often, from what I've seen in Beginners/Users sections.
BTW, an opinion of a happy customer. Wink
pchan @X-Precise thread wrote:
Thanks so much rg66 for x precise 2.2! Thanks especially for making it possible for users to choose whether to save or not save when shutting down. It is a very wise thing to do and it will help us non technical users to have more confident in using puppy linux. In the past, I have damaged my save files so many times because I downloaded and installed something not suitable and when it comes to shutdown time, I can't stop puppy from saving my mismanaged session.

But if this would be included, a couple of other things can not be forgotten:
1. Save interval ought to be set to 0 by default, of course.
2. Petget, in PUPMODES 3/7/13, saves files directly to pup_ro1.
If it would be left as it is, after installing a package and rebooting without saving a session, the package's files remain installed, but can't be found on the list, since contents of ~/.packages/... won't get saved as well.
___________

Second thing: I've unlocked (in initrd.gz/init) the possibility to fsck encrypted savefile, but:
init wrote:
[ "$PFSCK" = "yes" ] && fsckme_func loop1 ext2 #100318 however, commented out as there was an old not that f.s. check on an encrypted pupsave is broken.

Does anyone recall/know what was the exact nature of the issue?
Almost 4 yrs have passed, maybe it no longer applies? If so, would be nice to have it re-enabled.
Anyway, I haven't noticed anything bad, since I unlocked it a few months ago.

Just a couple of suggestions. Cool

Keep up the good work &
Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1894

PostPosted: Fri 15 Nov 2013, 10:20    Post subject:  

SFR wrote:

Just a couple of suggestions. Cool


Suggestions are ok but (tested) patches is what is needed Wink

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1111

PostPosted: Fri 15 Nov 2013, 11:44    Post subject:  

Hey Mavrothal

Well, I just wanted to check first is there anyone out there who's willing to support those suggestions, besides I'm not really considering myself as a dev and have never used GIT, so...
Anyway, since you're saying it's needed - no problemo. Wink
Here are the patches, however dunno if I've made them as they *should* be done (they're tested though and work ok with 'patch -p1 < filename'):
[btw, unfortunately I can't recall from where exactly I "borrowed" the code of a dialog window for rc.shutdown; I only added gettext from my side]

Code:
--- ./woof-CE-master/woof-code/rootfs-skeleton/etc/rc.d/rc.shutdown   2013-11-12 22:24:11.000000000 +0100
+++ ./woof-CE-master/woof-code/rootfs-skeleton/etc/rc.d/rc.shutdown   2013-03-05 17:06:50.000000000 +0100
@@ -435,9 +435,13 @@
  13) #PDEV1 and PUPSFS and PUPSAVE
   #/initrd/pup_rw has tmpfs, pup_ro1 has ${DISTRO_FILE_PREFIX}save.2fs file (PUPSAVE), pup_ro2 has PUPSFS file.
   #the above are in unionfs at /.
-  echo "$(eval_gettext "Saving session to \${SAVEFILE} (\${SAVEPART})...")" >/dev/console
-  #echo "Saving session to $SAVEFILE (${SAVEPART})..." >/dev/console
-  /usr/sbin/snapmergepuppy /initrd/pup_ro1 /initrd/pup_rw
+      dialog --timeout 60 --yes-label "$(eval_gettext "SAVE")" --no-label "$(eval_gettext "NO SAVE")" --yesno "$(eval_gettext "Press ENTER key to save session...
+Or, press TAB then ENTER to not save session...
+Or, wait 60 seconds to shutdown without saving session...")" 0 0 >/dev/console
+  if [ $? -eq 0 ]; then
+    echo "$(eval_gettext "Saving session to \${SAVEFILE} (\${SAVEPART})...")" >/dev/console
+    /usr/sbin/snapmergepuppy /initrd/pup_ro1 /initrd/pup_rw
+  fi
   ;;
  128) #1st shutdown, save to ${DISTRO_FILE_PREFIX}save.2fs.
   #partition already mounted on $SMNTPT.

Code:
--- ./woof-CE-master/woof-code/rootfs-skeleton/etc/eventmanager   2013-11-12 22:24:11.000000000 +0100
+++ ./woof-CE-master/woof-code/rootfs-skeleton/etc/eventmanager   2013-11-15 15:54:29.776387917 +0100
@@ -3,7 +3,7 @@
 
 #this parameter is read by /sbin/pup_event_frontend_d...
 #For odd-numbered PUPMODE, periodic save in minutes. 0=no periodic save...
-RAMSAVEINTERVAL=30
+RAMSAVEINTERVAL=0
 
 #read by pup_event_frontend_d. major switch to kill pup_event_backend_d...
 BACKENDON="true"

Code:
--- ./woof-CE-master/woof-code/rootfs-skeleton/usr/local/petget/installpkg.sh   2013-11-12 22:24:11.000000000 +0100
+++ ./woof-CE-master/woof-code/rootfs-skeleton/usr/local/petget/installpkg.sh   2013-11-15 16:14:51.359705265 +0100
@@ -122,7 +122,7 @@
 DIRECTSAVEPATH=""
 #111013 shinobar: this currently not working, bypass for now... 111013 revert...
 #if [ "ABC" = "DEF" ];then #111013
-if [ $PUPMODE -eq 3 -o $PUPMODE -eq 7 -o $PUPMODE -eq 13 ];then
+if [ $PUPMODE -eq 3 -o $PUPMODE -eq 7 ];then   # SFR: enable installing to TMPFS in PUPMODE=13
  FLAGNODIRECT=1
  [ "`lsmod | grep '^unionfs' `" != "" ] && FLAGNODIRECT=0
  #100426 aufs can now write direct to save layer...

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Karl Godt


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

PostPosted: Fri 15 Nov 2013, 12:26    Post subject:  

Yeah, SFR , I fully understand your request , and think I will implement it .
There are several years code snips on the forum about it scattered everywhere, so am not sure who to credit it to , except
"seen here : http://url - maybe there finds older as well"
.

For now my plan is first to rearrange the pupmode code , so similar pupmodes follow each other and aren't scattered randomly .

Do you think, PUPMODE 13 is the only one ?
I could think of a function in the function section of rc.shutdown and add commented lines to call that function as first commit , so the user needs just to un-comment it , if desired .
And after two or three Puppy builds enabling them by default .
Back to top
View user's profile Send private message Visit poster's website 
SFR


Joined: 26 Oct 2011
Posts: 1111

PostPosted: Fri 15 Nov 2013, 13:23    Post subject:  

Hey Karl

Quote:
Do you think, PUPMODE 13 is the only one ?

You mean 3 & 7?
I'm using only 13 + sporadically 12 (and 5 of course), so I'm not sure if I fully understand how exactly 3 & 7 work, even after reading:
http://puppylinux.com/development/howpuppyworks.html
However, I just examined Shinobar's PupSaveConfig (oh, it's the origin of the dialog code, btw) and those two modes are also covered there indeed (save_flash () func in rc.shutdown).

Thanks &
Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1894

PostPosted: Fri 15 Nov 2013, 13:36    Post subject:  

SFR wrote:
Hey Mavrothal

Well, I just wanted to check first is there anyone out there who's willing to support those suggestions, besides I'm not really considering myself as a dev and have never used GIT, so...
Anyway, since you're saying it's needed - no problemo. Wink

SRF,
thanks for the patch.
I think that having it as a default for USB boots is not the best option.
For the people that do not want to save at the end of the run I can image many more that do.
Also systems will limited RAM (512MB) will be in trouble fast and even with 1GB you can get tight running libreoffice and chrome with few tabs open.
If pupsveconfig can customize this it is maybe better to include it in future pups than make it default.
But hey, there are many people that can commit in woof-CE Wink

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
Karl Godt


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

PostPosted: Fri 15 Nov 2013, 14:27    Post subject:  

SFR, have made two commits :

1st to add the function
https://github.com/KarlGodt/woof-CE/commit/ef5ed740e1b60a1e6b533348299bc575ea91cf99

2nd to add the call for the function
https://github.com/KarlGodt/woof-CE/commit/2a69af9641342cd27dfb89b8c5bf78e217def41c
Back to top
View user's profile Send private message Visit poster's website 
SFR


Joined: 26 Oct 2011
Posts: 1111

PostPosted: Fri 15 Nov 2013, 15:48    Post subject:  

Thank you Karl! Smile

mavrothal wrote:
Also systems will limited RAM (512MB) will be in trouble fast and even with 1GB you can get tight running libreoffice and chrome with few tabs open.

Hmm, perhaps I misunderstood you or am missing something, but from my experience files in tmpfs remain there even after saving a session anyway, so decrease of RAM could happen only if a user would start massive_installation_of_packages (packages > tmpfs instead of pup_ro1). That would be the only difference, I guess...
But like I said, it's just a suggestion, I won't be crying (too long) if those changes won't get included in the next Pups. Wink

A propos, you just reminded me something - looks like there used to be such mechanism (to delete source files after copying to pup_ro1) in snapmergepuppy, but the relevant lines are commented out.
Again - anyone knows why it's been disabled?
That would be a perfect solution...

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Fri 15 Nov 2013, 21:31    Post subject:  

woof-CE should be ready to build from now. There were some teething problems migrating the repository from fossil to git, I committed the fixes to the testing branch pending a sanity check then will merge with master. Karl, you might be interested in merging the changes into your repository.

Anyone else.. go grab it...
Code:
git clone https://github.com/puppylinux-woof-CE/woof-CE/tree/testing


Edit1

I'm uploading the first test build now, it has a very recent kernel but it is in no way polished, that is there has been no bug fixing of the OS (based on slacko-5.6) and the kernel config is incomplete (re tempestuous in the 5.6 dev thread). I'll post the link here when it's uploaded. I don't want to hear about OS specific bugs but if you spot a woof bug then yes. Smile

Edit2
Ok here it is, a whopping 193M, but I put google-chrome in it, it's for a project I'm doing so never mind that, it works ok
http://01micko.com/testing/

Kernel source is there too if you need modules, also use the slacko-5.6(.0) devx with the latest kernel_headers package installed (also there).
Screenshot.jpg
Description  Inaugural pup built with woof-CE, seems pretty sane to me :). Running in VBox
jpg

 Download 
Filename  Screenshot.jpg 
Filesize  106.14 KB 
Downloaded  225 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
oldyeller


Joined: 15 Nov 2011
Posts: 822
Location: Mishawaka IN

PostPosted: Sat 16 Nov 2013, 00:41    Post subject:  

Hi Mick,

I am going to download the iso and woof. Need to check out git too.

Thanks to the Team

Cheers
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Sat 16 Nov 2013, 00:56    Post subject:  

oldyeller wrote:
Hi Mick,

I am going to download the iso and woof. Need to check out git too.

Thanks to the Team

Cheers

Good on you oldyeller, testers are what we need Smile .

FYI, just this minute I merged testing to master so you can clone the repo as usual.
Code:
git clone https://github.com/puppylinux-woof-CE/woof-CE


Cheers!

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
James C


Joined: 26 Mar 2009
Posts: 5970
Location: Kentucky

PostPosted: Sat 16 Nov 2013, 01:12    Post subject:  

01micko wrote:

I'm uploading the first test build now, it has a very recent kernel but it is in no way polished, that is there has been no bug fixing of the OS (based on slacko-5.6) and the kernel config is incomplete (re tempestuous in the 5.6 dev thread).


Guess I'll do a little testing....did pause for a moment when I saw it was PAE though. Downloading now anyway....
Back to top
View user's profile Send private message 
James C


Joined: 26 Mar 2009
Posts: 5970
Location: Kentucky

PostPosted: Sat 16 Nov 2013, 01:41    Post subject:  

Quick testing....... manual frugal install on a real ext3 partition.
It boots, auto-connects to the internet,straight to the correct screen resolution.sound works and Chrome is working..... Laughing

# report-video
VIDEO REPORT: Slacko Puppy, version 5.6.0.5

Chip description:
VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)

Requested by /etc/X11/xorg.conf:
Resolution (widthxheight, in pixels): 1024x768
Depth (bits, or planes): 24
Modules requested to be loaded: dbe

Probing Xorg startup log file (/var/log/Xorg.0.log):
Driver loaded (and currently in use): intel
Loaded modules: dbe dri dri2 extmod fb glx kbd mouse record

Actual rendering on monitor:
Resolution: 1024x768 pixels (270x203 millimeters)
Depth: 24 planes

...the above also recorded in /tmp/report-video
# glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
376 frames in 5.0 seconds = 74.608 FPS
376 frames in 5.0 seconds = 75.156 FPS
376 frames in 5.0 seconds = 75.125 FPS

-Computer-
Processor : Intel(R) Pentium(R) 4 CPU 2.80GHz
Memory : 2585MB (205MB used)
Machine Type : Physical machine
Operating System : Slacko Puppy - 5.6.0.5
User Name : root (root)
Date/Time : Fri 15 Nov 2013 11:52:55 PM CST
-Display-
Resolution : 1024x768 pixels
OpenGL Renderer : Mesa DRI Intel(R) 865G x86/MMX/SSE2
X11 Vendor : The X.Org Foundation
-Audio Devices-
Audio Adapter : ICH4 - Intel ICH5

-Version-
Kernel : Linux 3.10.19 (i686)
Version : #1 SMP Wed Nov 13 16:52:29 EST 2013
C Library : GNU C Library version 2.15 (stable)
Distribution : Slacko Puppy - 5.6.0.5


Code:
# free
             total         used         free       shared      buffers
Mem:       2585176       689352      1895824            0        79636
-/+ buffers:             609716      1975460
Swap:      4198396            0      4198396
#


At a fast glance the basics look solid.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 14 [210 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 12, 13, 14 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.1197s ][ Queries: 13 (0.0091s) ][ GZIP on ]