67 lines
3.1 KiB
Diff
67 lines
3.1 KiB
Diff
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
|
|
index de4bfb55..6c3b038e
|
|
--- a/scripts/package/builddeb
|
|
+++ b/scripts/package/builddeb
|
|
@@ -293,7 +293,7 @@ if [ "$ARCH" = "um" ]; then
|
|
cat <<EOF >> debian/control
|
|
|
|
Package: $packagename
|
|
-Provides: linux-image, linux-image-rockchip, linux-image-rockchip-4.4, linux-modules-$version
|
|
+Provides: linux-image, linux-image-2.6, linux-modules-$version
|
|
Architecture: any
|
|
Description: User Mode Linux kernel, version $version
|
|
User-mode Linux is a port of the Linux kernel to its own system call
|
|
@@ -310,7 +310,7 @@ else
|
|
cat <<EOF >> debian/control
|
|
|
|
Package: $packagename
|
|
-Provides: linux-image, linux-image-rockchip, linux-image-rockchip-4.4, linux-modules-$version
|
|
+Provides: linux-image, linux-image-2.6, linux-modules-$version
|
|
Suggests: $fwpackagename
|
|
Architecture: any
|
|
Description: Linux kernel, version $version
|
|
@@ -322,7 +322,7 @@ fi
|
|
|
|
# Build kernel header package
|
|
(cd $srctree; find . -name Makefile\* -o -name Kconfig\* -o -name \*.pl) > "$objtree/debian/hdrsrcfiles"
|
|
-(cd $srctree; find arch/*/include include scripts -type f) >> "$objtree/debian/hdrsrcfiles"
|
|
+(cd $srctree; find arch/$SRCARCH/include include scripts -type f) >> "$objtree/debian/hdrsrcfiles"
|
|
(cd $srctree; find arch/$SRCARCH -name module.lds -o -name Kbuild.platforms -o -name Platform) >> "$objtree/debian/hdrsrcfiles"
|
|
(cd $srctree; find $(find arch/$SRCARCH -name include -o -name scripts -type d) -type f) >> "$objtree/debian/hdrsrcfiles"
|
|
(cd $objtree; find arch/$SRCARCH/include Module.symvers include scripts -type f) >> "$objtree/debian/hdrobjfiles"
|
|
@@ -337,7 +337,7 @@ rm -f "$objtree/debian/hdrsrcfiles" "$objtree/debian/hdrobjfiles"
|
|
cat <<EOF >> debian/control
|
|
|
|
Package: $kernel_headers_packagename
|
|
-Provides: linux-headers, linux-headers-rockchip, linux-headers-rockchip-4.4
|
|
+Provides: linux-headers, linux-headers-2.6
|
|
Architecture: any
|
|
Description: Linux kernel headers for $KERNELRELEASE on \${kernel:debarch}
|
|
This package provides kernel header files for $KERNELRELEASE on \${kernel:debarch}
|
|
@@ -353,7 +353,6 @@ if [ -e "$tmpdir/lib/firmware" ]; then
|
|
cat <<EOF >> debian/control
|
|
|
|
Package: $fwpackagename
|
|
-Provides: linux-firmware-rockchip, linux-firmware-rockchip-4.4
|
|
Architecture: all
|
|
Description: Linux kernel firmware, version $version
|
|
This package contains firmware from the Linux kernel, version $version.
|
|
@@ -366,7 +365,7 @@ cat <<EOF >> debian/control
|
|
|
|
Package: $libc_headers_packagename
|
|
Section: devel
|
|
-Provides: linux-kernel-headers, linux-kernel-headers-rockchip, linux-kernel-headers-rockchip-4.4
|
|
+Provides: linux-kernel-headers
|
|
Architecture: any
|
|
Description: Linux support headers for userspace development
|
|
This package provides userspaces headers from the Linux kernel. These headers
|
|
@@ -396,7 +395,7 @@ if [ -n "$BUILD_DEBUG" ] ; then
|
|
|
|
Package: $dbg_packagename
|
|
Section: debug
|
|
-Provides: linux-debug, linux-debug-$version, linux-debug-rockchip, linux-debug-rockchip-4.4
|
|
+Provides: linux-debug, linux-debug-$version
|
|
Architecture: any
|
|
Description: Linux kernel debugging symbols for $version
|
|
This package will come in handy if you need to debug the kernel. It provides
|