-
zedmatrix
you should fire up a vm to test the / use :)
-
zedmatrix
nsITobin: you know the number of times i have copy and pasted the vkfs/chroot/ unmount i couldof just made a single script :)
-
zedmatrix
hmm now i gotta check out man grep to help my http nano colorizer
-
nsITobin
"http nano colorizer"?
-
zedmatrix
yea in nanorc to highlight a url between =[https://] .... color cyan "(https?|ftp)://[^\s\]]+"
-
nsITobin
btw like you .. i can get majorly distracted as well LOL
-
zedmatrix
i started with the sh.nanorc and been tweaking it to zbc.nanorc
-
zedmatrix
ax562: sup?
-
ax562
sup zedmatrix? My bad, in the middle of a study.
-
zedmatrix
nice
-
zedmatrix
i have been fighting with a nanorc regex
-
ax562
bbl
-
zedmatrix
ax562: i am building a new squashfs, that version i think has too much, and maybe i can shrink it to cd size
-
ax562
cool, I just dd it onto a flash drive and it looks OK.
-
ax562
Should I wait to try out your new version?
-
ax562
I'm in the middle of a few things and probably wont be able to test drive it until tomorrow or Mon.
-
ax562
Super interesting though. Never seen a squashfs in a bootable flash drive :)
-
zedmatrix
gentoo has it in there min iso, but there is no build environment til you extract their stage3
-
zedmatrix
also kinda fun using just the lfs tools to build it
-
zedmatrix
well ive burned it to a dvd and used it to build off of 2x
-
ax562
Did you use squashfs for the small size capabilities or did you just wanted to try it out?
-
zedmatrix
kinda both
-
SuperPizza
Quick note: GCC15 causes many breakages when building, since by defaulting to C23, `type function()` definitions no longer assume arbitrary amount of arguments, but *zero*, causing errors on a few packages like `bash` and `make`.
-
zedmatrix
yea thats why for my iso project i am using GCC 14.2.0
-
SuperPizza
It's doable, but reuqires some environemnt variables.
-
zedmatrix
-
nsITobin
that's some nice coding there.. seems very close to what I wrote LOL.. uhh MIT licence..
-
nsITobin
k?
-
nsITobin
i want to make my default licence just MIT .. as much as I love the MPL .. i don't love mozilla anymore
-
zedmatrix
yea i liked your function names
-
zedmatrix
but i also added the sys/efi one if some one follows the blfs - grub root early
-
SuperPizza
I made a similar, but shorter script
-
zedmatrix
i figure i might as well finally make one script instead of 3
-
nsITobin
well the script i wrote was based on the lfs book but setup to run dnf installroot for fedora and other redhat based disasters i mean distributions
-
nsITobin
then i made it conditional for that OR lfs
-
nsITobin
now it is just for lfs again
-
nsITobin
lol
-
zedmatrix
-
nsITobin
here is the linuxnt version of the script with the dnf installroot bit if it is /mnt/sysroot
dpaste.org/P0Wj3
-
nsITobin
zedmatrix SuperPizza
-
nsITobin
based on the lfs book and
glacion.com/2019/06/16/Fedora.html but i eliminated the systemd nspawn bs part
-
nsITobin
pretty simple when you eliminate installing their kernel, grub, and initramfs
-
SuperPizza
I use a qcow2 image to store the being-built system
-
nsITobin
i do more cleanroom or clean build proceedures when i share for dist.. for me.. fuck it, we're doin it live!
-
SuperPizza
I can just copy the imaghe as a backup
-
nsITobin
preferably with zedmatrix's new livecd
-
nsITobin
;)
-
SuperPizza
modprobe nbd --max-part=8; qemu-nbd --connect=/dev/nvd0 /path/to/lfs.qcow2; sudo mount ...
-
nsITobin
SuperPizza: I am also invested in windows imaging technology.. wim files.. as well in rpm.. and basically being a twisted computer fundamentalist dos/nt user
-
SuperPizza
:D
-
zedmatrix
you need 8 partitions :)
-
SuperPizza
no, 3; ESP, root, swap. For now atleast
-
zedmatrix
i just use this> sudo modprobe nbd nbds_max=2 max_part=4
-
SuperPizza
sure
-
nsITobin
modprobe.. everyone should build their own kernel and everyone should build modules into the kernel imo
-
SuperPizza
And I'm not doing LFS the easy weay...
-
zedmatrix
its just so easy to just fire up qemu , instead of building on a loop device
-
SuperPizza
... because I replace a few packages with alternatives.
-
SuperPizza
yea
-
SuperPizza
Ever thought of NOT using Glibc?
-
SuperPizza
You'll get it done, with minor changes, until you touch Systemd.
-
zedmatrix
that might be a good root maybe for a live iso
-
zedmatrix
maybe use sys-v
-
SuperPizza
But Udev?
-
SuperPizza
Okay, there's eudev too
-
zedmatrix
maybe rc ?
-
SuperPizza
Yes, I'm attempting to make a working LFS uner Musl. And some other bits
-
zedmatrix
maybe i should use include... du -h --max-depth=1 --exclude=/{dev,home,media,mnt,proc,run,sources,srv,sys,tmp,var,zbuild} / so far 4G no strip
-
SuperPizza
I know Alpimne and stuff exists (which is helpful)
-
zedmatrix
hmm there is our culprit... 1.9G /usr/libexec/gcc
-
SuperPizza
Wow
-
SuperPizza
`strip` that
-
zedmatrix
that is gcc 14.2
-
SuperPizza
probably a ton of debuginfo there
-
zedmatrix
oops should run 8.85 clean up first
-
SuperPizza
I don't havbe Python... oops
-
zedmatrix
omg 123M /usr/libexec/gcc
-
nsITobin
what about mdev? or mdevd?
-
nsITobin
the only thing I want from the creator of systemd.. is pulseaudio
-
nsITobin
that thing people are replacing with rust
-
nsITobin
pulseaudio is a good program
-
nsITobin
well made and works well
-
nsITobin
not had any issues
-
nsITobin
.. one of the few things not to have one issue whatsoever
-
zedmatrix
ahh its part of busybox
-
zedmatrix
maybe thats y gentoo has busybox in their live
-
nsITobin
mdevd just listens to the netlink
-
nsITobin
-
nsITobin
-
zedmatrix
ok gcc still works, just built which
-
nsITobin
i might rip the code from skalibs that mdevd needs and have it actually be a self contained project
-
nsITobin
when i get around to it
-
zedmatrix
hmm it can handle hotplug too
-
SuperPizza
I shrunk my 4.8G image to *only* 1012MiB!
-
SuperPizza
Hmmm
-
zedmatrix
imagine if you use sqauashfs
-
zedmatrix
the lfs root = 2.2G
-
SuperPizza
After some playing around, 991MiB without resizing the main part!
-
SuperPizza
Sorry, it's still resized
-
SuperPizza
992MiB when restored
-
APic
♥
-
zedmatrix
hmm looks like mdevd uses a destdir install method too
-
zedmatrix
hmm found some more trimming 163M /usr/share/doc
-
zedmatrix
hmm interesting adding chroot detection to .bashrc
-
zedmatrix
damn i always get ln backwards
-
SuperPizza
ln -sf real path/link, i know it's weird
-
zedmatrix
yea i keep mixing up the target and link name
-
zedmatrix
cool i dont think i need the libpng patch
-
SuperPizza
I'm now running GCC testsuite...
-
SuperPizza
forget that.
-
nsITobin
heh
-
nsITobin
sorry i been trying to ttake care of a dying cat that is what I been distracted with last few days
-
SuperPizza
I can't compile GDBM-1.25 because of C extension conflicts. POSIX_SOURCE is required for `ssize_t`, but `XOPEN_SOURCE` or GNU/BSD_SOURCE is required for `realpath`. They are mutually exclusive.
-
SuperPizza
(I'm using Musl if you don't know)
-
zedmatrix
i know malina is big on musl , when around