]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
kernel: install perl 2633/head
authorIlya Dryomov <idryomov@gmail.com>
Fri, 26 Jun 2026 12:25:39 +0000 (14:25 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 26 Jun 2026 12:25:39 +0000 (14:25 +0200)
perl has been required for building the Linux kernel for a long time
but it's not installed explicitly.

  error: Failed build dependencies:
   perl is needed by kernel-7.1.0_g0248d0a325dc-1.x86_64
  make[2]: *** [scripts/Makefile.package:75: binrpm-pkg] Error 11

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
kernel/build/setup

index 4a8b6335e88c08699be0d48d929e80309eeea897..926eabef0f2af9ec4f3cd3b901d91357a202f6ae 100644 (file)
@@ -30,7 +30,7 @@ fi
 export LC_ALL=C # the following is vulnerable to i18n
 
 if test -f /etc/redhat-release ; then
-    $SUDO yum install -y bc
+    $SUDO yum install -y bc perl
     $SUDO yum install -y elfutils-libelf-devel  # for ORC unwinder
     $SUDO yum install -y flex bison  # for Kconfig
     $SUDO yum install -y dwarves
@@ -43,7 +43,7 @@ if test -f /etc/redhat-release ; then
 fi
 
 if which apt-get > /dev/null ; then
-    $SUDO apt-get install -y bc
+    $SUDO apt-get install -y bc perl
     $SUDO apt-get install -y lsb-release
     $SUDO apt-get install -y libelf-dev  # for ORC unwinder
     $SUDO apt-get install -y flex bison  # for Kconfig