Added correct dependencies for kernel 4.9.y
This commit is contained in:
parent
63b9c57565
commit
d059a8ec40
@ -1,5 +1,5 @@
|
||||
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
|
||||
index 0a2a7372..c709fc8b 100755
|
||||
index 0a2a7372..87edac65 100755
|
||||
--- a/scripts/package/builddeb
|
||||
+++ b/scripts/package/builddeb
|
||||
@@ -29,6 +29,28 @@ create_package() {
|
||||
@ -154,7 +154,7 @@ index 0a2a7372..c709fc8b 100755
|
||||
# Try to determine maintainer and email values
|
||||
if [ -n "$DEBEMAIL" ]; then
|
||||
email=$DEBEMAIL
|
||||
@@ -337,16 +419,24 @@ if grep -q '^CONFIG_GCC_PLUGINS=y' $KCONFIG_CONFIG ; then
|
||||
@@ -337,17 +419,26 @@ if grep -q '^CONFIG_GCC_PLUGINS=y' $KCONFIG_CONFIG ; then
|
||||
fi
|
||||
destdir=$kernel_headers_dir/usr/src/linux-headers-$version
|
||||
mkdir -p "$destdir"
|
||||
@ -178,9 +178,11 @@ index 0a2a7372..c709fc8b 100755
|
||||
-Provides: linux-headers, linux-headers-2.6
|
||||
+Provides: linux-headers
|
||||
Architecture: any
|
||||
+Depends: make, gcc, libc6-dev, libssl-dev
|
||||
Description: Linux kernel headers for $KERNELRELEASE on \${kernel:debarch}
|
||||
This package provides kernel header files for $KERNELRELEASE on \${kernel:debarch}
|
||||
@@ -372,10 +462,21 @@ fi
|
||||
.
|
||||
@@ -372,6 +463,16 @@ fi
|
||||
|
||||
cat <<EOF >> debian/control
|
||||
|
||||
@ -197,11 +199,6 @@ index 0a2a7372..c709fc8b 100755
|
||||
Package: $libc_headers_packagename
|
||||
Section: devel
|
||||
Provides: linux-kernel-headers
|
||||
Architecture: any
|
||||
+Depends: make, flex, bison, libssl-dev
|
||||
Description: Linux support headers for userspace development
|
||||
This package provides userspaces headers from the Linux kernel. These headers
|
||||
are used by the installed headers for GNU glibc and other system libraries.
|
||||
@@ -383,7 +484,7 @@ EOF
|
||||
|
||||
if [ "$ARCH" != "um" ]; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user