Package: live-build
Version: 3.0~a40-1
Severity: wishlist
Tags: patch
Dear Maintainer,
* What led up to the situation?
I'm working on installation Debian on Freescale QuickStart board.
And I found that armhf is still not supported by live-build.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Use live-build to create an armhf img.
* What was the outcome of this action?
armhf is not supported.
* What outcome did you expect instead?
armhf imgs created
Please review my patch if it is good for inclusion.
This patch is base on latest git tree [1] and made by format-patch.
[1] git://live.debian.net/git/live-build.git
Yours Sincerely,
Paul
-- Package-specific info:
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=ja_JP.utf8, LC_CTYPE=ja_JP.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages live-build depends on:
ii cdebootstrap 0.5.8+b1
ii debootstrap 1.0.38
Versions of packages live-build recommends:
ii cpio 2.11-7
ii gettext-base 0.18.1.1-5
ii gnu-fdisk 1.2.4-3
ii live-boot-doc 3.0~a24-1
ii live-config-doc 3.0~a31-1
ii live-manual 1:3.0~a4-1
ii live-manual-epub [live-manual] 1:3.0~a9-1
ii live-manual-html [live-manual] 1:3.0~a9-1
ii live-manual-odf [live-manual] 1:3.0~a9-1
ii live-manual-pdf [live-manual] 1:3.0~a9-1
ii live-manual-txt [live-manual] 1:3.0~a9-1
Versions of packages live-build suggests:
pn dosfstools 3.0.12-1
pn fakeroot 1.18.2-1
pn genisoimage 9:1.1.11-2
pn memtest86 3.5-2.3
pn memtest86+ 4.20-1.1
pn mtd-utils [mtd-tools] 1:1.4.4-1
pn mtools 4.0.12-1
pn parted 2.3-8
pn sudo 1.8.3p1-2
pn syslinux 2:4.05+dfsg-1
pn uuid-runtime 2.19.1-5
pn win32-loader <none>
-- no debconf information
--
PaulLiu (劉穎駿)
E-mail: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
From 1f80fc278ed80791be0195adaf5ca1461cbea965 Mon Sep 17 00:00:00 2001
From: "Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>
Date: Thu, 12 Jan 2012 18:10:26 +0800
Subject: [PATCH] Adding armhf support.
This patch adds armhf arch.
The kernel flavours added for armhf are mx5 and omap.
---
functions/defaults.sh | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 2c71e78..6eca9fb 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -676,6 +676,18 @@ Set_defaults ()
esac
;;
+ armhf)
+ case "${LB_MODE}" in
+ ubuntu|kubuntu)
+ ;;
+ *)
+ # armhf will have special images: one rootfs image and many additional kernel images.
+ # therefore we default to all available armhf flavours
+ LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-mx5 omap}"
+ ;;
+ esac
+ ;;
+
amd64)
case "${LB_MODE}" in
ubuntu|kubuntu)
--
1.7.7.3
Attachment:
signature.asc
Description: OpenPGP digital signature