Code: Select all
mkdir -p firstrib_firmware_modules/usr/lib
# mv firstrib_rootfs/usr/lib/modules firstrib_firmware_modules/usr/lib/modules # probably not move modules - see NOTE at foot
mv firstrib_rootfs/usr/lib/firmware firstrib_firmware_modules/usr/lib/firmware
Code: Select all
mksquashfs firstrib_firmware_modules/ 00firstrib_firmware_modules.sfs -noappend -comp xz -b 524288 -Xdict-size 524288 -Xbcj x86
NOTE: In practice, I'd probably modify the above to just put /usr/lib/firmware into 00firstrib_firmware_modules.sfs because modules for Void Linux need to be built into the initramfs and the build_weedog_initramfs05 script needs these modules to be in firstrib_rootfs so best to leave them there... But the above idea should work fine with /usr/lib/firmware
wiak