"pelzflorian (Florian Pelz)" <pelzflor...@pelzflorian.de> skribis:
> (provision '(maybe-uvesafb)) > (requirement '(file-systems)) > (start #~(lambda () > - (or (file-exists? "/dev/fb0") > - (invoke #+(file-append kmod "/bin/modprobe") > - "uvesafb" > - (string-append "v86d=" #$v86d "/sbin/v86d") > - "mode_option=1024x768")))) > + (unless (file-exists? "/dev/fb0") > + (load-linux-modules-from-directory '("uvesafb") "\ > +/run/booted-system/kernel/lib/modules")))) To make it work, you’d need to add a ‘modules’ field so that (gnu build linux-modules) is in scope, plus throw in ‘with-imported-modules’. I’d say let’s stick to the minimal change where we still invoke ‘modprobe’. Ludo’.