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 06 Apr 2020, 13:51
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
FirstRib default WeeDog Linux build system
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 51 of 52 [766 Posts]   Goto page: Previous 1, 2, 3, ..., 49, 50, 51, 52 Next
Author Message
rockedge


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

PostPosted: Sun 15 Mar 2020, 16:59    Post subject:  

Completed a build successfully using v104 with firstrib00-64-auto.plug and produced a WeeDog64.

The entire process ran really well. I later ran the script to install ZoneMinder and a LHMP
Code:
./build_ZM.sh


Next phase is to install python3 and the components for event push notifications and object detection / face recognition.
Back to top
View user's profile Send private message Visit poster's website 
rockedge


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

PostPosted: Sun 15 Mar 2020, 17:04    Post subject:  

Hello wiak,
I've read your post and definitely keep both versions of the script alive. I can test the new version right away, this WeeDog is running great and I can enjoy leaving it in a good working order and go build another with a more intricate plug file

v104 worked great, so a good reason to keep it going as well !!
Back to top
View user's profile Send private message Visit poster's website 
wiak

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

PostPosted: Sun 15 Mar 2020, 17:11    Post subject:  

Hi rockedge,

Glad all is going well with your current builds.

My end feeling on working further with this is that there is NO other package manager so self-contained/stand-on-its-own-capable as Void Linux xbps. Makes autobuild distro building clean and easy like a breath of fresh air. Effectively, you can run static xbps build from most ANY Linux distro without caring about distrospecs or any other need from underlying distro.

Yes, definitely, keeping/maintaining both versions is very useful - the way I'm writing the new script makes it almost identical in operation for the most part though. Hence I'm currently naming the new script build_firstrib_rootfs_nonchrootvoid_104.sh since plugin handling and so on left exactly the same. It will be easier to add additional plugin handling though. The Debian/Ubuntu/Devuan routines also remain unchanged (still use a chroot) as I said.

wiak

_________________
New Puppy/Dog forum: https://puppylinux.rockedge.org
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: 1701
Location: Connecticut, United States

PostPosted: Sun 15 Mar 2020, 22:14    Post subject:  

I used an ArchPup32 to run the most recent scripts and successfully built a WeeDog32 (Void Linux).

I used the firstrib00-32-auto.plug to create the desktop. It really runs well idling with 99.3 megabytes of used RAM.

and I added palemoon as a second browser and pUTTY for the SSH client.

I would like to add something that will create the desktop disk drive / partitions icons and mange mount and umount of them
2020-03-16-024227_640px.png
 Description   
 Filesize   19.99 KB
 Viewed   276 Time(s)

2020-03-16-024227_640px.png

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

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

PostPosted: Sun 15 Mar 2020, 23:42    Post subject:  

Looks good rockedge.

Interesting you are using an ArchPup. When I finish this latest nochrootvoid script I'm planning to complete that FirstRib Arch build function, so a standard Arch can also be made as a firstrib_rootfs. Some may like that option (though Void likely to remain my own preference). I left a place-holder for that Arch capability, but summer was about to come here so finishing that was put on hold; from previously looking into it I think I can manage that though. Will need chroot mechanism though since more like debootstrap as in Debian builds.

Whichever distro firstrib_rootfs gets produced, will still use same WeeDog initramfs build to complete of course.

wiak

_________________
New Puppy/Dog forum: https://puppylinux.rockedge.org
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: 1957
Location: not Bulgaria

PostPosted: Mon 16 Mar 2020, 04:35    Post subject: build_firstrib_rootfs_nochrootvoid_104beta1.sh uploaded  

build_firstrib_rootfs_nochrootvoid_104beta1.sh uploaded to downloads post:

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

In many/most cases, user should be able to use with existing firstrib build rootfs plugin file after one slight conversion through sed as follows (and as documented in the script itself):

Code:
sed -i 's%xbps-install%sxbps/usr/bin/xbps-install -r firstrib_rootfs%g' <plugin_name>


I've attached a simple converted original plugin to this post that I used with amd64 build (for 1686 build, linux entry in plugin doesn't work since i686 needs earlier kernel such as linux4.19 in plugin list instead).

Generally, using this no chroot required for void rootfs build script works much the same as standard build_firstrib_rootfs_104.sh script. Only main user difference is that the build pauses and asks confirmation that you accept the ca-certificate for the selected repo. Just enter 'y' and build will then proceed.

