mkdebian (ffd602eb4693bbb49b301fa059b109bbdebf9524) | mkdebian (e3a22850664ffbe5b786c80249b3cfea61b659c6) |
---|---|
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 --- 120 unchanged lines hidden (view full) --- 129else 130 distribution="unstable" 131 echo >&2 "Using default distribution of 'unstable' in the changelog" 132 echo >&2 "Install lsb-release or set \$KDEB_CHANGELOG_DIST explicitly" 133fi 134 135mkdir -p debian/ 136echo $debarch > debian/arch | 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 --- 120 unchanged lines hidden (view full) --- 129else 130 distribution="unstable" 131 echo >&2 "Using default distribution of 'unstable' in the changelog" 132 echo >&2 "Install lsb-release or set \$KDEB_CHANGELOG_DIST explicitly" 133fi 134 135mkdir -p debian/ 136echo $debarch > debian/arch |
137extra_build_depends=", $(if_enabled_echo UNWINDER_ORC libelf-dev)" 138extra_build_depends="$extra_build_depends, $(if_enabled_echo SYSTEM_TRUSTED_KEYRING libssl-dev:native)" |
|
137 138# Generate a simple changelog template 139cat <<EOF > debian/changelog 140$sourcename ($packageversion) $distribution; urgency=low 141 142 * Custom built Linux kernel. 143 144 -- $maintainer $(date -R) --- 20 unchanged lines hidden (view full) --- 165EOF 166 167# Generate a control file 168cat <<EOF > debian/control 169Source: $sourcename 170Section: kernel 171Priority: optional 172Maintainer: $maintainer | 139 140# Generate a simple changelog template 141cat <<EOF > debian/changelog 142$sourcename ($packageversion) $distribution; urgency=low 143 144 * Custom built Linux kernel. 145 146 -- $maintainer $(date -R) --- 20 unchanged lines hidden (view full) --- 167EOF 168 169# Generate a control file 170cat <<EOF > debian/control 171Source: $sourcename 172Section: kernel 173Priority: optional 174Maintainer: $maintainer |
173Build-Depends: bc, kmod, cpio | 175Build-Depends: bc, kmod, cpio, bison, flex | flex:native $extra_build_depends |
174Homepage: http://www.kernel.org/ 175 176Package: $packagename 177Architecture: $debarch 178Description: Linux kernel, version $version 179 This package contains the Linux kernel, modules and corresponding other 180 files, version: $version. 181 --- 44 unchanged lines hidden --- | 176Homepage: http://www.kernel.org/ 177 178Package: $packagename 179Architecture: $debarch 180Description: Linux kernel, version $version 181 This package contains the Linux kernel, modules and corresponding other 182 files, version: $version. 183 --- 44 unchanged lines hidden --- |