mkdebian (76c37668768464a6c2d5c49abd36ba0b48a0b131) mkdebian (bac977cbc0d6731fb8e67c2be0e4acbd959e10b3)
1#!/bin/sh
2#
3# Copyright 2003 Wichert Akkerman <wichert@wiggy.net>
4#
5# Simple script to generate a debian/ directory for a Linux kernel.
6
7set -e
8

--- 170 unchanged lines hidden (view full) ---

179Homepage: https://www.kernel.org/
180
181Package: $packagename
182Architecture: $debarch
183Description: Linux kernel, version $version
184 This package contains the Linux kernel, modules and corresponding other
185 files, version: $version.
186
1#!/bin/sh
2#
3# Copyright 2003 Wichert Akkerman <wichert@wiggy.net>
4#
5# Simple script to generate a debian/ directory for a Linux kernel.
6
7set -e
8

--- 170 unchanged lines hidden (view full) ---

179Homepage: https://www.kernel.org/
180
181Package: $packagename
182Architecture: $debarch
183Description: Linux kernel, version $version
184 This package contains the Linux kernel, modules and corresponding other
185 files, version: $version.
186
187Package: $kernel_headers_packagename
188Architecture: $debarch
189Description: Linux kernel headers for $version on $debarch
190 This package provides kernel header files for $version on $debarch
191 .
192 This is useful for people who need to build external modules
193
194Package: linux-libc-dev
195Section: devel
196Provides: linux-kernel-headers
197Architecture: $debarch
198Description: Linux support headers for userspace development
199 This package provides userspaces headers from the Linux kernel. These headers
200 are used by the installed headers for GNU glibc and other system libraries.
201Multi-Arch: same
202EOF
203
187Package: linux-libc-dev
188Section: devel
189Provides: linux-kernel-headers
190Architecture: $debarch
191Description: Linux support headers for userspace development
192 This package provides userspaces headers from the Linux kernel. These headers
193 are used by the installed headers for GNU glibc and other system libraries.
194Multi-Arch: same
195EOF
196
197if is_enabled CONFIG_MODULES; then
198cat <<EOF >> debian/control
199
200Package: $kernel_headers_packagename
201Architecture: $debarch
202Description: Linux kernel headers for $version on $debarch
203 This package provides kernel header files for $version on $debarch
204 .
205 This is useful for people who need to build external modules
206EOF
207fi
208
204if is_enabled CONFIG_DEBUG_INFO; then
205cat <<EOF >> debian/control
206
207Package: $dbg_packagename
208Section: debug
209Architecture: $debarch
210Description: Linux kernel debugging symbols for $version
211 This package will come in handy if you need to debug the kernel. It provides

--- 30 unchanged lines hidden ---
209if is_enabled CONFIG_DEBUG_INFO; then
210cat <<EOF >> debian/control
211
212Package: $dbg_packagename
213Section: debug
214Architecture: $debarch
215Description: Linux kernel debugging symbols for $version
216 This package will come in handy if you need to debug the kernel. It provides

--- 30 unchanged lines hidden ---