One big advantage of this alternative build firstrib_rootfs script is that it involved no messy mount, chroot, umount situation. That also means it is easier to modify the script to do extra processing in some additional plugin system (though existing plugin faculty kept for backwards compatibility (other than the simple sed conversion above) and because it works. I will maintain both this nonchrootvoid script and the original which does use a chroot for void linux packages install.

wiak
firstrib00.plug_void_default_anyarchNOCHROOT.tar
Description  just remove the dummy tar
tar

 Download 
Filename  firstrib00.plug_void_default_anyarchNOCHROOT.tar 
Filesize  302 Bytes 
Downloaded  10 Time(s) 

_________________
New Puppy/Dog forum: https://puppylinux.rockedge.org
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: 1957
Location: not Bulgaria

PostPosted: Wed 25 Mar 2020, 05:24    Post subject:  

Well my new 128GB SSD arrived today from somewhere in China. Need that to replace the old 80GB SSD that had suddenly refused to be read or written or talk to me in any way in my main (old) laptop that I use for development. I currently, temporarily, have an old (slow... yawn...) mechanical harddrive of some type swapped into it from another machine, but now I can return it to its former glory...

wiak

_________________
New Puppy/Dog forum: https://puppylinux.rockedge.org
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: 1701
Location: Connecticut, United States

PostPosted: Wed 25 Mar 2020, 18:57    Post subject:  

excellent news wiak! Sounds like the performance will be really good.

I used the beta script with the firstrib00-64-nochroot.plug and it looks successful. I am about to run the next script to make a boot able system


Update:
Did a second run with firstrib00-64-auto-nochroot.plug and it went somewhere awry. It somehow also trashed my BIonic64 system which I had to manually do a hot shutdown and upon reboot will not start the xorg server any more.

I think the first run worked and I have no idea why the second run with the other plug file got so wacked out.
Back to top
View user's profile Send private message Visit poster's website 
wiak

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

PostPosted: Wed 25 Mar 2020, 23:51    Post subject:  

rockedge wrote:

Update:
Did a second run with firstrib00-64-auto-nochroot.plug and it went somewhere awry. It somehow also trashed my BIonic64 system which I had to manually do a hot shutdown and upon reboot will not start the xorg server any more.

I think the first run worked and I have no idea why the second run with the other plug file got so wacked out.


Well, it would be perfectly possible to trash a system with a plugin used with the non-chroot script, so that's a disadvantage to be sure - the plugin writer has to take responsibility. Reason I say that is that since a chroot is not used to execute the commands in the plugin, the underlying host filesystem is available and hence possible to trash it. Not sure if that is what happened with the plugin you used, but it is certainly quite possible. I doubt the build script itself otherwise trashed your system, but it's beta and only further tests would reveal that one way or the other.

It's worth keeping non-chroot method for tricky plugin situations, where direct access to host filesystem makes some things easier, but probably best not to recommend it in general since considerably more dangerous... Indeed, with that in mind I will probably move the script to a post of its own, with warnings...

wiak

_________________
New Puppy/Dog forum: https://puppylinux.rockedge.org
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: 1701
Location: Connecticut, United States

PostPosted: Thu 26 Mar 2020, 16:01    Post subject:  

Hi wiak,

the first run using the plug file that creates the desktop but when booted starts on a login command line and needs a manual start of startx to get the desktop. This plug file worked in the non-chroot mode. But the version that creates the setup for autologin failed and somehow damaged the Bionic64 host system. Not a big deal since I just deleted the save folder and started Bionic64 fresh and new, I was prepared that something may go wrong. Until I've run it a few times and saw how operates I would use a disposable host OS

The chroot'ed script builds a good version of both plug files.

I like the Void version the most and spend most of the time using it. With some more tweaking and adding a few scripts here and there WeeDog could be a great desktop. Some point I will have to go back and see about building an ISO that will boot. Even though the scripts are super easy to use and give great results, most willing to test it out would be enticed by an ISO

Otherwise on another WeeDog64-104 all systems are a Go, and I'm seeing some really stable operation of a LHMP, ZoneMinder, zmeventnotification server, object detection, face recognition and running a X10 usb transceiver to a X10 receiver that places ON and OFF DIM or BRIGHT signals on the house electrical wiring which X10 lamp modules plugged into outlets can read those commands by address and turn lights and appliances on and off or dim and brighten. This WeeDog is running a bunch of daemons and background scripts while the CPU is staying nice and cool and over all load is 1.30 over 4 cores and 4 threads
Back to top
View user's profile Send private message Visit poster's website 
wiak

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

PostPosted: Sun 29 Mar 2020, 02:51    Post subject:  

Hello rockedge,

Thanks for the report. I'll get back to looking at non-chroot version later. Currently I'm working on a firstrib_rootfs build for "Arch Linux" with idea to have a frugal install option using WeeDog for that. Early work on this addition to build_firstrib_rootfs script are going well, but EDIT: have not got as far as the plugin part (first I have to use Arch a bit since I've never used it before).

Some may be interested in Arch alternative, which would be good since the WeeDog part remains in common to all. Arch turns out to be very easy to build actually - much nicer than the way Debian does things.

Yes, one day we should work towards producing an initial iso - perhaps specially trimmed for smaller size.

EDIT: Currently using mount_chrootver007.sh with the newly created Arch Linux firstrib_rootfs and now using pacman to install linux kernel (default kernel is linux 5.5.13.arch1-1) and linux-firmware prior to first WeeDog Arch attempt. It's a pretty big rootfs though: around 1.5GB...! In practice, it will need an Arch expert to create plugin for final distro out of this; I know nothing about Arch aside from the basics of pacman I am learning now but useful to have for fun experimenting for someone or other during coronavirus lockdown maybe... I'm also thinking of looking into including vector linux firstrib_rootfs build, since that could result in a small rootfs prior to running build_weedog_initramfs script. Having said all that, I won't polish these ones - my own main interest being to stick with Void Linux, since I can't handle learning all the necessaries for properly tweaking all these others myself...

wiak

_________________
New Puppy/Dog forum: https://puppylinux.rockedge.org
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: 1957
Location: not Bulgaria

PostPosted: Mon 30 Mar 2020, 20:32    Post subject:  

@rockedge

Actually, rockedge, in parallel with working on a WeeDog Arch Linux build I'm wanting to set up a laptop to run a version of your WeeDog Zoneminder creation. Will probably want to try a version that includes X and minimum version that doesn't need X server (is that possible with ZM?). Are your firstrib plugins and documentation for that on the forum here up to date?

wiak

_________________
New Puppy/Dog forum: https://puppylinux.rockedge.org
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: 1701
Location: Connecticut, United States

PostPosted: Tue 31 Mar 2020, 00:21    Post subject:  

hello wiak,
yes the files are up to date. and yes you can run ZoneMinder without an X server running. running it from a web console (it's how most do it) or using zmNinja as a front end for ZM. Either on the a mobile device or another laptop/desktop on the LAN

I use a Dynamic DNS service to track my IP and assign an alias domain name and port forward the router to a Puppy Linux Xenial64 running Apache2 as a reverse proxy that can through virtual host blocks in the Apache2 configuration send each domain name to different machines on the LAN behind the reverse proxy.

This way I can use zmNinja or the ZM web console in a browser from anywhere.

I will double check the instructions, but I think they are okay. I just built a WeeDog64-104 and setup zoneminder with script and all went smoothly just recently.
Back to top
View user's profile Send private message Visit poster's website 
wiak

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

PostPosted: Tue 31 Mar 2020, 06:53    Post subject:  

Thanks rockedge, I'm planning to try this before the end of the week, maybe even tomorrow. I'm hoping old Android phones can be used as simple IP cams so I've hunted out some I have and been busy charging them all...

EDIT: I just noticed that I successfully made an initramfs05.gz and firstrib_rootfs.sfs along with outputted vmlinuz ready for first boot attempt of WeeDog Arch. Last night, whilst watching tv I had started up ./build_weedog_initramfs with void argument (since Arch stores modules and firmware in same place as void, so I reckoned that should work). Anyway, I forgot I had done that but pleased to see it obviously built - whether it works will have to wait for me to try booting it since late at night here now... I'm actually very rusty on using WeeDog, despite having written these build scripts, so I'm thankful I had put in some --help in each of the scripts or I wouldn't know what I was doing! I'm afraid it may be my brain that is getting rusty, but seems to work okay still once I start using it... (both WeeDog build script and my brain).

wiak

_________________
New Puppy/Dog forum: https://puppylinux.rockedge.org
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: 1701
Location: Connecticut, United States

PostPosted: Tue 31 Mar 2020, 13:59    Post subject:  

I feel the same way! for 2 days intensely work on web application then switch to doing some python and object detection with Puppy Bionic and using X10 then later I go over to WeeDog and suddenly I'm totally rusty. I have to look at the script help always....and some tricks that are learned from all the attempts fade just enough that one knows that you already solved this..but are not sure anymore exactly how.

No wonder we can't build pyramids or Machu Picchu anymore.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 51 of 52 [766 Posts]   Goto page: Previous 1, 2, 3, ..., 49, 50, 51, 52 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.1108s ][ Queries: 13 (0.0522s) ][ GZIP on ]