(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 Sun 27 Sep 2020, 15:51
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
BusterDog + build system (no-systemd)
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 7 of 24 [360 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 22, 23, 24 Next
Author Message
dancytron

Joined: 18 Jul 2012
Posts: 1555

PostPosted: Tue 03 Dec 2019, 14:33    Post subject:  

rcrsn51 wrote:
dancytron wrote:
Quote:
apt install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//')

Why all the 'sed' stuff?


I lifted it straight out of the instructions to install the nvidia drivers in stretch.

I assume it is to make it automatically know which version to download, but it worked so I didn't question it.

https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_9_.22Stretch.22
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 601
Location: Planet Earth

PostPosted: Tue 03 Dec 2019, 15:52    Post subject:  

@dancytron
Just in case I am listening you ( reading), not ignoring. I will definitely use your method under other circumstances where I have a costume driver source to build.

But at the moment it is not.
1) This guy updatelee build a full costume kernel that allow what will be impossible to do under the original manufacturer driver and application. Yes is a hack, where not only he modify a few drivers, add some of his libs, then add to it his special application that allow a $100 USB device function like a $500-$1000 professional device.

2) The real truth is that even if I could follow that road I think I would not need it. As it seems that 1-DEVX-Buster-k4.19.0-6_amd64.squashfs has all thos headers allredy included. If you extract "1-DEVX-Buster-k4.19.0-6_amd64.squashfs.extracted/usr/src" You will find
Code:
linux-headers-4.19.0-6-amd64
linux-headers-4.19.0-6-common
linux-kbuild-4.19
So it seems devx has the headers. Thanks. Keep the good work, sharing with us all those wonderful hints and experience.

@fredx181
Do not know when you edit it but just saw
Code:
EDIT2: You may be interested to install and try "upgrade-kernel"
In the past I did these things manually but not anymore now, it automates the process of creating initrd, <kernel>.squashfs and building aufs module (runs in chroot, so doesn't install anything in the system)

Will be looking into that soon. Hope to find what I need. Thanks again.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4481
Location: holland

PostPosted: Wed 04 Dec 2019, 14:01    Post subject:  

enrique wrote:
But up to know, from what you said build same kernel then just
Code:
.. make use of aufs is simply adding it to the kernel as extra module in /lib/modules and to the initrd (using aufs-dkms to build aufs module)

I have a strong feeling that will be not enough. Future experiment will show the result. See you guys latter. I will be doing my assignment.

Not sure what you mean by "not enough". quote above about aufs is not meant as how-to, just saying briefly what we did and it works.
BusterDog is aimed to be "pure" Debian as much as possible, that's why using the stock Debian kernel. (that's also what "upgrade-kernel" does install/upgrade, btw)
Of course it's possible to use a self compiled kernel (or a kernel taken from e.g. Fatdog or Puppy), but then you must know exactly how to make it work, which can be rather complicated.
So... why would you want that anyway ? (need of newer kernel or ... ?)
Also, when using a different kernel, some special documented Debian features won't work anymore (e.g. using "dkms" packages).

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 13129
Location: Stratford, Ontario

PostPosted: Wed 04 Dec 2019, 14:26    Post subject:  

@enrique: When I was using Stretch with k4.9.0, I occasionally needed a kernel upgrade to support new hardware.

I would take a Puppy "huge" kernel and drop it into my Porteus "live" folder.

I would rename the Puppy vmlinuz as vmlinuz1 and rename the zdrv.sfs file with a .squashfs extension.

Maybe you can do the same thing with the custom v4l kernel that you build in the Puppy kernel-kit.
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 601
Location: Planet Earth

PostPosted: Wed 04 Dec 2019, 19:10    Post subject:  

@fredx181
I been given a lot of suggestion by many puppy users here. For the most part they seems to suggest me to stop trying to understand things. And instead just use Puppy as every else do. I do understand their point of view. And this makes me realize that if I was a regular Puppy user I will not continue be here in this post. They are in fact right. I need to open a new thread Asking for help where I can express my personal needs. Building/Adapting a new kernel.

See it is not fair to BusterDog + build system (no-systemd) as in that term BusterDog has FULLY fulfill my needs. I have a perfect Puppy Debian Dog running at home. And the build system work 100% all the time.

Regards your suggestion on "upgrade-kernel". I stop building, so I have not look in to that file. Instead I pent the time installing BusterDog in a different PC. Then Install all my setups to have Linux TV running my Satellite and Terrestrial TV adapters. It took away all the time I had. My intention is to verify my real need for that special kernel. Who knows may be I can live without it.

