KLV To-Do List

Moderator: Forum moderators

User avatar
Sofiya
Posts: 1803
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1076 times

Re: KLV To-Do List

Post by Sofiya »

Brave-portable64 works fine for me
but I have rewritten the LAUNCH

Code: Select all

#!/bin/sh
#
# Launcher for 'portable' Brave browser
#
HERE="$(dirname "$(readlink -f "$0")")"
#
mkdir "$HERE/PROFILE" 2> /dev/null
mkdir "$HERE/PROFILE/root" 2> /dev/null
mkdir "$HERE/PROFILE/root/Brave-Browser" 2> /dev/null
#
chown -R root:root "$HERE/brave"
chown -R root:root "$HERE/lib"
chown -R root:root "$HERE/PROFILE/root"
#
if  grep -q 'puppy_tahr64' /etc/os-release
then
	LD_LIBRARY_PATH=$HERE/:$HERE/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
	"$HERE/brave/brave" --user-data-dir=$HERE/PROFILE/root/Brave-Browser --no-sandbox --disk-cache-size=5000000 --media-cache-size=5000000 --allow-outdated-plugins "$@"
elif grep -q 'puppy_xenialpup64' /etc/os-release
then
	LD_LIBRARY_PATH=$HERE/:$HERE/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
	"$HERE/brave/brave" --user-data-dir=$HERE/PROFILE/root/Brave-Browser --no-sandbox --disk-cache-size=5000000 --media-cache-size=5000000 --allow-outdated-plugins "$@"
else
	"$HERE/brave/brave" --user-data-dir=$HERE/PROFILE/root/Brave-Browser --no-sandbox --disk-cache-size=5000000 --media-cache-size=5000000 --allow-outdated-plugins "$@"
fi
Attachments
Screenshot.png
Screenshot.png (283.83 KiB) Viewed 7320 times

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

User avatar
fredx181
Posts: 2561
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 273 times
Been thanked: 992 times
Contact:

Re: KLV To-Do List

Post by fredx181 »

Sofiya wrote: Tue Jul 11, 2023 9:28 pm

Brave-portable64 works fine for me
but I have rewritten the LAUNCH

Yes, as root it works, but the question is if it works with run-as-spot or run-as-... (on a gvfs/udisks mounted partition).

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

In old version of KLV-Airedale I have installed:

Code: Select all

root# run-as-spot ./viber.AppImage 
bash: line 1: cd: /run/media/root/5fdab471-5732-48f6-b04e-f46b0586e915/home/mcewanw/Downloads/AppImages: Permission denied
execv error: No such file or directory

But I tried with different AppImage (Ferdium) in KLU-jam and that seemed to work okay. I'll post again in a few minutes from KLU-jam to see if viber AppImage working there (it is stored on different partition, where I have full install of Zorin in my Zorin mcewanw home directory in /home/mcewanw/Downloads/AppImages).

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

Okay, I am trying Ferdium AppImage instead since have missing library related to viber on KLU-jam which is a different issue...

Same permission issue using Ferdium AppImage with KLV-Airedale, and also with KLA-OT2base (but yes, works if put Ferdium under /mnt/home). However, again with KLU-jam, Ferdium starts up from that same gvfs mounted partition... No idea what the difference might be.

The following was KLA-OT2base result:

Code: Select all

┌──[ root@archlinux ] [ 00:44:51 ]
├── /run/media/root/5fdab471-5732-48f6-b04e-f46b0586e915/home/mcewanw/Downloads/AppImages
└># run-as-spot ./Ferdium-linux-Portable-6.2.2-x86_64.AppImage 
bash: line 1: cd: /run/media/root/5fdab471-5732-48f6-b04e-f46b0586e915/home/mcewanw/Downloads/AppImages: Permission denied
execv error: No such file or directory

But as I say, from same mounted location with KLU-jamXFCE there is no issue (EDIT: except, needed to install fuse) - Ferdium AppImage starts fine. I have no idea how to track this difference down, but would be good to do so. Perhaps the gvfs in KLU-jamXFCE doesn't have that noexec situation? How to check that? Show with simple command 'mount'?

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

I don't know anything much about gvfs and fuse, but in KLU-jamXFCEbase, the mount command doesn't show any gvfsd-fuse, instead looks like this (including trying to install gvfs and fuse just to show already installed really):

Code: Select all

