From d5cf866a087b872feb66278c346723b595199a39 Mon Sep 17 00:00:00 2001 From: Fathi Boudra Date: Tue, 25 Dec 2012 16:04:02 +0200 Subject: Add debian packaging dir Signed-off-by: Fathi Boudra --- debian/changelog | 36 ++++++++++++++++++++++++++++++++++++ debian/compat | 1 + debian/control | 33 +++++++++++++++++++++++++++++++++ debian/copyright | 28 ++++++++++++++++++++++++++++ debian/rules | 34 ++++++++++++++++++++++++++++++++++ debian/source/format | 1 + 6 files changed, 133 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5b927ab --- /dev/null +++ b/debian/changelog @@ -0,0 +1,36 @@ +linaro-grub (2.00+bzr4615+201211215-0ubuntu1~linaro1) quantal; urgency=low + + * CI - linaro-grub snapshot: + - repository: http://bazaar.launchpad.net/~leif-lindholm/linaro-grub/arm-uboot + - commit: 4615 + - build: https://ci.linaro.org/jenkins/job/grub/5/ + + -- Fathi Boudra Sat, 15 Dec 2012 12:17:08 +0200 + +linaro-grub (2.00+bzr4613+20121121-0ubuntu1~linaro1) precise; urgency=low + + * CI - linaro-grub snapshot: + - repository: http://bazaar.launchpad.net/~leif-lindholm/linaro-grub/arm-uboot + - commit: 4613 + - build: https://ci.linaro.org/jenkins/job/grub/3/ + + -- Fathi Boudra Wed, 21 Nov 2012 11:54:53 +0200 + +linaro-grub (2.00+bzr4606+20121110-0ubuntu1~linaro3) precise; urgency=low + + * Add -Wno-error=unused-result to workaround build failure. + * Disable tests - most of them are failing. + + -- Fathi Boudra Mon, 12 Nov 2012 14:54:31 +0200 + +linaro-grub (2.00+bzr4606+20121110-0ubuntu1~linaro2) precise; urgency=low + + * Add missing build dependency: python. + + -- Fathi Boudra Mon, 12 Nov 2012 12:28:04 +0200 + +linaro-grub (2.00+bzr4606+20121110-0ubuntu1~linaro1) precise; urgency=low + + * Initial release. + + -- Fathi Boudra Mon, 12 Nov 2012 09:38:21 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3d0a013 --- /dev/null +++ b/debian/control @@ -0,0 +1,33 @@ +Source: linaro-grub +Section: admin +Priority: extra +Maintainer: Linaro Packagers +Build-Depends: autoconf, + autogen, + automake, + bison, + debhelper (>= 8.0.0), + flex, + python +Standards-Version: 3.9.2 +Vcs-Bzr: lp:~leif-lindholm/linaro-grub/arm-uboot + +Package: grub-arm +Architecture: armhf +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: GRand Unified Bootloader for ARM + GRUB is a portable, powerful bootloader. This version of GRUB is based on a + cleaner design than its predecessors, and provides the following new features: + . + - Scripting in grub.cfg using BASH-like syntax. + - Support for modern partition maps such as GPT. + - Modular generation of grub.cfg88 via update-grub. Packages providing GRUB + add-ons can plug in their own script rules and trigger updates by invoking + update-grub2. + - VESA-based graphical mode with background image support and complete 24-bit + color set. + - Support for extended charsets. Users can write UTF-8 text to their menu + entries. + . + This package contains a version of GRUB that has been built for use with + U-Boot platform on ARM architecture. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..0f5ad7f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: linaro-grub +Source: http://bazaar.launchpad.net/~leif-lindholm/linaro-grub/arm-uboot + +Files: * +Copyright: 1999-2009 Free Software Foundation, Inc +License: GPL-3.0+ + +Files: debian/* +Copyright: 2012 Fathi Boudra +License: GPL-3.0+ + +License: GPL-3.0+ + 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, either version 3 of the License, or + (at your option) any later version. + . + This package 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, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..1f66159 --- /dev/null +++ b/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +HOST_CFLAGS := -g -Wall + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + HOST_CFLAGS += -O0 +else + HOST_CFLAGS += -O2 +endif + +HOST_CFLAGS += -Wno-error=unused-result + +unexport CFLAGS +export HOST_CFLAGS + +CROSS_COMPILE := $(DEB_HOST_GNU_TYPE)- +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + CROSS_COMPILE := +endif + +%: + dh $@ --parallel + +override_dh_auto_configure: + ./autogen.sh + dh_auto_configure -- --with-platform=uboot + +override_dh_auto_test: diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- cgit v1.2.3