Regards "not enough", PLEASE do not misunderstand me, it was not you. I was frustrated with myself. It is funny as I wrote some where else woof-CE Kernel Kit used to build updaelee kernel.

rcrsn51 wrote:
...I would take a Puppy "huge" kernel and drop it into my Porteus "live" folder....
Exactly, I know. I did thought on giving this a try. Building the kernel with woof-CE Kernel Build. And hooping it do boot and execute v4l-updateleel. I do not need it to be perfect, just to allow me to scan the Satellites while hunting for new channels to show up. So it will be just another extra kernel in the folder + a new menu in grub4dos. No need to change the name. Similar as Ubuntu boot from different kernels.

I will conduct my offtopic issues at:Help build custom BusterDog.


BusterDog + build system (no-systemd) is a hit. I am not only trying it, but I see me using it for a long time. Long live BusterDog.

Last edited by enrique on Thu 05 Dec 2019, 19:34; edited 2 times in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 13129
Location: Stratford, Ontario

PostPosted: Thu 05 Dec 2019, 07:31    Post subject:  

dancytron wrote:
rcrsn51 wrote:
dancytron wrote:
Quote:
apt install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//')

Why all the 'sed' stuff?


I lifted it straight out of the instructions to install the nvidia drivers in stretch. I assume it is to make it automatically know which version to download, but it worked so I didn't question it.

The simpler way is just
Code:
apt install linux-headers-$(uname -r)

which would be less confusing to newcomers.
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1555

PostPosted: Thu 05 Dec 2019, 12:33    Post subject:  

rcrsn51 wrote:
dancytron wrote:
rcrsn51 wrote:
dancytron wrote:
Quote:
apt install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//')

Why all the 'sed' stuff?


I lifted it straight out of the instructions to install the nvidia drivers in stretch. I assume it is to make it automatically know which version to download, but it worked so I didn't question it.

The simpler way is just
Code:
apt install linux-headers-$(uname -r)

which would be less confusing to newcomers.


Thanks

dan
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4481
Location: holland

PostPosted: Thu 05 Dec 2019, 15:24    Post subject:  

rcrsn51 wrote:
apt install linux-headers-$(uname -r)

which would be less confusing to newcomers.


Yes, and not only that, it also makes sure you install the correct headers version corresponding with the running kernel version.
The command "apt install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//')" will install the newest version, which may be newer than running kernel version, and may result in build failures.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
mauros


Joined: 02 Dec 2019
Posts: 32

PostPosted: Wed 11 Dec 2019, 12:39    Post subject:  

