2

I'm running Arch Linux with a customized kernel. I modified the PKGBUILD from abs, and renamed the package to linux-custom.

The PKGBUILD is fine, after installation I could see the modules.devname in the /lib/modules/$(uname -r)/ folder

But that file is not included while creating the initrd image. Perhaps there's something wrong with my mkinitcpio profile?

%> cat /etc/mkinitcpio.d/linux-custom.preset 
# mkinitcpio preset file for the 'linux-custom' package

ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-linux-custom"

PRESETS=('default' 'fallback')

#default_config="/etc/mkinitcpio.conf"
default_image="/boot/initramfs-linux-custom.img"
#default_options=""

#fallback_config="/etc/mkinitcpio.conf"
fallback_image="/boot/initramfs-linux-custom-fallback.img"
fallback_options="-S autodetect"
daisy
  • 53,527
  • 78
  • 236
  • 383

0 Answers0