-
zedmatrixyou should fire up a vm to test the / use :)
-
zedmatrixnsITobin: you know the number of times i have copy and pasted the vkfs/chroot/ unmount i couldof just made a single script :)
-
zedmatrixhmm now i gotta check out man grep to help my http nano colorizer
-
nsITobin"http nano colorizer"?
-
zedmatrixyea in nanorc to highlight a url between =[https://] .... color cyan "(https?|ftp)://[^\s\]]+"
-
nsITobinbtw like you .. i can get majorly distracted as well LOL
-
zedmatrixi started with the sh.nanorc and been tweaking it to zbc.nanorc
-
zedmatrixax562: sup?
-
ax562sup zedmatrix? My bad, in the middle of a study.
-
zedmatrixnice
-
zedmatrixi have been fighting with a nanorc regex
-
ax562bbl
-
zedmatrixax562: i am building a new squashfs, that version i think has too much, and maybe i can shrink it to cd size
-
ax562cool, I just dd it onto a flash drive and it looks OK.
-
ax562Should I wait to try out your new version?
-
ax562I'm in the middle of a few things and probably wont be able to test drive it until tomorrow or Mon.
-
ax562Super interesting though. Never seen a squashfs in a bootable flash drive :)
-
zedmatrixgentoo has it in there min iso, but there is no build environment til you extract their stage3
-
zedmatrixalso kinda fun using just the lfs tools to build it
-
zedmatrixwell ive burned it to a dvd and used it to build off of 2x
-
ax562Did you use squashfs for the small size capabilities or did you just wanted to try it out?
-
zedmatrixkinda both
-
SuperPizzaQuick 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`.
-
zedmatrixyea thats why for my iso project i am using GCC 14.2.0
-
SuperPizzaIt's doable, but reuqires some environemnt variables.
-
zedmatrixnsITobin: i finally wrote a chroot script gitlab.com/zed-linuxfromscratch/liv…/main/zlfs-chroot.sh?ref_type=heads
-
nsITobinthat's some nice coding there.. seems very close to what I wrote LOL.. uhh MIT licence..
-
nsITobink?
-
nsITobini want to make my default licence just MIT .. as much as I love the MPL .. i don't love mozilla anymore
-
zedmatrixyea i liked your function names
-
zedmatrixbut i also added the sys/efi one if some one follows the blfs - grub root early
-
SuperPizzaI made a similar, but shorter script
-
zedmatrixi figure i might as well finally make one script instead of 3
-
nsITobinwell 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
-
nsITobinthen i made it conditional for that OR lfs
-
nsITobinnow it is just for lfs again
-
nsITobinlol
-
zedmatrixyea there is arch-chroot > github.com/archlinux/arch-install-scripts/blob/master/arch-chroot.in
-
nsITobinhere is the linuxnt version of the script with the dnf installroot bit if it is /mnt/sysroot dpaste.org/P0Wj3
-
nsITobinzedmatrix SuperPizza
-
nsITobinbased on the lfs book and glacion.com/2019/06/16/Fedora.html but i eliminated the systemd nspawn bs part
-
nsITobinpretty simple when you eliminate installing their kernel, grub, and initramfs
-
SuperPizzaI use a qcow2 image to store the being-built system
-
nsITobini do more cleanroom or clean build proceedures when i share for dist.. for me.. fuck it, we're doin it live!
-
SuperPizzaI can just copy the imaghe as a backup
-
nsITobinpreferably with zedmatrix's new livecd
-
nsITobin;)
-
SuperPizzamodprobe nbd --max-part=8; qemu-nbd --connect=/dev/nvd0 /path/to/lfs.qcow2; sudo mount ...
-
nsITobinSuperPizza: 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
-
zedmatrixyou need 8 partitions :)
-
SuperPizzano, 3; ESP, root, swap. For now atleast
-
zedmatrixi just use this> sudo modprobe nbd nbds_max=2 max_part=4
-
SuperPizzasure
-
nsITobinmodprobe.. everyone should build their own kernel and everyone should build modules into the kernel imo
-
SuperPizzaAnd I'm not doing LFS the easy weay...
-
zedmatrixits just so easy to just fire up qemu , instead of building on a loop device
-
SuperPizza... because I replace a few packages with alternatives.
-
SuperPizzayea
-
SuperPizzaEver thought of NOT using Glibc?
-
SuperPizzaYou'll get it done, with minor changes, until you touch Systemd.
-
zedmatrixthat might be a good root maybe for a live iso
-
zedmatrixmaybe use sys-v
-
SuperPizzaBut Udev?
-
SuperPizzaOkay, there's eudev too
-
zedmatrixmaybe rc ?
-
SuperPizzaYes, I'm attempting to make a working LFS uner Musl. And some other bits
-
zedmatrixmaybe 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
-
SuperPizzaI know Alpimne and stuff exists (which is helpful)
-
zedmatrixhmm there is our culprit... 1.9G /usr/libexec/gcc
-
SuperPizzaWow
-
SuperPizza`strip` that
-
zedmatrixthat is gcc 14.2
-
SuperPizzaprobably a ton of debuginfo there
-
zedmatrixoops should run 8.85 clean up first
-
SuperPizzaI don't havbe Python... oops
-
zedmatrixomg 123M /usr/libexec/gcc
-
nsITobinwhat about mdev? or mdevd?
-
nsITobinthe only thing I want from the creator of systemd.. is pulseaudio
-
nsITobinthat thing people are replacing with rust
-
nsITobinpulseaudio is a good program
-
nsITobinwell made and works well
-
nsITobinnot had any issues
-
nsITobin.. one of the few things not to have one issue whatsoever
-
zedmatrixahh its part of busybox
-
zedmatrixmaybe thats y gentoo has busybox in their live
-
nsITobinmdevd just listens to the netlink
-
nsITobin
-
nsITobin
-
zedmatrixok gcc still works, just built which
-
nsITobini might rip the code from skalibs that mdevd needs and have it actually be a self contained project
-
nsITobinwhen i get around to it
-
zedmatrixhmm it can handle hotplug too
-
SuperPizzaI shrunk my 4.8G image to *only* 1012MiB!
-
SuperPizzaHmmm
-
zedmatriximagine if you use sqauashfs
-
zedmatrixthe lfs root = 2.2G
-
SuperPizzaAfter some playing around, 991MiB without resizing the main part!
-
SuperPizzaSorry, it's still resized
-
SuperPizza992MiB when restored
-
APic♥
35 minutes ago