JWM is an excellent choice for building a stable lightweight desktop, as it's written in c lang and uses a minimal amount of RAM.
That's why it's the default WM for compact linux/BSD distros/OSes, like Puppy and DebianDog.
The problem occurs with its menu construction. JWM configuration provides static only menus, unable to update automatically when installing/uninstalling menu applications.
Some third-party solutions such as lxde menu data bridging or using xdgmenumaker (https://github.com/gapan/xdgmenumaker) could cover it, but the installation of extra packages and the use of python libs is not exactly what we are looking for when using and building such compact distros.

Working around that, i couldn't escape writing from scratch a menu maker bash script. It's based on /usr/share/applications .desktop files reading with some improvements in compatibility and menu construction.
It's a script written with a k.i.s.s. principal for being understandable and configurable by users with a basic bash experience.

How to test/use it:
1. Download or git clone the file: https://github.com/maurosh/SparkyBonsai/blob/master/sparkybonsai_jwm_menumaker.sh

2. Make it executable
Code:
# chmod +x /path/to/sparkybonsai_jwm_menumaker.sh


3. Put an XML tag in your .jwmrc file:
Quote:
<include>exec:sh /path/to/sparkybonsai_jwm_menumaker.sh</include>


After that, the menu will auto-update everytime the JWM reloads.

Note1: Categories menu icons are hardcoded inside the script according to sparky bonsai icons filenames. For use with different icon themes you have to manually edit the categories icon names. The applications icon names updates dynamically from the .desktop files.
Note2: Academically it is compatible with zsh too but i haven't test it yet.
Back to top
View user's profile Send private message Visit poster's website 
enrique

Joined: 09 Nov 2019
Posts: 601
Location: Planet Earth

PostPosted: Fri 13 Dec 2019, 06:55    Post subject:  

@mauros I see you love JWM. I do not. Rox, I do not like it neither. Thanks God he created colors to chose from. I am a fan of LXDE, I know I came from lame Win.

I have a question for Fred. I do have various disk on some PC and/or at least various partitions. When I install BusterDog64 with change.dat at boot time, I had only mounted Home drive where BusterDog reside. But If instead, I chose a ext Linux partition to mount a change folder, then a weird thing happen! It boot with ALL my partitions mounted... Why this behavior? Thanks ahead.

Long live BusterDog.
Back to top
View user's profile Send private message 
mauros


Joined: 02 Dec 2019
Posts: 32

PostPosted: Fri 13 Dec 2019, 09:46    Post subject:  

enrique wrote:
@mauros I see you love JWM. I do not. Rox, I do not like it neither. Thanks God he created colors to chose from. I am a fan of LXDE, I know I came from lame Win.


I came from Irix (Silicon Graphics unix) and i actually prefer i3 desktop. Those task/panels etc are for people came from windows and we are trying to help them. I'd suggested you the MATE desktop. It's stable, lightweight, configurable with an environment similar to win. Maybe it's the reason that mint became so popular among XP-refugees.
Back to top
View user's profile Send private message Visit poster's website 
fredx181


Joined: 11 Dec 2013
Posts: 4481
Location: holland

PostPosted: Fri 13 Dec 2019, 13:12    Post subject:  

enrique wrote:
I have a question for Fred. I do have various disk on some PC and/or at least various partitions. When I install BusterDog64 with change.dat at boot time, I had only mounted Home drive where BusterDog reside. But If instead, I chose a ext Linux partition to mount a change folder, then a weird thing happen! It boot with ALL my partitions mounted... Why this behavior? Thanks ahead.

First thing that comes in mind is that you booted without the "noauto" option (on the boot kernel line), then it will mount all partitions, with "noauto" only the boot/save partition will be mounted.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 601
Location: Planet Earth

PostPosted: Fri 13 Dec 2019, 16:03    Post subject:  

@mauros Yes I am one of those win10 refuges. I meet BusterDog and so far it has met all my requirements. So I plan to stick to it. I like to keep only one Linux system so that I can master it. But so far I have test 10th if not hundred of different puppys. I am willing to look at another if it is a quick frugal install. Where is this MATE desktop? Is this a Puppy?

@fredx181 I bet you are correct. I did switch just removing .dat. So the the big question is: What is the correct boot kernel line?

By the way you mention that there is a way to boot not using AUFS instead squashfs or overlayfs. I am not sure what you did mention but willing to try.
Back to top
View user's profile Send private message 
mauros


Joined: 02 Dec 2019
Posts: 32

PostPosted: Fri 13 Dec 2019, 16:15    Post subject:  

enrique wrote:
@mauros Yes I am one of those win10 refuges. I meet BusterDog and so far it has met all my requirements. So I plan to stick to it. I like to keep only one Linux system so that I can master it. But so far I have test 10th if not hundred of different puppys. I am willing to look at another if it is a quick frugal install. Where is this MATE desktop? Is this a Puppy?


As long as BusterDog is a puppy, it is. You can install and pack a basic MATE desktop from debian repos. I was talking about linux desktop in general. Porteus (slackware based) for instance has an interesting MATE implementation packed in a 30MB xzm module.
Back to top
View user's profile Send private message Visit poster's website 
fredx181


Joined: 11 Dec 2013
Posts: 4481
Location: holland

PostPosted: Fri 13 Dec 2019, 16:18    Post subject:  

enrique wrote:
@fredx181 I bet you are correct. I did switch just removing .dat. So the the big question is: What is the correct boot kernel line?

Maybe you can show what you have now and say what you need or not.

Quote:
By the way you mention that there is a way to boot not using AUFS instead squashfs or overlayfs. I am not sure what you did mention but willing to try.

Yes, porteus-boot style can only use AUFS, but "live-boot" (used by official Debian Live) can use overlayfs (which is in fact the default, I think)
See here for options (BusterDog live-boot-3x):
https://raw.githubusercontent.com/DebianDog/BusterDog/master/Examples-boot-codes.txt

rcrsn51 did some development for ease of installing and setting up persistence:
http://murga-linux.com/puppy/viewtopic.php?p=1044052#1044052

EDIT: Also see here for documentation:
https://manpages.debian.org/jessie/live-boot-doc/live-boot.7.en.html

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 7 of 24 [360 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 22, 23, 24 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.1864s ][ Queries: 12 (0.0818s) ][ GZIP on ]