[PATCH] builddeb: Use aarch64 instead of arm64 for UTS_MACHINE

Subsystems: kernel build + files below scripts/ (unless maintained elsewhere), the rest

STALE3590d

2 messages, 2 authors, 2016-12-15 · open the first message on its own page

[PATCH] builddeb: Use aarch64 instead of arm64 for UTS_MACHINE

From: Will Deacon <hidden>
Date: 2016-12-09 10:50:44

From: Michal Marek <redacted>

On arm64-based systems, uname -m reports "aarch64", so this is what
we should be using for UTS_MACHINE and matching that in the builddeb
script instead of "arm64".

There was a patch fixing this:

  https://patchwork.kernel.org/patch/9305483/

but I accidentally merged v1 of the patch, which omitted the update to
builddeb. This patch follows up with that missing hunk.

Reported-by: Victor Chong <redacted>
Signed-off-by: Michal Marek <redacted>
[will: salvaged missing hunk from original patch]
Signed-off-by: Will Deacon <redacted>
---
 scripts/package/builddeb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 8ea9fd2b6573..9530b1634a02 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -51,7 +51,7 @@ set_debarch() {
 		debarch=hppa ;;
 	mips*)
 		debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el || true) ;;
-	arm64)
+	aarch64*)
 		debarch=arm64 ;;
 	arm*)
 		if grep -q CONFIG_AEABI=y $KCONFIG_CONFIG; then
-- 
2.1.4

[PATCH] builddeb: Use aarch64 instead of arm64 for UTS_MACHINE

From: Victor Chong <hidden>
Date: 2016-12-15 03:55:26

Hi Will,

Just found out that a similar patch was submitted earlier back in Nov.

https://patchwork.kernel.org/patch/9444665/

Thanks!

On Fri, Dec 9, 2016 at 7:50 PM, Will Deacon [off-list ref] wrote:
quoted hunk
From: Michal Marek <redacted>

On arm64-based systems, uname -m reports "aarch64", so this is what
we should be using for UTS_MACHINE and matching that in the builddeb
script instead of "arm64".

There was a patch fixing this:

  https://patchwork.kernel.org/patch/9305483/

but I accidentally merged v1 of the patch, which omitted the update to
builddeb. This patch follows up with that missing hunk.

Reported-by: Victor Chong <redacted>
Signed-off-by: Michal Marek <redacted>
[will: salvaged missing hunk from original patch]
Signed-off-by: Will Deacon <redacted>
---
 scripts/package/builddeb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 8ea9fd2b6573..9530b1634a02 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -51,7 +51,7 @@ set_debarch() {
                debarch=hppa ;;
        mips*)
                debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el || true) ;;
-       arm64)
+       aarch64*)
                debarch=arm64 ;;
        arm*)
                if grep -q CONFIG_AEABI=y $KCONFIG_CONFIG; then
--
2.1.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help