kbuild: rpm-pkg: use kernel-install as a fallback for new-kernel-pkg
authorJavier Martinez Canillas <javierm@redhat.com>
Wed, 11 Apr 2018 18:15:24 +0000 (20:15 +0200)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 13 Apr 2018 14:18:41 +0000 (23:18 +0900)
commiteea6f62bc2d67e42dd553181a68984268a03594f
treecd1dd267d10c9f3013ec3a323421ce57dbd596af
parent9564a8cf422d7b58f6e857e3546d346fa970191e
kbuild: rpm-pkg: use kernel-install as a fallback for new-kernel-pkg

The new-kernel-pkg script is only present when grubby is installed, but it
may not always be the case. So if the script isn't present, attempt to use
the kernel-install script as a fallback instead.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/package/mkspec