(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 22 Sep 2020, 11:27
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
RC7 (STABLE) WeeDogLinux Arch 64 now released
Moderators: Flash, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 26 of 55 [822 Posts]   Goto page: Previous 1, 2, 3, ..., 24, 25, 26, 27, 28, ..., 53, 54, 55 Next
Author Message
rufwoof


Joined: 24 Feb 2014
Posts: 3725

PostPosted: Thu 29 Aug 2019, 17:49    Post subject:  

2nd build using the new scripts but with build_weedog_initramfs05_s100.sh patched to mount with size=100% and to mount my sda3 swap partition ...
Code:
--- build_weedog_initramfs05_s100.sh.orig   2019-08-29 22:07:34.784867156 +0100
+++ build_weedog_initramfs05_s100.sh   2019-08-29 22:10:31.740861058 +0100
@@ -145,7 +145,11 @@
 # Create tmpfs in RAM should grub kernel line request copy2ram or changes=RAM
 if [ \$copy2ram -eq 0 ] || [ "\$changes" == "RAM" ]; then
    mkdir -p /mnt/layers/RAM
-   mount -o mode=1777,nosuid,nodev -n -t tmpfs inram /mnt/layers/RAM # might prefer size limit
+   mount -o mode=1777,nosuid,nodev,size=100% -n -t tmpfs inram /mnt/layers/RAM # might prefer size limit
+   # Rufwoof
+   swapon /dev/sda3
+   mount -o remount,size=13G /mnt/layers/RAM
+   # /Rufwoof
 fi
 
 cd "\${bootfrom}" # where the NN files/dirs and rdshN.plug files are

... so its more stable when running solely in ram/swap.

Video editing (kdenlive, editing a 1 hour long recording) in just ram/swap seems to be working fine
s.png
 Description   
 Filesize   81.63 KB
 Viewed   798 Time(s)

s.png


_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh

Last edited by rufwoof on Thu 29 Aug 2019, 18:14; edited 2 times in total
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 2075
Location: not Bulgaria

PostPosted: Thu 29 Aug 2019, 17:56    Post subject:  

rufwoof wrote:
The more generic
metric=`expr $metric + 1`
runs slower as it starts a separate expr process per increment, but when the number of increments is low, having a script that is more inclined to work if deployed across different shells ???


Yes, maybe, but I think it is only the old Bourne shell that can only evaluate maths that way, so recommended patch $((metric+1)) should be fine and who knows some issue may not otherwise somehow crop up with 'expr' ...? Debatable I suppose.

wiak

_________________
WeeDogLinux forum: https://weedoglinux.rockedge.org/viewforum.php?f=4
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 2075
Location: not Bulgaria

PostPosted: Thu 29 Aug 2019, 18:03    Post subject:  

https://lists.debian.org/debian-boot/2010/02/msg00853.html
Quote:
The easy solution is to use $((metric=metric+1)) instead.

_________________
WeeDogLinux forum: https://weedoglinux.rockedge.org/viewforum.php?f=4
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 2075
Location: not Bulgaria

PostPosted: Thu 29 Aug 2019, 18:05    Post subject:  

rufwoof wrote:
2nd build using the new scripts but with build_weedog_initramfs05_s100.sh patched to mount with size=100%


I'll also add the kernel line "option" to set size in next build_weedog_initramfs script.

I'll also create a linked post that contains submitted firstrib00.plug files, or maybe better simply links to where people post them (since I realise such plugins tend to get regularly updated/added-to).

EDIT: Also, a complex firstrib00.plug often needs its creator to provide extra usage instructions, so linking to firstrib00.plug contributions is better. The main scripts have licence MIT, but since the plugins are separate and only sourced if wished. Good if you put header line comments in your plugin to at least author name, revision number, and date them.

I want to give plugin contributions high prominence on this threads main first post since, aside from WeeDog initramfs provided facilities, the final distro behaviour, integration, utilities, and look and feel depends on the plugin created and used.

wiak

_________________
WeeDogLinux forum: https://weedoglinux.rockedge.org/viewforum.php?f=4
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 2075
Location: not Bulgaria

PostPosted: Thu 29 Aug 2019, 19:11    Post subject:  

First page of thread now contains links, as below to both build script downloads, and also to user-contributed downloads/information, per below:
===============================================

NEW MULTI-DISTRO WeeDog Release announcement. Currently builds flavours: void, ubuntu, debian, devuan (Arch Linux flavour under development)

For downloads, see here:

http://www.murga-linux.com/puppy/viewtopic.php?p=1035524#1035524

distro can currently be one of: ubuntu, debian, devuan, void

release can currently be one of: oldstable, stable, testing, unstable; or xenial, bionic, dingo; stretch, buster, sid; ascii, ceres, beowulf

arch can currently be one of: amd64, i386, arm64 (though build_weedog_initramfs needs modded for arm64 use).

Download locations for additional/optional USER-CONTRIBUTED firstrib plugins:

Please contact me concerning omissions and updates thereafter, wiak

http://www.murga-linux.com/puppy/viewtopic.php?p=1029029#1029029
===============================================

_________________
WeeDogLinux forum: https://weedoglinux.rockedge.org/viewforum.php?f=4
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797

Last edited by wiak on Fri 30 Aug 2019, 18:19; edited 2 times in total
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 1874
Location: Connecticut, United States

PostPosted: Fri 30 Aug 2019, 12:11    Post subject:  

I am testing a almost complete version of the script that will install a LHMP and compile ZoneMinder from source using the master branch of the cutting edge development version of ZM

I will produce a copy using the format indicated by wiak.

I am hammering out the best way to complete the hiawatha.conf and set up the php.ini and /etc/php/conf.d with the symlinks for the needed PHP modules required using the script fully automated

the test is using a firstrib00.plug very similar to the draft i posted a while ago creating a desktop Void Linux based using jwm and rox --pinboard with a few tools included...to build the OS and then letting the ZM_build.sh run after the OS can boot up.

although anyone could manually use the script as a guide and install zoneminder step by step for more control on that process

First runs are showing an OS with a complete LHMP and ZM running in 275 megs of RAM


__
Back to top
View user's profile Send private message Visit poster's website 
tallboy


Joined: 21 Sep 2010
Posts: 1767
Location: Drøbak, Norway

PostPosted: Fri 30 Aug 2019, 16:57    Post subject:  

Hi wiak, I'll play with the new tools, but please, please don't use yellow text! Confused
_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 2075
Location: not Bulgaria

PostPosted: Fri 30 Aug 2019, 17:27    Post subject:  

tallboy wrote:
Hi wiak, I'll play with the new tools, but please, please don't use yellow text! Confused


Actually it was bold orange. Not using red or green in case reader is colour-blind though.

I actually like orange (and yellow) since it is the colour of the warm tropics, but maybe not the colour of cross-country skiing over frozen lakes lands.

wiak

_________________
WeeDogLinux forum: https://weedoglinux.rockedge.org/viewforum.php?f=4
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Back to top
View user's profile Send private message 
tallboy


Joined: 21 Sep 2010
Posts: 1767
Location: Drøbak, Norway

PostPosted: Fri 30 Aug 2019, 17:37    Post subject:  

I'll put on some sunglasses! Laughing
_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 2075
Location: not Bulgaria

PostPosted: Fri 30 Aug 2019, 17:47    Post subject:  

Attached is WeeDog Linux void flavour running MATE Desktop Environment.

I built it using a firstrib00.plug I'm experimenting with - took ages to download all the bits on my 200kB/sec rural broadband connection though.

It's a lovely desktop to use, but its flaky for me right now - some kind of runaway process eating CPU cycles, so I can't recommend it unless I can find a fix for that.

wiak
WeeDog_MateDSKTOP.jpg
 Description   
 Filesize   40.05 KB
 Viewed   668 Time(s)

WeeDog_MateDSKTOP.jpg


_________________
WeeDogLinux forum: https://weedoglinux.rockedge.org/viewforum.php?f=4
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 2075
Location: not Bulgaria

PostPosted: Fri 30 Aug 2019, 18:27    Post subject:  

I find dash a bit of a pain when it is installed and becomes system shell.

Easy way of changing back from dash to bash (and vice-versa) in Void Linux is to run the command:

Code:
xbps-alternatives --set bash


that automatically symlinks everything correctly.

wiak

_________________
WeeDogLinux forum: https://weedoglinux.rockedge.org/viewforum.php?f=4
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3725

PostPosted: Fri 30 Aug 2019, 19:04    Post subject:  

wiak wrote:
Attached is WeeDog Linux void flavour running MATE Desktop Environment.

I built it using a firstrib00.plug I'm experimenting with - took ages to download all the bits on my 200kB/sec rural broadband connection though.

It's a lovely desktop to use, but its flaky for me right now

https://voidlinux.org/news/2014/09/MATE-desktop.html
suggests
Quote:
The minimal MATE desktop is available in the mate meta-package, and all its extra applications (Atril, Pluma, applets, etc) are in the mate-extra package. For additional functionality the ConsoleKit and upower0 packages must also be installed.

To install all MATE packages with full functionality:

# xbps-install -Sv mate mate-extra ConsoleKit upower0
# ln -s /etc/sv/dbus /var/service/
Use mate-session to start it via ~/.xinitrc


NOTE: ConsoleKit no longer exits in the repo, its now ConsoleKit2.
Also with that in firstrib00.plug it will fail as it prompts for a y/n answer and seems to default to no. Adding -y to the xbps-install parameters should override that ?? (trying it now, took less than 10 mins to build (using lz4 -Xhc compression) - just about to boot (745MB initrd sfs))

Last edited by rufwoof on Fri 30 Aug 2019, 19:30; edited 2 times in total
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 2075
Location: not Bulgaria

PostPosted: Fri 30 Aug 2019, 19:17    Post subject:  

rufwoof wrote:
wiak wrote:
Attached is WeeDog Linux void flavour running MATE Desktop Environment.

I built it using a firstrib00.plug I'm experimenting with - took ages to download all the bits on my 200kB/sec rural broadband connection though.

It's a lovely desktop to use, but its flaky for me right now

https://voidlinux.org/news/2014/09/MATE-desktop.html
suggests
Quote:
The minimal MATE desktop is available in the mate meta-package, and all its extra applications (Atril, Pluma, applets, etc) are in the mate-extra package. For additional functionality the ConsoleKit and upower0 packages must also be installed.

To install all MATE packages with full functionality:

# xbps-install -Sv mate mate-extra ConsoleKit upower0
# ln -s /etc/sv/dbus /var/service/
Use mate-session to start it via ~/.xinitrc


I'll try again with that suggestion if I can't otherwise fix it (problem is something to do with gvfs-related process as far as I recall, not on the system just now - probably don't need these bits at all, unless they turn out to be dependencies of some other MATE stuff). I was installing mate-extra.

I was using LXDM to start it all up.

wiak

_________________
WeeDogLinux forum: https://weedoglinux.rockedge.org/viewforum.php?f=4
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 1874
Location: Connecticut, United States

PostPosted: Fri 30 Aug 2019, 19:19    Post subject:  

wiak wrote:
Easy way of changing back from dash to bash (and vice-versa) in Void Linux is to run the command:


Code:
xbps-alternatives --set bash

very cool tip...I was looking for this for my firstrib00.plug
Back to top
View user's profile Send private message Visit poster's website 
rufwoof


Joined: 24 Feb 2014
Posts: 3725

PostPosted: Fri 30 Aug 2019, 22:03    Post subject:  

wiak wrote:
something to do with gvfs-related process as far as I recall

gvfsd-trash produced similar high cpu for me. After killing that it settled down. Rebooting however after saving changes and the problem returned. Repeatedly killall caja after first boot/login ... until no more caja kills occur and the cpu usage dips to near zero.
s.png
 Description   
 Filesize   68.2 KB
 Viewed   629 Time(s)

s.png


_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 26 of 55 [822 Posts]   Goto page: Previous 1, 2, 3, ..., 24, 25, 26, 27, 28, ..., 53, 54, 55 Next
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. 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.0785s ][ Queries: 12 (0.0231s) ][ GZIP on ]