[grubby] Add support for armv5tel.
Peter Jones
pjones at fedoraproject.org
Fri Mar 2 21:47:16 UTC 2012
commit dbb2308837a6a2e28f74e17012b5bfeeeda69f68
Author: Peter Jones <pjones at redhat.com>
Date: Fri Mar 2 16:47:07 2012 -0500
Add support for armv5tel.
grubby-8.8-add-armv5tel.patch | 48 +++++++++++++++++++++++++++++++++++++++++
grubby.spec | 7 +++++-
2 files changed, 54 insertions(+), 1 deletions(-)
---
diff --git a/grubby-8.8-add-armv5tel.patch b/grubby-8.8-add-armv5tel.patch
new file mode 100644
index 0000000..43c930c
--- /dev/null
+++ b/grubby-8.8-add-armv5tel.patch
@@ -0,0 +1,48 @@
+Return-Path: dmarlin at redhat.com
+Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO
+ zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by
+ zmail14.collab.prod.int.phx2.redhat.com with LMTP; Fri, 2 Mar 2012 13:20:22
+ -0500 (EST)
+Received: from localhost (localhost.localdomain [127.0.0.1])
+ by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 472DB114015;
+ Fri, 2 Mar 2012 13:20:22 -0500 (EST)
+Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1])
+ by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024)
+ with ESMTP id 6bwpcty13jPD; Fri, 2 Mar 2012 13:20:22 -0500 (EST)
+Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
+ by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 335C6114003;
+ Fri, 2 Mar 2012 13:20:22 -0500 (EST)
+Received: from fedora15-1.farm.hsv.redhat.com (fedora15-1.farm.hsv.redhat.com [10.15.4.181])
+ by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q22IKLKB027218;
+ Fri, 2 Mar 2012 13:20:21 -0500
+From: "d.marlin" <dmarlin at redhat.com>
+To: pjones at redhat.com
+Cc: "d.marlin" <dmarlin at redhat.com>
+Subject: [PATCH] Add support to new-kernel-pkg to recognize ARCH == armv5tel needed for Kirkwood based systems.
+Date: Fri, 2 Mar 2012 12:19:29 -0600
+Message-Id: <1330712369-15567-1-git-send-email-dmarlin at redhat.com>
+X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
+
+From: "d.marlin" <dmarlin at redhat.com>
+
+Signed-off-by: David A. Marlin <dmarlin at redhat.com>
+---
+ new-kernel-pkg | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/new-kernel-pkg b/new-kernel-pkg
+index 6b94d2f..d3778d1 100755
+--- a/new-kernel-pkg
++++ b/new-kernel-pkg
+@@ -78,7 +78,7 @@ elif [ $ARCH = 's390' -o $ARCH = 's390x' ]; then
+ lilo=/sbin/zipl
+ runLilo="yes"
+ isx86=""
+-elif [ $ARCH = 'armv7l' -o $ARCH = 'armv7hl' ]; then
++elif [ $ARCH = 'armv7hl' -o $ARCH = 'armv7l' -o $ARCH = 'armv5tel' ]; then
+ machine=$(grep "^Hardware" /proc/cpuinfo | sed 's/Hardware\s*:\s*//')
+ liloConfig=""
+ bootPrefix=/boot
+--
+1.7.6.5
+
diff --git a/grubby.spec b/grubby.spec
index 8416704..1e6b3e1 100644
--- a/grubby.spec
+++ b/grubby.spec
@@ -1,6 +1,6 @@
Name: grubby
Version: 8.8
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Command line tool for updating bootloader configs
Group: System Environment/Base
License: GPLv2+
@@ -20,6 +20,7 @@ Requires: s390utils-base
%ifarch %{arm}
Requires: uboot-tools
%endif
+Patch0: grubby-8.8-add-armv5tel.patch
%description
grubby is a command line tool for updating and displaying information about
@@ -30,6 +31,7 @@ environment.
%prep
%setup -q
+%patch0 -p1
%build
@@ -62,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
+* Fri Mar 02 2012 Peter Jones <pjones at redhat.com> - 8.8-4
+- Add support for armv5tel.
+
* Tue Feb 07 2012 Dennis Gilmore <dennis at ausil.us> - 8.8-3
- add uboot-tools requires on arm arches
- add uboot config file on arm arches
More information about the scm-commits
mailing list