root@ubuntu:~# apt install gvfs
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gvfs is already the newest version (1.48.2-0ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 126 not upgraded.
root@ubuntu:~# apt install fuse
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
fuse is already the newest version (2.9.9-5ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 126 not upgraded.
root@ubuntu:~# mount | grep gvfs
root@ubuntu:~# mount | grep fuse
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
root@ubuntu:~#

In KLV-Airedale a gvfsd-fuse is shown after mount command, but no fusectl. No idea what that all means though except somewhat different.

EDIT: Just also tried KLA-OT2baseCE (older release than current) and it also indicated gvfsd-fuse when mount command run, but also fusectl. It also has the permissions and execv error when trying to run AppImage not in /mnt/home though. So only KLU-jam working without that error in what I tested.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
fredx181
Posts: 2561
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 273 times
Been thanked: 992 times
Contact:

Re: KLV To-Do List

Post by fredx181 »

@wiak thanks for your efforts anyway, but there's a misunderstanding, Appimages work fine for me from what I tested (edit: but I see you have problems with that too), what I was talking about in the first place was that the "mikewalsh" type portable setup (folder) doesn't work when it's not running as root.
Later I found that if I try to execute directly (with run-as-spot or run-as-...) e.g. the brave binary, see https://forum.puppylinux.com/viewtopic. ... 736#p93736 it errors out (so nothing to do with "portable" or "appimage", I guess).
(and works OK on the "boot" partition (which is not a gvfs type mount such as mounted in /run/media/...).
EDIT: may have to do with how gvfs (or... it is probably udisks) mounts ("noexec") but not sure.

EDIT2: Sorry didn't read well your posts in the first place, now I understand more (I think :shock: :? )
EDIT3:

Perhaps the gvfs in KLU-jamXFCE doesn't have that noexec situation? How to check that? Show with simple command 'mount'?.

Just check mount for /run/media and it's probably saying "noexec" and "nodev".

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

So, after more than a year for sure I'd say, I decided to check out build_firstrib_rootfs script code for Ubuntu, Debian, and Devuan, but unfortunately I have hit a stumbling block there, so I likely have to forget about these variants for the moment...

The problem is: in the script the following line exists:

Code: Select all

# Download pkgdetails from wiak github repo, for debootstrap
	wget -c https://raw.githubusercontent.com/firstrib/firstrib/master/pkgdetails_uclibc_i686_static_wiak -O usr/lib/debootstrap/pkgdetails && chmod +x usr/lib/debootstrap/pkgdetails

What is pkgdetails, you may wonder. Well, it was a little trick to avoid needing to have perl in the chroot in which I was using debootstrap. I compiled that pkgdetails_uclibc_i686_static some years ago when I implemented these Debian-based firstrib builds. Would be fine still, except, for some reason unknown that github site of mine is gone (at least not mine anymore...). I don't seem to have a local copy of pkgdetails - I've searched like crazy - and I've only done a cross compile like that once before so not something I can do again quickly tomorrow... It maybe isn't best way to do the debootstrap routine anyway, but was convenient so would work in even very simply host distros without perl. Actually, I have compiled the source code for pkgdetails again tonight - seems to work as a static standalone, but I'm not sure and debootstrap is not working so I think something wrong with it... I can do it another way via host installed debootstrap and perl, but I don't like that. For now I just don't have time to work further on this. However if, by very slim chance, anyone has a clone or copy of firstrib github that actually has that file in it (so long ago, I only briefly remember even making it...) then please let me know. It is not something you would find in the build directories after use since the clean-up stage removes unnecessary build script helpers... I usually also have a copy emailed to myself of things like that, but I must have been busy and didn't imagine github losing it for me.... Oh well... Void and Arch builds should remain fine - Fedora, I haven't had time to check. Bit annoyed about the loss, but c'est la vie - doesn't really matter to me.

EDIT: But is is a roadblock stopping Ubuntu/Devuan/Debian build_firstrib_rootfs builds working and a waste of future time addressing the issue, so if anyone happens to have clone of that vanished (somehow) github firstrib site that includes only missing package pkgdetails_uclibs_i686_static_wiak that would be a big help since time to address such a difficult matter in future isn't certain to me; other scripts fine, but cross-compile uclibc stuff a headache to me now. As I said, pkgdetails is not something that will be found in actual isos or other builds produced - it simply gets downloaded and then removed once used during the build process - doesn't effect Void, Arch, or Fedora builds.

Don't be alarmed by any such though. I'm busy till March 2024, but will be able to fix that Debian-based build stuff even if pkgdetails doesn't get found. What happened to my github!!! I scratch my head. Anyway, I have no idea about that (I have no idea about jstree, whatever that is - I know nothing much about java script at all if that is what that is about... weird... can't work out what happened...). Not considering anything sinister - maybe I suddently had interest in something about jstree - no idea, maybe just forgot about pkgdetails and deleted old repository or something... I will just have to rework that uclibc pkgdetails package later, or do it a different way.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

Thank you Void Linux... replacement statically-linked package for my Debian-based build_firstrib_rootfs variants. Still some work to do, but probably getting there now...

A little smaller once stripped of course, but not much.

All good now, Ubuntu, Debian, Devuan builds now working in my under-fix build_firstrib_rootfs script. Will have to change the docs slightly too to explain an issue that needs addressed, when doing Debian-based build on some systems (e.g. this nvme SSD system of mine with thunar...). Don't need that old pkgdetails lost file now... whew. I'm not as rusty as I thought I was. Fluke maybe.

Attachments
debootstrap_chroot_Debian_build.png
debootstrap_chroot_Debian_build.png (14.64 KiB) Viewed 7139 times
musl_static_pkgdetails.png
musl_static_pkgdetails.png (90.85 KiB) Viewed 7152 times

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
rockedge
Site Admin
Posts: 5711
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1991 times
Been thanked: 2097 times
Contact:

Re: KLV To-Do List

Post by rockedge »

@wiak I have a clone of the WDL GitHub repo from 24Sep2021 but it does not have the pkgdetails anywhere in it. I will look some more in case.....

Glad it's no longer needed!

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

rockedge wrote: Thu Aug 03, 2023 3:32 pm

@wiak I have a clone of the WDL GitHub repo from 24Sep2021 but it does not have the pkgdetails anywhere in it. I will look some more in case.....

Glad it's no longer needed!

Yes, it was a bit of a worry to me, but no longer. Problem was that even in 2020 when I first googled about debootstrap complaining when perl not present, any reference to alternative pkgdetails was always met with 'install perl or tiny perl'. Since FirstRib seems to be the only place doing things this way therefore, and it was originally tricky for me to implement, I wasn't sure I could do it again. I searched again widely via google to see if anyone else had used the method, but not as far as I've ever found. However, all's well that ends well.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

So, trying quick simple noX Ubuntu Jammy build. It's working, but as you might see in my temporary code, not quite to my plan.

Code: Select all

# _getlatestfile "$debootstrap_repo" "_all.deb" "grep -vE \(nmu|ubuntu\)"
latest_file="debootstrap_1.0.128+nmu2ubuntu1_all.deb" # wiak temporarily overriding AI, i.e. _getlatestfile... since its picking useless debootstrap version (but obeying my code - I thought was best one)...

The commented out function _getlatestfile isn't actually AI code of course - just me the brains behind it, but me wrong thinking most recent would be best... That truly 'most recent' debootstrap deb file that _getlatestfile does correctly fetch turns out only to have scripts in it for Debian distros and no Ubuntu ones, such as for Jammy (goodness knows why...). The second to latest from same Ubuntu repo works fine though - which is why I end up hard-coding it for download in my current tests.

WIth the good Ubuntu debootstrap,

Code: Select all

./build_firstrib_rootfs.sh ubuntu jammy amd64 f_00_Ubuntu_Jammy_amd64_noXsimple00_wiak-rc1.plug

is partly working...

However, overall still some code in that Debian/Devuan/Ubuntu area to tidy up again and I probably don't have time right now so may be a while before that ready and released, but not a big deal since no-one been building further Ubuntu releases in KL area. Assuming can do it in an hour or two maximum I intend quickly testing the rest of the build script with Void Linux, Arch Linux, (and Fedora maybe). Arch Linux and Void Linux should all remain fully functioning in which case I'll release as is with Debian/Devuan/Ubuntu fixed support to come later... I'll let you know once I've finished that much and published.

EDIT: but a problem. It's all to do with zstd getting used with everything so looks like debootstrap needing extras to extract correctly. Googling reveals that it is a well-known new issue with debootstrap/needs. I will have to think about this and fix later (I know exactly what the issue is though - no zstd/zstdcat when in chroot cos busybox doesn't provide it... tricky/painful, but have various ways to work round that. Easy to deal with if I accept using host installed debootstrap, which I am now inclined towards - alternatively I'm considering a statically linked musl build again, but not sure about likelihood of that - zstd involves a lot. Well:

Code: Select all

https://gist.github.com/ryancdotorg/84275935f0b82578d8c222e2e915fc78

(putting in code tags to avoid it opening since lots of lines).

Nah, this is getting silly (and above maybe just for arm); if anything Void Linux xbps-src might be best bet for static builds, but I haven't learned much about using that. I already thought previously that it was overkill doing the debootstrap in a chroot. I don't do that for Arch Linux so I think I'll just simplify matters like the archbootstrap mechanism - then I don't need pkgdetails either - will do the Debian-part of the script re-write once I have more time in the future I think. But just found this: https://aur.archlinux.org/packages/zstd-static

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
rockedge
Site Admin
Posts: 5711
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1991 times
Been thanked: 2097 times
Contact:

Re: KLV To-Do List

Post by rockedge »

wiak wrote: Fri Aug 04, 2023 9:55 am

But just found this: https://aur.archlinux.org/packages/zstd-static

this might be the game changer!

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

rockedge wrote: Fri Aug 04, 2023 1:49 pm
wiak wrote: Fri Aug 04, 2023 9:55 am

But just found this: https://aur.archlinux.org/packages/zstd-static

this might be the game changer!

Maybe not...

I just built it using old version of Sofiya's KLA_OT2baseCE via trizen. Managed the build (under .cache) but doesn't seem to be statically linked afterall... Pity.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

I don't think I need to do the debootstrap the way I've been doing though (in own chroot) so easier not to - then don't need pkgdetails nor zstd in the chroot...

But I did have the feeling the way I did it before (in chroot) had some advantages since could work on any distro even if they themselves didn't have debootstrap installed or perl for that matter... But I think that previous method is becoming too much effort. Only effect the Debian/Devuan/Ubuntu-based builds anyway.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
Sofiya
Posts: 1803
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1076 times

Re: KLV To-Do List

Post by Sofiya »

wiak wrote: Fri Aug 04, 2023 2:37 pm
rockedge wrote: Fri Aug 04, 2023 1:49 pm
wiak wrote: Fri Aug 04, 2023 9:55 am

But just found this: https://aur.archlinux.org/packages/zstd-static

this might be the game changer!

Maybe not...

I just built it using old version of Sofiya's KLA_OT2baseCE via trizen. Managed the build (under .cache) but doesn't seem to be statically linked afterall... Pity.

And why is this necessary, I do not understand anything about what is at stake
A test was made and the package was found to be out of date.

replaced
requires removal of zstd - if installed
zstd-static-1.5.5-1-x86_64.pkg.tar.zst :
https://gitlab.com/sofija.p2018/kla-ot2 ... line=false

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

Sofiya wrote: Fri Aug 04, 2023 3:35 pm
wiak wrote: Fri Aug 04, 2023 2:37 pm
rockedge wrote: Fri Aug 04, 2023 1:49 pm

this might be the game changer!

Maybe not...

I just built it using old version of Sofiya's KLA_OT2baseCE via trizen. Managed the build (under .cache) but doesn't seem to be statically linked afterall... Pity.

And why is this necessary, I do not understand anything about what is at stake
A test was made and the package was found to be out of date.

replaced
requires removal of zstd - if installed
zstd-static-1.5.5-1-x86_64.pkg.tar.zst :
https://gitlab.com/sofija.p2018/kla-ot2 ... line=false

It is simply to do with the way I was building Debian based firstrib distros. Not needed for Arch Linux builds at all.
I simply noticed Arch AUR had zstd in statically linked form, so I also fetched that but it is only partly of static construction, so not standalone executable I think.
I needed it because debootstrap now needs zstd, but up till now I was building Debian based FR in a chroot environment that only had busybox in it with no access to host distro's zstd. Same reason I was using pkgdetails since did not have access to host distro's perl from the chrrot environment, and debootstrap needs perl usually.
I will try that aur zstd package maybe anyway with libs extra, but overall I will likely use host installed debootstrap, perl, and zstd in later script versions (rather than use debootstrap for Debian build in self-contained chroot environment).

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

In fact, I had forgotten. I already have a 'special' skeleton FR initrd that already contains libc and zst libs. It was only a little bit bigger than the usual FR skeleton initrd (because of the inclusion of these libs), but I haven't needed it lately. I think I can just take out its zstd lib components and use them in the current debootstrap chroot environment - just a few MB. Then again, I can indeed just use the zstd-static parts since that FR skel initrd didn't contain the zstd binary itself (just the libzstd for use by kmod). I will try that, but still, I've long been thinking I should re-write the Debian-related part of build_firstrib_rootfs simply to use build host systems perl and zstd and so on - means no maintenance work likely ever for these parts.

Will however, simply add-in zstd from that old kmod version of FR initrd into the debootstrap chroot and see if that works, which I expect it will. Too much work - no worried anyone - I'll just use more typical debootstrap build using the host own libs - should be easy script modification that way and no sweat...

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

This re-doing Debian-build code in build_firstrib_rootfs is taking me back in time to 2017 when I was invasive enough to find out and describe how to use Debian's debootstrap on any Puppy (not just Debian-based) system. I'm glad I wrote that pretty extensive post since it not only turns out to have (admittedly without intention) seen the future to some extent, but also contains information that remains very relevant: https://oldforum.puppylinux.com/viewtop ... 63#p963063

Despite some new Pups being designed via debootstrap, the above already described an alternative approach of using debootstrap in tradition PPM-based Pups, but more important for me personally it reminds me how to use debootstrap for my own FirstRib needs (cos I've otherwise forgotten...).

Instinctively (almost) I still don't feel comfortable with simply installing debootstrap on the host system being used for FirstRib or KL FR-based builds. It then occupies /usr/lib/debootstrap and other places on whatever distro filesystem host I'm using (I haven't checked debootstrap parts location details). That's why in build_firstrib_rootfs script I previously only installed debootstrap into a separate filesystem using chroot to use it, but yes, that wee filesystem is like a mini-linux that needs several key parts such as now zstd and dependencies. I have a new experimental idea to avoid installing debootstrap on the host filesystem itself - I could get the debian section of build_firstrib_rootfs to made a very small Void Linux system by calling the build Void function in the same script (since xbps static package manager makes that pretty easy and just use it to install zstd...) and then use that for the debootstrap work in a chroot and delete that mini-Void-Linux system once the debian rootfs completed. Even the smallest useful zstd-containing Void Linux rootfilesystem is probably bigger than I want though - but the idea is sound I think, so I'll think more about that too... or maybe I'll resort to some bind mounts back to key host directories, but I resist that because I've accidentally destroyed host key directories (removed) whilst in that kind of chroot situation in the past - can't remember what the issues were, but realised could be very risky (resulting back then in my having to completely re-install the big host system...).

Or I'll simply accept straight install of debootstrap on the host - yes it is easiest way forward, but I do wonder if I'm using a different debootstrap for other builds (since Ubuntu, Devuan, and Debian all have their own different debootstrap variants), whether writing one over the top of the other is okay...

EDIT: Without trying for the very smallest just took about 20 seconds to make a default: ./build_firstrib_rootfs.sh void default amd64 build and that is 59MiB in size. Bit big, but it doesn't matter, gets removed totally after the Debian-based build is completed thereafter... But I'll see what smaller one I can make - the build_firstrib_rootfs script has some special optional variants (e.g. vmini) including one that just includes busybox and xbps-static package manager alone...
EDIT2: well, vmini build is only slightly smaller (46MiB) since xbps-static actually consists of several parts each a few MB in size, but I think around 50MiB temp root filesystem during build is fine since avoids me having to permanently install debootstrap on underlying host machine, which doesn't seem like ideal to me... The bigger no-f_plug normal build number 1 below (59MiB) includes zstd automatically - EDIT...No, I had to install zstd in plugin (and the necessary openssl and certificates and stuff needed to access Void repos), the vmini one (46MiB), doesn't:

Code: Select all

./build_firstrib_rootfs.sh void default amd64 

./build_firstrib_rootfs.sh vmini default amd64

Void Linux is such a great upstream distro for experiments like this. Actually, if it was just a FirstRib Debian build I wanted, I can just install Void Linux Debian-debootstrap, but that's not so versatile as way I've been doing it that allows for either of Ubuntu, Devuan, or Debian debootstrap use.

EDIT3: History is that Void Linux was the distro I first aimed for in FirstRib design, hence it having so many build options in build_firstrib_rootfs; Void is just so versatile, but that makes me think of something I should add. Though script can already build amd64 (x86_64) or 32bit i686 builds, I haven't included x86_64 musl builds yet, which would be smaller too of course - I will add that next year. I had planned for arm processor builds too, but I have no suitable arm-based devices as yet so never completed that function since can't test the result (but the arm-build function would be pretty much identical other than the architecture I would think).

EDIT4: In practice I don't need that whole 59MiB temporary Void Linux build. I can remove most components from it (using FirstRIb mount_chroot.sh script, for example - wiak's razor) as long as I keep zstd and dependencies... and just keep that little special Void root filesystem as a wget fetchable tar.xz or similar archive to be quickly downloaded and temporarily used for my Debian/Ubuntu/Devuan builds - yes, I like that idea most I think. But if it ever fails, always have option to build new 59MiB alternative for same use. Thus far, after using xbps to install zstd the resulting root filesystem is only 51.3MiB after removing contents of /var/cache/xbps. I have to stop spending time on this till a few months from now, but I will quickly tonight have last experiment using the razor on that... All this just for Debian-related FR builds of course - Void Linux, Arch Linux, and Fedora FR builds don't need this anyway.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

Oh well, above idea of using a mini-Void-distro as part of build_firstrib_rootfs Debian builds was a brainwave - today's coffee did its job.

The Void root filesystem resulting from ./build_firstrib_rootfs.sh void default amd64, but with zstd added, is perfectly small enough at around 57MiB because I can fetch it from my firstrib repo via wget when required - download size is less than 15MiB once tar.xz compressed, and it gets deleted once the FirstRib Devuan, Debian, or Ubuntu is completed. Of course any small distro root filesystem that contained the likes of zstd would do
for inside the chroot with this FirstRib methodology for using debootstrap; result is that debootstrap DOES NOT need to be installed on the host system itself at all.

Actually, the tar.xz remains under 27 MiB even if I include perl inside, which would have the advantage that no pkgdetails extra would be required to satisfy the needs of Debian.

I will try both, but I'm tempted to go the 27MiB direction since gets deleted at end of build anyway and won't take long to download with modern internet speeds. Yes, could take the small distro and cut it down a lot still, but that is messy, bad for future maintenance/rebuilding, and hardly seems worthwhile since the compressed-mini-rootfs gets deleted during the debootstrap build anyway.

Great thing about this idea is that mini-void-rootfs can be added to at any time should any other code be required at any stage in it - easy therefore to build and maintain, which is important for distro longevity. Funny how Void Linux would then be the vehicle for building FirstRib/KL Debian/Ubuntu/Devuan builds. Is there no end to the power of this concept? - just joking - don't panic, but the idea seems to fit our FR/KL strategies and needs anyway ;-)

Also allows for building that mini-Void for the chroot by the build_firstrib_rootfs script itself; I'll look into both idea alternatives. But alas, no time right now really...

Once I've implemented these 'fixes' FirstRib/KL builds will be possible for all of variants: Void Linux (32 and 64bits), Arch Linux, Devuan, Debian, Ubuntu, Fedora and also, via KL_full2frugal most typical full installed distros such as Linux Mint, MxLinux, Zorin and Manjaro. Exhausting really... Well I feel a bit exhausted these days anyway, but generally optimistic about developments.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

I spoke too soon; the ideas above worked. Thought it would take long time to implement. I've made a quick ubuntu jammy new FR root filesystem build via new test build_firstrib_rootfs.sh, so all of Devuan, Debian, Ubuntu builds will be available again soonish afterall... and now should be a much easier to maintain permanent build option feature. Now I'll try adding to the base Ubuntu Jammy build with simple noX f_00_Ubuntu_jammy build plugin extra. I have no doubt that will work as it used to.

EDIT: yes, on a roll now; that worked too; not a small distro build since I'm not using any slim-it-down measures at all in these debootstrap builds at this time.
Using skeleton FR initrd bolt-on tricks it is easier to produce slim variants of the likes of Ubuntu Jammy in practice, but nevertheless I am happy to see the build_firstrib_rootfs.sh back able to build these from f_plugs. Debian debootstrap even with variant "minbase" was never designed to produce small distro root filesystems, so whatever results would basically need remastered to make a forum-style small distro.

But I don't see a lot of point in doing that, myself. As I say there are some relatively small root filesystems already made and available elsewhere (for example, for docker containers) that can easily be turned into a FR-based KL distro. I don't myself care to re-invent too many wheels. Instead I think it is much more sensible to take what is already out there such as docker containerised distros and so on, and turn them into the likes of KL distros with FR initrd save-on-demand or run from RAM functionality and so on.

That's particularly the case, I feel, with Debian-based distros, because debootstrap simply does not create small distos and for the most part it is best not to slim base distro down when that doesn't make it run more efficiently usually anyway. Arch Linux and Void Linux are a great deal different - it is pretty easy to build small variants of these via the likes of build_firstrib_rootfs FirstRib build system, which then provides via the f_plugin a huge amount of scope for unique creativity and very different look, feel and desktop environment.

Attachments
FR_Ubuntu_Jammy.png
FR_Ubuntu_Jammy.png (155.19 KiB) Viewed 6892 times

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

Actually, you can slim the result down. A few years ago I did that to produce what I called a LGO build with a view to using the resulting small Ubuntu distro as a building block like LEGO.

In fact I published a FirstRib iso of it for Ubuntu FocalFossa - was around 80MB as far as I recall; basically just a very minimal FocalFossa with dpkg/apt and all the dependencies needed to make that work properly. One offshoot of that LGO production was sfs addon for Puppy's FossaPup which gave it almost perfect dpkg/apt ability (aside from issue of apt updates bringing down systemd replacements for a couple of Puppy system scripts, though not a great issue to fix since could just copy the Puppy scripts back in again after such upgrades - in fact rockedge used that to good effect those couple of years before dpkg/apt became available in more recent actual Pup builds.

So you could slim down a debootstrap built Ubuntu/Debian/Devuan FirstRib build by removing all but dpkg/apt and the dependencies of that package management system (i.e. pretty much just tiniest core system plus dpkg/apt package manager plus its dependencies). For LGO FirstRib system, I actually didn't use my already available debootstrap build at all, but instead created a modified build_firstrib_rootfs script to simply install dpkg/apt and all its dependencies one by one (rather than a whole debootstrap system then cut down...). Either way can produce an iso like that wee 80MB FR_focalfossa I'm talking about, and that was a handy commandline-only variant (to start with). I should make a LGO jammy I suppose - that will also have to wait till mid-2024. I never make inbetween Ubuntu (etc) release variants (e.g. Kinetic) since the upstream support term for these is so short I'd rather wait till new LTS release.

I could include the LGO code in usual build_firstrib_rootfs script (in fact the LGO code shared a lot of that FR script code) but in practice was easier to use a different (albeit related LGO version of the usual firstrib_rootfs build script altogether). Anyway, hopefully I can publish some LGO script builder next year to supplement the growing range of options - I still have the original scripts used, but they need updated to work now of course.

Overall obviously too big a growing TODO list, but since most of it has already been done over the years, it is surprising how quickly it could all become more generally available again I feel. Once a person gets the hang of using the FR skeleton initrd all the variants become easy to create and use I feel, so not as much work involved as might otherwise be imagined.

Very good that there are an increasing number of FR/KL distro builders around in this KL section now since encourages long term maintenance of the build system component parts too. That's the way I view the system actually, not as some kind of overall complex build system, but as a small number of simple building blocks. Once you understand the two or three main parts of that and how to use them, the rest I think is pretty easy, yet flexible in what can be done with it.

Personally I find experimenting with it all quite exciting because it is easy with the simple FR pieces to do so much (and a lot of unexplored scope). That's mainly why I am on the forum.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
rockedge
Site Admin
Posts: 5711
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1991 times
Been thanked: 2097 times
Contact:

Re: KLV To-Do List

Post by rockedge »

in fact rockedge used that to good effect those couple of years before dpkg/apt became available in more recent actual Pup builds.

I've just booted into this system and using apt update | apt upgrade did a complete system update/upgrade! Typing this from it now. This was a comprehensive enough update that I had to run a little script that returns the correct init, poweroff, reboot for a Puppy Linux and not systemd. The upgrade included systemd upgrades which swaps in the systemd links in /sbin

Also needed to chown -R the /var/run/mysqld directory to have the correct ownership. The upgrade of the mysql server changed this to Ubuntu configurations and I just with one command switch it back to Puppy Linux mysql server operations configuration.

This little bolt on SFS has functioned flawlessly since I set it up in 2020 modifying a Fossapup64-9.5 to run it.

Some screenshots of the most recent APT update/upgrade:

Screenshot-17.jpg
Screenshot-17.jpg (28.12 KiB) Viewed 6852 times
Screenshot(4).jpg
Screenshot(4).jpg (31.09 KiB) Viewed 6852 times

I originally began to experiment with the APT SFS addon to perform Zoneminder installations and updates more like the mainstream and not always Puppy Linux specialized. Also just noticed the fonts for Palemoon and other applications are different and much nicer.

Now I am tempted to try the add-on SFS on F96-CE_4 to see if there is any hope of it working. Not really important because of the deep advances being made to incorporate the APT package management into the newest woof-CE builds.

User avatar
rockedge
Site Admin
Posts: 5711
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1991 times
Been thanked: 2097 times
Contact:

Re: KLV To-Do List

Post by rockedge »

Test ready to bolt on the LGO SFS (adrv + apt SFS) to a fresh frugal of F96-CE_4

Screenshot(6).jpg
Screenshot(6).jpg (13.6 KiB) Viewed 6844 times

It works:

Screenshot(2).jpg
Screenshot(2).jpg (80.17 KiB) Viewed 6839 times

Installed apt install mc and that installed and works right after a system upgrade. And added the components to return the /sbin to a Puppy Linux state after any updates to Ubuntu's systemd by the APT package manager.

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

So, to make the build more automatic I've modified the latest build_firstrib_rootfs.sh script I'm working on to auto-build and use a temporary small Void Linux filesystem to use in a chroot to then build Debian-based systems (via debootstrap per usual). Of course that's a bit slower as a Debian/Devuan/Ubuntu build since the Void distro needs built first, but Debian debootstrap builds are VERY slow (and big) generally so hardly an issue.
Nevertheless, it is a matter of commenting out (and in) a couple of code lines to simply download a pre-mades small Void Linux rootfs for the same job.

The Debian/Devuan/Ubuntu debootstrap build within a zstd/perl capable mini-Void distro is working well and solves a lot of issues in practice: main thing being no need to pollute host builder platform with debootstrap code, nor need special compiled pkgdetails executable like I was using before.

Since the Debian-based builds do in fact also build a mini command-line Void Linux root filesystem, I've decided not to delete that since it generally is a useful up-to-date build output resource too (a user can delete it manually at the end of the Debian build if they wish), but nice to have what is basically a minimum Void Linux commandline-only build. However, that needs a few extra parts installed to make it bootable by FRinitrd, though for a straight build of it I will be including a simple f_plug with minimum extra install code to allow also wifi connection via simple old wiakwifi (which had a missed bug that I've now also fixed). Of course, any such Void distro can have more added to provide X desktop, Wayland, or whatever.

I wasn't meaning to work so much on this new version right now, but I realised I might forget lots I've been working out, so best for long term time savings to try and finish the changes now rather than wait till early 2024 when I hope to have more free time again... I will publish copy of the new build script for testing in a day or two - quite significant code changes, so needs more testing. Also I haven't had time to check all the Debian build types yet, nor the Fedora builds.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

Using the under test new build_firstrib_rootfs script just successfully built a:

Code: Select all

PRETTY_NAME="Devuan GNU/Linux 4 (chimaera)"
NAME="Devuan GNU/Linux"
VERSION_ID="4"
VERSION="4 (chimaera)"
VERSION_CODENAME="chimaera"
ID=devuan
ID_LIKE=debian
HOME_URL="https://www.devuan.org/"
SUPPORT_URL="https://devuan.org/os/community"
BUG_REPORT_URL="https://bugs.devuan.org/"

Been a while since it was able to do that, but all looking good again. Can build Devuan Daedalus too.

Next build test will be Fedora; I'm more interested in that than the already so many Debian-based distros.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

Fedora build not working cos the upstream fdstrap script I was using for Fedora not working any more and I see no maintenance work on it for a year. However, I have some sort of fedora root filesystem hacked together now based on fdstrap - I know nothing about Fedora nowadays other than last time I played with weedogit installed variant using dnf package manager so not sure how correct the rootfs I've made is, but seems okay thus far. Will use it for now with build_firstrib_rootfs for the fedora code. Should have the tested build script available for limited testing soon.

EDIT: No, though that fedora root filesystem worked ok on my host in a chroot, it didn't work once booted. But... no idea how, I found how new dnf package manager options and seem to have fdstrap working now. Testing to see if that is true... WIthout particularly good reason, except gut feeling, I feel somewhat confident this time though.
EDIT2: yes, the resultant commandline-only fedora rawhide seemed to boot fine and dnf install package manager works. I have no idea how to get GUI environment working with this though. No simply xorg or xfce4 environment base package as far as I could fine - but truth is I just don't know how to use fedora. I'll put the commandline variant into build_firstrib_rootfs builder though.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

So in small fedora rawhide. No idea about it. Had installed network manager so nmtui allowed me to connect to internet via nmtui command. Old wiakwifi also worked in earlier attempt (after installing iproute and busybox and wpa_supplicant).

Just for fun installed Wayland Weston:

dnf install weston

Thought that'd be tiny, but it installed tons of stuff...

Can't remember now if came with it or did also: dnf install weston-terminal

Its rubbish looking.

Started weston simply with command: weston
Terminal was available as wee top bar icon, so opened that in weston

Then did: dnf install firefox, and I'm posting from it now. I am ignorant about this, but I guess it is working as it should. BTW also did: dnf install sway and I ran command: sway, so that is now running in its own window on this Wayland session. Running weston-terminal again caused it to now pop-up in the sway window. Grim screenshot wouldn't work in these, sorry... Really I am just playing and have no idea what I am doing...

Wasting time. Moving on. Still to put this new code fix into build_firstrib_rootfs...

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

So I had finished dev work. Well, this is driving me mad... Tonight tried what worked yesterday:

./build_firstrib_rootfs.sh fedora default amd64

Tonight didn't work. Apparently new release of fedora rawhide; and dnf used no longer recognises option --use-host-config (as used in downloaded fdstrap.sh), so I edited the downloaded fdstrap.sh and took that option out and reran:

./build_firstrib_rootfs.sh fedora default amd64

and it built fine. Maybe tomorrow another new Fedora Rawhide release which needs --use-host-config. Oh well, ok, I'd put it back in again. Bit of a moving target. That's the problem with ultra-fast-moving-rolling-release; not fault of build_firstrib_rootfs.sh - and fdstrap.sh never been changed upstream for over a year. But anyway, working for me again, but only after removing that --use-host-config in fdstrap.sh (fdstrap.sh doesn't get re-downloaded if already in build dir so that's useful at least).

OOPS... looks like I had a post from yesterday here but have accidentally replaced it with this new one. Oh well, consider this newer post the newest. I can't remember already what I posted yesterday...

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

Just re-uploaded fdstrap.sh with current 'fix' since found fedora build was suddenly not working anymore. I expect actually my /etc/resolv.conf last minute fix in build_firstrib_rootfs.sh had broken the fedora build without me noticing... So with new fdstrap.sh the command:

./build_firstrib_rootfs.sh fedora default amd64

is I'm glad to say working again... Had though Fedora Rawhide being a constantly moving rolling release distro was cause of the problem, but probably wasn't that afterall.

As for how to turn that simple commandline distro into a GUI distro; well, Fedora (RedHat) package manager is fantastic in my opinion (better than apt/dpkg or xbps). Yes I know, some people hate systemd and RedHat therefore, but personally I also find systemd the best of the pack. Once you've used it for a bit you soon get to know where all its bits and pieces resides and how its commands work - though I remain a novice at systemd use actually. But dnf package manager... wow, it is so tidy and intuitive... But back on point - how to use dnf to install GUI. Well, like with Void Linux xbps you just need a template file (with Fedora dnf it is called a 'group') so to install, say, XFCE, you simply use command:

dnf group install XFCE

and then you have X auto installed and XFCE (and we all know how that looks and works). So, no it is not difficult at all to start building a full-featured KL distro; not if you leave upstream to do the hard work... Openbox installs with tint2 are a bit trickier since that's not a complete desktop environment - just a desktop manager...

To see what groups are available, enter command:

dnf group list --hidden

I did try: dnf group install LXQt and that booted to a graphics screen but I couldn't see where to enter my root/root login details. I haven't actually tried booting the just made Fedora Rawhide XFCE so let's hope that provides place to log in(!) or I'll have to figure out how to do it... Back soon with reboot result...

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 3627
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 56 times
Been thanked: 994 times
Contact:

Re: KLV To-Do List

Post by wiak »

Yeah, so @geo_c and Co. The idea that it might be tricky to use build_firstrib_rootfs.sh to build a full XFCE style distro is in imagination only. All that was needed were the following (but using the today 'fixed' fdstrap.sh build-helper-utility, rather than the unfortunately faulty one from yesterday):

./build_firstrib_rootfs.sh fedora default amd64

Then, after including FR skeleton initrd, vmlinuz (huge-kernel), 00modules.sfs and 01firmware.sfs and running ./wd_grubconfig to get grub2 menu stanza, in the running distro do:

dnf group install XFCE

and you get a perfectly good XFCE-based distro to reboot into (with user:root, password:root).

Okay, so had no internet browser, so I added:

dnf install chromium

which installs 'chromium-browser' (of course, as it stands you need to run chromium-browser --no-sandbox, since running as root user here)

NOTE: once ./build_firstrib_rootfs.sh fedora default amd64 was finished building firstrib_rootfs/, I actually used command: ./mount_chroot.sh firstrib_rootfs
to enter into that filesystem (via the chroot used there) and it was there that I installed XFCE via command:
dnf group install XFCE
and then entered command 'exit' to leave the chroot, and finally
./umount_chroot.sh firstrib_rootfs
to clean up the mount points used by the chroot.
Actually, finally was really to then rename firstrib_rootfs/ to 07firstrib_rootfs/ and then booted into my shiny new Fedora Rawhide desktop (as root user passwd root) ;-)

But instead of say, dnf group install XFCE, you can give the likes of dnf group install LXDE a go - I haven't tried that one yet.
Also, later, you'd want to include the save2flash utility scripts from other KL distros so have FirstRib RAM2 save on demand support of course, but otherwise, easy as pie to build this new distro, which I'm posting from right now...

NOTE2: The end result is a pretty full-on Fedora distro so quite a number of service daemons running in background by default and a full-on XFCE so neither small nor tiny in terms of resource usage. But great to play on a Fedora system for a change - also, this, or similar Fedora build, would be the one for use in educational establishments since RedHat Certified Engineer Linux courses is main professional system admin Linux qualification (and dnf would be the package manager learned there and single-user distro like Puppy no use for that Linux system admin teaching situation - I know... because I use to teach on some RHCE courses).

NOTE3: In practice, I would create a normal user (such as spot) using terminal command:

useradd -m -G wheel -s /bin/bash spot

and logout and login again as user spot since chromium-browser needs no sandbox then and no fluffing about with 'tricks' needed. Yeah, but i don't mind using sudo thunar followed by opening root-user terminal from there to admin my system... or set permissions on other resources thereafter... Also I'd install something like geany since no text editor from this Fedora by default: dnf install geany
But yes, I love this dnf package manager - it's really intuitive to use and great (but XFCE has dnf GUI package manager available by default too).

Attachments
fedora_rawhideXFCE.png
fedora_rawhideXFCE.png (159.28 KiB) Viewed 6742 times

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

Post Reply

Return to “KL-Dev_Work”