libera/#devuan-dev/ Tuesday, 2021-07-06

masonChimaera is beating me.04:56
masonFirst GRUB was a bear, and now I'm struggling to get ZFS modules into my initmramfs.04:57
masonOh, hrm. I guess I malformed my metapackage.04:58
masonPerfect storm. Added the kmod AFTER the new kernel package, so the normal depmod wasn't run, and the modules were invisible to update-initramfs. Sigh. You'd think I'd remember that at some point.05:35
masonCrazy. Had to nuke the old initramfs before it'd rescan modules. That was unexpected.05:40
masonAnd there we are, booted into Chimaera with native ZFS root. It wasn't awful. GRUB messed up and had to be fixed. The big issue came from my geetting my Chimaera metapackage for ZFS wrong.05:43
masonNow I can get to the real reason I upgraded - fixing this list: https://bpa.st/FLTQ05:47
masong'night all05:49
fsmithredping rrq13:09
fsmithredwhere's magic-touch?13:09
fsmithredand I forgot to add 'update-grub' to that.13:09
fsmithredsomeone else suggested adding a test for encrypted root, since the grub theme doesn't work in that case.13:10
rrqhttps://git.devuan.org/devuan/installer-iso/src/branch/master/scripts/magic-touch13:43
rrqfsmithred: ^^^13:45
rrq... well the other branches13:46
fsmithredrrq, I can't find it in the iso or the initrd13:46
fsmithredand the grub theme line didn't end up in /etc/default/grub13:47
rrqno magic-touch is run for building the initrd13:47
fsmithredso I should look for preserve-grub-branding?13:48
rrqyes /usr/lib/finish-install.d/94preserve-grub-branding13:48
rrqthat's in the initrd13:49
fsmithredyeah, it's there.13:49
rrqbut any patching would go into magic-touch13:50
rrqfor "future iso's"13:50
fsmithredAny guesses why it didn't work?13:50
rrqhas the desktop theme propagated?13:51
fsmithreddesktop-base worked: got theme for login screen and desktop13:51
fsmithredbut not for grub13:51
fsmithredthe line for grub theme did not get injected13:52
rrqI'll check the builder...13:53
rrqright.. hmm it's on the iso ... I need to run a trial13:54
fsmithredit should work. I did a test with an older installer iso a few days ago. Unchecked all the desktop stuff and install std system. Dropped to shell after grub got installed and I manually installed task-xfce-desktop. It all worked correctly.13:56
rrqand this time, slightly different, it failed?13:58
fsmithredthis time I installed with the new installer iso and depended on the finish script to do its thing.13:58
fsmithredit didn't13:58
fsmithreddidn't do efi install, so I can't check if the other part of the script worked.13:59
rrq(I'm running a trial with -x on that script)14:01
fsmithredinstaller syslog shows that 94preserve... ran.14:01
rrqmmm right that script might exit at lines 19 or 2014:02
rrqline 19 requeres the requires EFI14:03
rrqok. that efi case juggling shouldn't exit14:04
rrqI'll fix that14:04
fsmithredline 19 of magic-touch?14:04
fsmithredwhile you're in there, add update-grub right after the 'fi' after the 'printf'14:07
fsmithredcheckiing for encrypted root will be a little more involved.14:07
rrqmmm you mena an "in-target update-grub" command ?14:10
rrqthe generated script (94preserve-grub-branding) is executed by the installer (initrd) which has the "in-target" command for chroot execution within the target file system14:12
fsmithredoh yeah, it would have to be chroot update-grub14:12
fsmithrednot sure I understand what you're saying14:12
fsmithredit has a special chroot command?14:12
rrqyes14:14
fsmithredI need to get ready to go out. back in a few minutes then gone for the morning.14:14
rrqvt2# cat /bin/in-target14:15
rrqcheers14:15
fsmithredback. The following was suggested: Add test for GRUB_ENABLE_CRYPTODISK=y, or crypttab entry with "/"14:38
fsmithredthe first one is easy. Second one would not always work. (I use labels for my encrypted partitions.)14:39
fsmithredother option is we tell people with encrypted root to comment out the grub-theme line to get rid of the error message.14:40
fsmithredor maybe I can modify desktop-base to always put the grub theme in /boot/grub.14:41
rrq... thinking loud I suppose :)14:50
fsmithredyeah, I'll have to try that. I don't recall exactly what is involved.14:51
fsmithredanyway, I'm off. See you later.14:51
fsmithredtomorrow.14:51
rrqdo you want me to rerun the isos with this patching?14:52
rrqelse next Monday14:52

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!