anatol / booster

Fast and secure initramfs generator
MIT License
506 stars 45 forks source link

Incorrect kernel #230

Closed kojq closed 1 year ago

kojq commented 1 year ago

booster seems to detect the live environment's kernel instead of the one in chroot when doing booster build booster-linux.img (on Arch Linux). As a result, it cannot find the file.

5long commented 1 year ago

I believe running /usr/lib/booster/regenerate_images should correctly detect kernels available in a chroot.

kojq commented 1 year ago

That would apply to all kernels present.

I would think it reasonable to perform the action for individual kernels

anatol commented 1 year ago

@kojq if you want to run booster build manually for a specific kernel then please specify --kernel-version parameter. See more information here https://man.archlinux.org/man/extra/booster/booster.1.en

kojq commented 1 year ago

Ah, thank you both. You can close this issue, @anatol.