00:00:17 you should fire up a vm to test the / use :) 00:01:29 nsITobin: you know the number of times i have copy and pasted the vkfs/chroot/ unmount i couldof just made a single script :) 00:12:49 hmm now i gotta check out man grep to help my http nano colorizer 00:14:03 "http nano colorizer"? 00:15:03 yea in nanorc to highlight a url between =[https://] .... color cyan "(https?|ftp)://[^\s\]]+" 00:15:17 btw like you .. i can get majorly distracted as well LOL 00:15:59 i started with the sh.nanorc and been tweaking it to zbc.nanorc 01:15:32 ax562: sup? 02:39:06 sup zedmatrix? My bad, in the middle of a study. 03:01:22 nice 03:01:37 i have been fighting with a nanorc regex 03:21:36 bbl 04:12:12 ax562: i am building a new squashfs, that version i think has too much, and maybe i can shrink it to cd size 04:13:21 cool, I just dd it onto a flash drive and it looks OK. 04:13:37 Should I wait to try out your new version? 04:14:23 I'm in the middle of a few things and probably wont be able to test drive it until tomorrow or Mon. 04:15:16 Super interesting though. Never seen a squashfs in a bootable flash drive :) 04:27:34 gentoo has it in there min iso, but there is no build environment til you extract their stage3 04:28:15 also kinda fun using just the lfs tools to build it 04:29:30 well ive burned it to a dvd and used it to build off of 2x 04:58:18 Did you use squashfs for the small size capabilities or did you just wanted to try it out? 05:00:37 kinda both 12:04:09 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`. 14:07:05 yea thats why for my iso project i am using GCC 14.2.0 14:08:50 It's doable, but reuqires some environemnt variables. 14:32:41 nsITobin: i finally wrote a chroot script https://gitlab.com/zed-linuxfromscratch/live-iso/-/blob/main/zlfs-chroot.sh?ref_type=heads 14:33:51 that's some nice coding there.. seems very close to what I wrote LOL.. uhh MIT licence.. 14:33:53 k? 14:35:03 i want to make my default licence just MIT .. as much as I love the MPL .. i don't love mozilla anymore 14:35:31 yea i liked your function names 14:36:46 but i also added the sys/efi one if some one follows the blfs - grub root early 14:36:52 I made a similar, but shorter script 14:37:27 i figure i might as well finally make one script instead of 3 14:37:33 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 14:37:44 then i made it conditional for that OR lfs 14:37:49 now it is just for lfs again 14:37:50 lol 14:39:18 yea there is arch-chroot > https://github.com/archlinux/arch-install-scripts/blob/master/arch-chroot.in 14:43:24 here is the linuxnt version of the script with the dnf installroot bit if it is /mnt/sysroot https://dpaste.org/P0Wj3 14:43:28 zedmatrix SuperPizza 14:44:30 based on the lfs book and https://glacion.com/2019/06/16/Fedora.html but i eliminated the systemd nspawn bs part 14:45:02 pretty simple when you eliminate installing their kernel, grub, and initramfs 14:45:10 I use a qcow2 image to store the being-built system 14:45:39 i do more cleanroom or clean build proceedures when i share for dist.. for me.. fuck it, we're doin it live! 14:45:46 I can just copy the imaghe as a backup 14:45:47 preferably with zedmatrix's new livecd 14:45:50 ;) 14:46:55 modprobe nbd --max-part=8; qemu-nbd --connect=/dev/nvd0 /path/to/lfs.qcow2; sudo mount ... 14:46:59 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 14:47:23 :D 14:48:22 you need 8 partitions :) 14:49:12 no, 3; ESP, root, swap. For now atleast 14:49:23 i just use this> sudo modprobe nbd nbds_max=2 max_part=4 14:49:38 sure 14:50:40 modprobe.. everyone should build their own kernel and everyone should build modules into the kernel imo 14:50:57 And I'm not doing LFS the easy weay... 14:51:59 its just so easy to just fire up qemu , instead of building on a loop device 14:52:46 ... because I replace a few packages with alternatives. 14:54:05 yea 14:56:41 Ever thought of NOT using Glibc? 14:57:27 You'll get it done, with minor changes, until you touch Systemd. 14:57:32 that might be a good root maybe for a live iso 14:57:44 maybe use sys-v 14:57:55 But Udev? 14:58:15 Okay, there's eudev too 14:58:16 maybe rc ? 14:59:22 Yes, I'm attempting to make a working LFS uner Musl. And some other bits 15:00:56 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 15:00:56 I know Alpimne and stuff exists (which is helpful) 15:03:13 hmm there is our culprit... 1.9G /usr/libexec/gcc 15:03:25 Wow 15:03:35 `strip` that 15:03:38 that is gcc 14.2 15:04:14 probably a ton of debuginfo there 15:05:50 oops should run 8.85 clean up first 15:06:57 I don't havbe Python... oops 15:15:17 omg 123M /usr/libexec/gcc 15:15:27 what about mdev? or mdevd? 15:15:59 the only thing I want from the creator of systemd.. is pulseaudio 15:16:11 that thing people are replacing with rust 15:16:29 pulseaudio is a good program 15:16:35 well made and works well 15:16:38 not had any issues 15:16:56 .. one of the few things not to have one issue whatsoever 15:17:38 ahh its part of busybox 15:17:57 maybe thats y gentoo has busybox in their live 15:20:30 mdevd just listens to the netlink 15:20:41 https://github.com/skarnet/mdevd 15:22:16 https://skarnet.org/software/mdevd/ 15:22:58 ok gcc still works, just built which 15:23:26 i might rip the code from skalibs that mdevd needs and have it actually be a self contained project 15:23:34 when i get around to it 15:32:41 hmm it can handle hotplug too 15:43:22 I shrunk my 4.8G image to *only* 1012MiB! 15:43:45 Hmmm 15:48:47 imagine if you use sqauashfs 15:49:42 the lfs root = 2.2G 16:00:15 After some playing around, 991MiB without resizing the main part! 16:01:37 Sorry, it's still resized 16:02:43 992MiB when restored 16:03:04