Commit eefdffff authored by Seblu's avatar Seblu
Browse files

Add mkinitcpio pkgbase file

parent 8377180d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -99,6 +99,10 @@ package() {
  # run depmod to keep track of these files and remove them with the package
  depmod -b "$pkgdir/usr" -F System.map "$kernrel"

  msg2 'Add mkinitcpio pkgbase file'
  # used by mkinitcpio to name the kernel
  install -Dm644 <(echo "$pkgname") "$pkgdir/usr/lib/modules/$kernrel/pkgbase"

  install_sources

  msg2 'Removing firmwares'