]> git.baikalelectronics.ru Git - kernel.git/commitdiff
parisc: Fix "make install" on newer debian releases
authorHelge Deller <deller@gmx.de>
Sat, 4 Dec 2021 20:14:40 +0000 (21:14 +0100)
committerHelge Deller <deller@gmx.de>
Sat, 4 Dec 2021 20:36:04 +0000 (21:36 +0100)
On newer debian releases the debian-provided "installkernel" script is
installed in /usr/sbin. Fix the kernel install.sh script to look for the
script in this directory as well.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v3.13+
arch/parisc/install.sh

index 056d588befdd63671fbaf5a2e3f1afc498d9f8b0..70d3cffb02515c7e8f99a1f493994fca16ce648b 100644 (file)
@@ -39,6 +39,7 @@ verify "$3"
 if [ -n "${INSTALLKERNEL}" ]; then
   if [ -x ~/bin/${INSTALLKERNEL} ]; then exec ~/bin/${INSTALLKERNEL} "$@"; fi
   if [ -x /sbin/${INSTALLKERNEL} ]; then exec /sbin/${INSTALLKERNEL} "$@"; fi
+  if [ -x /usr/sbin/${INSTALLKERNEL} ]; then exec /usr/sbin/${INSTALLKERNEL} "$@"; fi
 fi
 
 # Default install