RC7 (STABLE) WeeDogLinux Arch 64 now released

A home for all kinds of Puppy related projects
Message
Author
User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#701 Post by rockedge »

Another success.

created a WeeDog using the latest scripts. Booted into that WeeDog and ran the mount firstrib_rootfs script and copied build_ZM.sh into /root and ran it. After successful completion and start in the chroot'ed firstrib_rootfs running in the WeeDog that came from it.

Performed the steps as indicated in the upgrade kernel method to rebuild the initramfs05.gz which worked as well. System booted and ZM runs.

Although the version where I run ZM in the chroot'ed file system in the WeeDog seems to be really a smooth running interesting option. There is the possibility of packaging an ISO at this stage of a finished system.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#702 Post by rockedge »

I found out I can run the umount script for the firstrib_rootfs filesystem with zoneminder and LHMP instances still running and they continue to run normally as if built into the host system file structure.
Although the command line controls can't be used unless the mount script is run again in a terminal, the web console start/stop switch works fine.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#703 Post by wiak »

rockedge wrote:I found out I can run the umount script for the firstrib_rootfs filesystem with zoneminder and LHMP instances still running and they continue to run normally as if built into the host system file structure.
Although the command line controls can't be used unless the mount script is run again in a terminal, the web console start/stop switch works fine.
I don't quite follow what you mean rockedge, but sounds interesting!

I still haven't got round to implementing Arch addition to firstrib rootfs build possibility, but not important really since most of us are using Void flavour weedog. I am slowly getting round to looking at merging upper_changes options (still to examine rufwoof's variants of doing that).

wiak

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#704 Post by rockedge »

what did was setup WeeDog with the latest versions of the build scripts and my firstrib00-32.plug. All done in a frugal install on a HDD connected via USB adapter.

so the directory contains the firstrib_rootfs with mount and umount script included. So all together with the vmlinuz, initramfs05.gz and upper_changes.

I boot that system and then open a terminal and use the mount script to chroot the firstrib_rootfs. I ran the build_ZM.sh script in that terminal sp zoneminder is built in the firstrib_rootfs.

that worked and with some tweaking got the whole ZM and web server started.
once ZM was running I ran the umount script in the chroot firstrib_rootfs terminal and closed the terminal.

now zoneminder is only installed in the firstrib_fs and does not appear in the /upper_changes or the 01firstrib_rootfs.sfs

I can now run Firefox and open up the ZoneMinder web console with http://localhost/zm and ZM works fully. To turn off the ZM and web server
I will have to cd to /mnt/sdb1/weedog and open a terminal and again run the mount script to be able to use command line to stop,start or restart the servers.
Or I can use the web console in Firefox to start stop restart the ZM server only. Hiawatha and mysql database can only be controlled from the terminal command line.

this is very interesting as I can configure ZM to store the recorded data in completely different locations. So it looks like I am booting the 01firstrib_rootfs.sfs and later using firstrib_rootfs chroot'ed in the system started from the .01firstrib_rootfs.sfs


I also found out that stemsee's dir2sfs version works very well in this WeeDog32.


http://www.murga-linux.com/puppy/viewto ... 51#1040151


**

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#705 Post by wiak »

Hi rockedge,

