diff options
author | Kalle Vahlman <kalle.vahlman@movial.com> | 2011-12-20 06:28:34 +0000 |
---|---|---|
committer | Kalle Vahlman <kalle.vahlman@movial.com> | 2011-12-20 06:34:25 +0000 |
commit | 319d146f10d7332ad817e56e73a1fa32da30325f (patch) | |
tree | 022899c0164bb192173a30f68d9627f18ca44e81 /meta-source/debian |
Import linux kernel metapackages for ux500
Based on John Rigby's repository at
git://git.linaro.org/people/jcrigby/ubuntu/linux-meta-linaro-natty.git
Diffstat (limited to 'meta-source/debian')
-rw-r--r-- | meta-source/debian/changelog | 5 | ||||
-rw-r--r-- | meta-source/debian/compat | 1 | ||||
-rw-r--r-- | meta-source/debian/control.common | 6 | ||||
-rw-r--r-- | meta-source/debian/control.d/ux500 | 17 | ||||
-rw-r--r-- | meta-source/debian/copyright | 39 | ||||
-rwxr-xr-x | meta-source/debian/rules | 86 |
6 files changed, 154 insertions, 0 deletions
diff --git a/meta-source/debian/changelog b/meta-source/debian/changelog new file mode 100644 index 0000000..ce6c804 --- /dev/null +++ b/meta-source/debian/changelog @@ -0,0 +1,5 @@ +linux-meta-ux500 (3.0.0-5.0) oneiric; urgency=low + + * Initial release of ux500 kernel metapackages, based on John Rigby's meta repository + + -- Kalle Vahlman <kalle.vahlman@movial.com> Tue, 20 Dec 2011 06:16:11 +0000 diff --git a/meta-source/debian/compat b/meta-source/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/meta-source/debian/compat @@ -0,0 +1 @@ +5 diff --git a/meta-source/debian/control.common b/meta-source/debian/control.common new file mode 100644 index 0000000..6013520 --- /dev/null +++ b/meta-source/debian/control.common @@ -0,0 +1,6 @@ +Source: linux-meta-ux500 +Section: devel +Priority: optional +Maintainer: Igloo Community <packages@igloocommunity.org> +Standards-Version: 3.6.1 +Build-Depends: dpkg (>= 1.13.19), debhelper (>= 5), gawk diff --git a/meta-source/debian/control.d/ux500 b/meta-source/debian/control.d/ux500 new file mode 100644 index 0000000..65cc687 --- /dev/null +++ b/meta-source/debian/control.d/ux500 @@ -0,0 +1,17 @@ +Package: linux-headers-ux500 +Architecture: armel +Section: devel +Priority: optional +Depends: ${misc:Depends}, linux-headers-${kernel-abi-version}-ux500 +Description: Linux kernel headers for the ST-Ericsson UX500 based systems. + This package will always depend on the latest kernel headers available + for ARM ST-Ericsson UX500 systems, like the Snowball board. + +Package: linux-image-ux500 +Architecture: armel +Section: metapackages +Priority: optional +Depends: ${misc:Depends}, linux-image-${kernel-abi-version}-ux500, linux-firmware, ux500-firmware +Description: Linux kernel image for the ST-Ericsson UX500 based systems. + This package will always depend on the latest kernel image available + for ARM ST-Ericsson UX500 systems, like the Snowball board. diff --git a/meta-source/debian/copyright b/meta-source/debian/copyright new file mode 100644 index 0000000..95305a2 --- /dev/null +++ b/meta-source/debian/copyright @@ -0,0 +1,39 @@ +This is the Debian GNU/Linux prepackaged version of the Linux kernel. +Linux was written by Linus Torvalds <Linus.Torvalds@cs.Helsinki.FI> +and others. + +This package was put together by Simon Shapiro <Shimon@i-Connect.Net>, from +sources retrieved from directories under +ftp.cs.helsinki.fi:/pub/Software/Linux/Kernel/ +The sources may be found at most Linux ftp sites, including +ftp://ftp.kernel.org/pub/linux/kernel/ + +This package was then maintained by Sven Rudolph. + +This package was maintained by Herbert Xu <herbert@gondor.apana.org.au> +from March 1997 to May 2004. + +This package was maintained by the +Debian Kernel Team <debian-kernel@lists.debian.org> + +This package was split off by Herbert Xu <herbert@gondor.apana.org.au> +in September 2004. + +Linux is copyrighted by Linus Torvalds and others. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/meta-source/debian/rules b/meta-source/debian/rules new file mode 100755 index 0000000..f4a31c9 --- /dev/null +++ b/meta-source/debian/rules @@ -0,0 +1,86 @@ +#!/usr/bin/make -f +# +# debian/rules for kernel-source. +# +# GNU copyright 1997 to 1999 by Joey Hess. +# Copyright (c) 1999-2004 Herbert Xu <herbert@gondor.apana.org.au> +# Copyright (c) 2004 Jens Schmalzing <jensen@debian.org> +# + +RELEASE_NAME=maverick + +KERNEL_VERSION=$(shell dpkg-parsechangelog | grep ^Version | sed -e \ + 's/Version: \([0-9]*\.[0-9]*\.[0-9]*\)\..*/\1/') +KERNEL_ABI=$(shell head -n1 < debian/changelog | gawk '{n=split($$0,v,"."); print v[4];}') +KERNEL_ABI_VERSION=$(KERNEL_VERSION)-$(KERNEL_ABI) + +GENERIC_i386=generic +GENERIC_amd64=generic +GENERIC_lpia=lpia + +GENERIC=$(value GENERIC_$(shell dpkg-architecture -qDEB_HOST_ARCH)) +GENERIC_DEP=$(if $(GENERIC),$(GENERIC),) + +control_files := debian/control.common $(shell LC_ALL=C ls -d debian/control.d/*) + +SHELL := sh -e + +build: + dh_testdir + +clean: debian/control + dh_testdir + dh_testroot + dh_clean + +debian/control: $(control_files) + rm -f debian/control.tmp + for i in $^; do \ + sed 's/RELEASE_NAME/$(RELEASE_NAME)/g' $$i >> debian/control.tmp; \ + echo >> debian/control.tmp; \ + done + rm -f $@ + mv debian/control.tmp $@ + +install: build + dh_testdir + dh_testroot + dh_clean -k + +gencontrol_flags = -Vkernel-version=$(KERNEL_VERSION) +gencontrol_flags += -Vkernel-abi-version=$(KERNEL_ABI_VERSION) +gencontrol_flags += -Vgeneric-depends=$(GENERIC_DEP) + +# Build architecture-independent files here. +binary-indep: debian/control install + dh_testdir + dh_testroot + + dh_installdirs -i + dh_installdocs -i + dh_installchangelogs -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i -- $(gencontrol_flags) + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: debian/control install + dh_testdir + dh_testroot + + dh_installdirs -s + dh_installdocs -s + dh_installchangelogs -s + dh_compress -s + dh_fixperms -s + dh_installdeb -s + dh_gencontrol -s -- $(gencontrol_flags) + dh_md5sums -s + dh_builddeb -s + +binary: binary-indep binary-arch + +.PHONY: build clean binary-indep binary-arch binary install |