Interesting to hear you running firstrib inside weedog. Good what you describe is all working. I haven't managed to get round to the various things I'm eventually planning to. In fact, I'll have to come back to weedog matters later (but I will). Presently, I'm setting up web-services for my partner's (spouse) business, so its all DNS records and the like at the moment. Then, having developed a fork of static website generator some longish time ago, I'm looking at different static site generators to see how flexible they perform - Jekyl and suchlike. What I adopt partly depends on the software license and ongoing development history and whether I decide instead to use dynamic site with php, which I've done in the past. I don't want to use site-builders like Wix though - too slow and complex messy code - I like simplicity and the flexibility that comes from the malleability of that. Having said that, Jekyl (can't remember the spelling,) might turn out more complex than I like too so will depend on the benefits. Of course, web dev work is useful later for improving firstrib & weedog public face.

wiak

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#706 Post by rockedge »

There is now a firstrib00-32-auto.plug and also a firstrib00-64-auto.plug that will build a Void Linux WeeDog OS. This version will set up automatic login as root and activate the graphical desktop. Plus small addition to the menu.

Again the window manager is JWM and desktop icons and background are provided by ROX --pinboard. The file manager is rox-filer. The same few packages are preinstalled as in the original plug files.

Once again this is the link for the plug files and build scripts for WeeDog:

https://github.com/techrockedge/weedog-ZM

The procedure is the same. Create a directory copy the 2 build scripts and the proper plug file to this directory and run them individually or chained by a script such as run_all.sh.

set up a Grub4Dos menu.lst entry or Grub2 if that is the case and boot.

I have also experimented with an Openbox & Tint2 desktop with a Thunar file manager which works well and can be added or built from the start with a modified plug file.

Next step will be to automate the xlunch menu creation at the first run time. And eventually replace the pmcputemp and retrovol with native Void Linux versions for CPU temp and volume and alsa mixer.

Here is a screenshot of WeeDog64 (Void) with some more customization ->

***
Attachments
2019-11-09-123833_1280x1024_scrot.png
(177.83 KiB) Downloaded 1042 times

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#707 Post by rockedge »

Also making some headway now on creating a ZoneMinder package for Void Linux (WeeDog) using the xbps-src scripts.

I am looking at template files in the void-packages github and slowly learning by trial and error to get something to build.

So far I am getting many of the dependencies to setup and build but I am not quite sure how to get the main zoneminder source to be in the correct package yet so the build errors out after getting to the zoneminder build configuration

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#708 Post by wiak »

Your desktop looks quite polished bow rockedge. Will be great for the Void community if you manage to produce full zoneminder package for their repos.

I'd really love to get back to further WeeDog work but my partner's business needs are currently keeping me swamped with web development related work. Just now it is Hugo static site work, but she is also thereafter needing other ecommerce-type site and this is not my field of immediate expertise... Anyway, good to know you are keeping the Firstrib/WeeDog flag flying!

wiak

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#709 Post by rockedge »

I've built several successful eCommerce sights.......it is time consuming.

Content is the key.....if the content of the site is good almost any ecommerce web site software will do the trick. I've used oscommerce often as well as Magento and some WordPress plugin stuff.

the attention to details is time consuming.

So far the build_ZM.sh script does the best job on Void installing a working zoneminder...but I am getting closer to a successful ZM Void package creation!

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#710 Post by s243a »

wiak wrote:EDIT: Have since added petget (files takes from BionicDog64) so I could try "pkg repo-update". Basically just copied over the whole folder /usr/local/petget and then made a symlink ln -s /usr/local/petget /usr/bin/petget/petget. I'm not sure what difference having petget has (and would prefer anyway if pkg was not petget dependent in anyway). I think I needed to use xbps to install bash (with ncurses-base) for petget to work.
http://www.murga-linux.com/puppy/viewto ... 49#1029849

I think we can remove the petget dependencies of package by utilizing ppa2pup (see post). Scotmann hasn't done this yet in pkg because there was some speed/performance issues with ppa2pup. However jamesbond's awk code seems to fix these speed issues (also in above linked post).

However, ppa2pup, might only work for debian and puppy style repos. I don't know whether or not it works with a slackware style repos.
Find me on [url=https://www.minds.com/ns_tidder]minds[/url] and on [url=https://www.pearltrees.com/s243a/puppy-linux/id12399810]pearltrees[/url].

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#711 Post by rockedge »

I've run into a slight problem with WeeDog and a web server or zoneminder creating writable directories.

for a example when a new camera is added or a current day event directory is created the umask or something is making them un-writable. This is causing problems and I am wondering what is the source of this behavior? Perhaps something in the way the file system is loaded?

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#712 Post by sc0ttman »

s243a wrote:
wiak wrote:EDIT: Have since added petget (files takes from BionicDog64) so I could try "pkg repo-update". Basically just copied over the whole folder /usr/local/petget and then made a symlink ln -s /usr/local/petget /usr/bin/petget/petget. I'm not sure what difference having petget has (and would prefer anyway if pkg was not petget dependent in anyway). I think I needed to use xbps to install bash (with ncurses-base) for petget to work.
http://www.murga-linux.com/puppy/viewto ... 49#1029849

I think we can remove the petget dependencies of package by utilizing ppa2pup (see post). Scotmann hasn't done this yet in pkg because there was some speed/performance issues with ppa2pup. However jamesbond's awk code seems to fix these speed issues (also in above linked post).

However, ppa2pup, might only work for debian and puppy style repos. I don't know whether or not it works with a slackware style repos.
You're correct - ppa2pup won't work with Slack repos, but we have slack2pup in Pkg too ...

As I said already on Gitlab, I _am_ happy to remove the dependency on 0setup (and thus PetGet), but
it requires replacing 0setup with not just ppa2pup (or ppa2pup_gawk, which will soon be in Pkg by default),
but with slack2pup and native puppy repo stuff too ..

So we need a separate branch/PR for this feature called "feature/remove-0seup-dependency" ..

In that branch,

1. we only use 0setup if it exists (for now), and
2. fall back to either ppa2pup or slack2pup, depending on which repo we're gonna build.
3. Plus we need to have something in Pkg that can replace the 0setup stuff that updates Puppy repos
from their ibiblio sources (or whatever)...

Off the top of my head I've no idea how to do it, but it won't be hard.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#713 Post by s243a »

sc0ttman wrote:
s243a wrote:
wiak wrote:EDIT: Have since added petget (files takes from BionicDog64) so I could try "pkg repo-update". Basically just copied over the whole folder /usr/local/petget and then made a symlink ln -s /usr/local/petget /usr/bin/petget/petget. I'm not sure what difference having petget has (and would prefer anyway if pkg was not petget dependent in anyway). I think I needed to use xbps to install bash (with ncurses-base) for petget to work.
http://www.murga-linux.com/puppy/viewto ... 49#1029849

I think we can remove the petget dependencies of package by utilizing ppa2pup (see post). Scotmann hasn't done this yet in pkg because there was some speed/performance issues with ppa2pup. However jamesbond's awk code seems to fix these speed issues (also in above linked post).

However, ppa2pup, might only work for debian and puppy style repos. I don't know whether or not it works with a slackware style repos.
You're correct - ppa2pup won't work with Slack repos, but we have slack2pup in Pkg too ...

As I said already on Gitlab, I _am_ happy to remove the dependency on 0setup (and thus PetGet), but
it requires replacing 0setup with not just ppa2pup (or ppa2pup_gawk, which will soon be in Pkg by default),
but with slack2pup and native puppy repo stuff too ..

So we need a separate branch/PR for this feature called "feature/remove-0seup-dependency" ..

In that branch,

1. we only use 0setup if it exists (for now), and
2. fall back to either ppa2pup or slack2pup, depending on which repo we're gonna build.
3. Plus we need to have something in Pkg that can replace the 0setup stuff that updates Puppy repos
from their ibiblio sources (or whatever)...

Off the top of my head I've no idea how to do it, but it won't be hard.
` We've been discussing how to do #1 but it isn't a hard change.
` Regarding #2, I bet we can do something similar for slack2pup as we did (or at least are working on the merge) with ppa2pup.
- I also started working on #3 (see comment), see code:
https://gitlab.com/s243a/Pkg/blob/add__ ... d_pet_repo
Find me on [url=https://www.minds.com/ns_tidder]minds[/url] and on [url=https://www.pearltrees.com/s243a/puppy-linux/id12399810]pearltrees[/url].

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#714 Post by sc0ttman »

Niiiice..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
recobayu
Posts: 387
Joined: Wed 15 Sep 2010, 22:48
Location: indonesia

#715 Post by recobayu »

Hi Wiak.
I modify the debootstrap_url become:

Code: Select all

debootstrap_url="http://archive.ubuntu.com/ubuntu/pool/main/d/debootstrap/debootstrap_1.0.116ubuntu2_all.deb"
in the file: build_firstrib_rootfs_103.sh and I got this error when I build ubuntu i386.

Code: Select all

I: Extracting util-linux...
I: Extracting zlib1g...
I: Installing core packages...
W: Failure trying to run: chroot "//distro_root" dpkg --force-depends --install /var/cache/apt/archives/libc6_2.27-3ubuntu1_i386.deb
W: See //distro_root/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/libc6_2.27-3ubuntu1_i386.deb is at fault)
sh: 17: /tmp/firstrib00.plug_ubuntu_bionic_i386: apt: not found
sh: 19: /tmp/firstrib00.plug_ubuntu_bionic_i386: apt-get: not found
sh: 20: /tmp/firstrib00.plug_ubuntu_bionic_i386: apt: not found
sh: 22: /tmp/firstrib00.plug_ubuntu_bionic_i386: apt: not found
The attach file is debootstap.log. What is wrong with this? Thank you.
Attachments
debootstrap.log.gz
real gz file
(3.68 KiB) Downloaded 91 times

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#716 Post by wiak »

Hi recobayu,

I also tried (very quickly) with the new debootstrap_url:

Code: Select all

debootstrap_url="http://archive.ubuntu.com/ubuntu/pool/main/d/debootstrap/debootstrap_1.0.116ubuntu2_all.deb"
and extract from build process looked like this:

./build_firstrib_rootfs_103.sh ubuntu bionic i386 firstrib00.plug_ubuntu_bionic_amd64

Code: Select all

I: Retrieving util-linux 2.31.1-0.4ubuntu3
I: Validating util-linux 2.31.1-0.4ubuntu3
I: Retrieving zlib1g 1:1.2.11.dfsg-0ubuntu2
I: Validating zlib1g 1:1.2.11.dfsg-0ubuntu2
I: Chosen extractor for .deb packages: ar
I: Extracting base-files...
I: Extracting base-passwd...
I: Extracting bash...
I: Extracting bsdutils...
I: Extracting coreutils...
I: Extracting dash...
I: Extracting debconf...
I: Extracting debianutils...
I: Extracting diffutils...
I: Extracting dpkg...
I: Extracting e2fsprogs...
... etc
I haven't tested the result, but all looks normal to me.

My test build has been done on BionicDog64 system (and I needed to "apt install binutils" so that the required dependency "ar" was available).

Not sure exactly what issue you are having but something to do with this line:

W: Failure trying to run: chroot "//distro_root" dpkg --force-depends --install /var/cache/apt/archives/libc6_2.27-3ubuntu1_i386.deb

dpkg shouldn't be getting used. I guess you don't have ar installed on your system?

wiak

gabtech
Posts: 107
Joined: Sun 14 Apr 2013, 11:42

Weedog

#717 Post by gabtech »

Hi rockedge. Can you upload an iso which you built using the 32 auto plugin. And is the build_zm.sh specifically written for weedog?

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#718 Post by rockedge »

Hello gabtech,

So far I have not made an ISO that is small enough and boots! But running the 2 scripts with the plug file 32 auto will build you a version pretty quickly.

This build_ZM.sh script is designed for WeeDog, BUT you can use it as a guide. I have 2 methods for installing ZM on Puppy Linux, one easier than the other but I have not yet scripted an install and compile build script for Puppy completely yet. For a Bionic install the iconner PPA for zoneminder works well after installing a web server (Apache or sticking with Hiawatha) and a mysql database server

gabtech
Posts: 107
Joined: Sun 14 Apr 2013, 11:42

WeeDog

#719 Post by gabtech »

Hi rockedge,

I ran the two scripts, build_firstrib_rootfs_103.sh, build_weedog_initramfs05_s207.sh with plugin firstrib00-32-auto.plug. Now how do I boot weedog. See attached image for my folder contents.
Attachments
weedog.png
(140.1 KiB) Downloaded 81 times

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#720 Post by rockedge »

Hello gabtech,

The directory looks good except where is the vmlinuz-5.X.X_1? There should be the initramfs05.gz and a vmlinuz file to boot.

Are you using Grub4Dos or Grub2 to boot your systems? Open menu.lst which is in the main drive/partition you boot the computer from

Example grub4dos menu.lst entry:

Examples show using (hd0,0) i.e. /dev/sda1 boot partition of harddrive
Change following to the drive boot partition you are actually using
This example is for slow boot device, hence using optional usbwait value
The bootfrom parameter is required and must be accurate:

For grub4dos
Example shows using (hd0,0) i.e. /dev/sda1 boot partition

Code:
title WeeDog Linux (Multi-Distro-Flavour)
root (hd0,0)
kernel /firstrib/vmlinuzX.XX bootfrom=/mnt/sda1/firstrib # optional changes=RAM copy2ram; optional altNN=path2dir
initrd /firstrib/initramfs05.gz


you can remove the build scripts from the directory if you like

just place your WeeDog directory next to the Puppy Linux directory on your boot partition and add the entry to the menu.lst


let us know how it goes!

Post Reply