Bug#979483: u-boot: Stop installing rockchip_make_fit_atf on armhf)

2021-01-07 Thread Vagrant Cascadian
On 2021-01-07, Nicolas Boulenguez wrote:
> From 2bf162f77c3c392a7a0d1b3d250b6ea0c0b1d17f Mon Sep 17 00:00:00 2001
> From: Nicolas Boulenguez 
> Date: Thu, 7 Jan 2021 22:25:02 +0100
> Subject: Stop installing rockchip_make_fit_atf on armhf

There are 32-bit rockchip u-boot platforms that support ATF where this
script could be useful, though none are currently packaged; I don't
think it is worth the extra complication in the packaging to avoid
installing on armhf.

On the other hand, none of the supported platforms on any architecture
use this script from the package (some may use it during the build
process)... but it has been included in the last stable release, and I
do not see the harm in including it in another release.

I have in the past used it with custom platforms, or before platforms
had support fully integrated in upstream u-boot.


live well,
  vagrant


signature.asc
Description: PGP signature


Bug#979483: u-boot: Stop installing rockchip_make_fit_atf on armhf)

2021-01-07 Thread Nicolas Boulenguez
Control: reopen 979483

> The u-boot-install-rockchip script just installs built images,
Right, thanks!

Please forget the buggy previous diff.

The attached commit removes *rockchip_make_fit_atf*, as announced in
the original bug and commit titles.
>From 2bf162f77c3c392a7a0d1b3d250b6ea0c0b1d17f Mon Sep 17 00:00:00 2001
From: Nicolas Boulenguez 
Date: Thu, 7 Jan 2021 22:25:02 +0100
Subject: Stop installing rockchip_make_fit_atf on armhf


diff --git a/debian/u-boot-rockchip.install b/debian/u-boot-rockchip.install
deleted file mode 100755
index 89856b7c6c..00
--- a/debian/u-boot-rockchip.install
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-debian/bin/u-boot-install-targets rockchip
-cp arch/arm/mach-rockchip/make_fit_atf.py debian/build/rockchip_make_fit_atf
-sed -i -e 's,/usr/bin/env python.*,/usr/bin/python3,g' 
debian/build/rockchip_make_fit_atf
-echo debian/build/rockchip_make_fit_atf /usr/bin/
-echo debian/bin/u-boot-install-rockchip /usr/bin/
diff --git a/debian/u-boot-rockchip.install.arm64 
b/debian/u-boot-rockchip.install.arm64
new file mode 100755
index 00..89856b7c6c
--- /dev/null
+++ b/debian/u-boot-rockchip.install.arm64
@@ -0,0 +1,6 @@
+#!/bin/sh
+debian/bin/u-boot-install-targets rockchip
+cp arch/arm/mach-rockchip/make_fit_atf.py debian/build/rockchip_make_fit_atf
+sed -i -e 's,/usr/bin/env python.*,/usr/bin/python3,g' 
debian/build/rockchip_make_fit_atf
+echo debian/build/rockchip_make_fit_atf /usr/bin/
+echo debian/bin/u-boot-install-rockchip /usr/bin/
diff --git a/debian/u-boot-rockchip.install.armhf 
b/debian/u-boot-rockchip.install.armhf
new file mode 100755
index 00..8142144146
--- /dev/null
+++ b/debian/u-boot-rockchip.install.armhf
@@ -0,0 +1,3 @@
+#!/bin/sh
+debian/bin/u-boot-install-targets rockchip
+echo debian/bin/u-boot-install-rockchip /usr/bin/


Bug#979483: u-boot: Stop installing rockchip_make_fit_atf on armhf

2021-01-07 Thread Nicolas Boulenguez
Source: u-boot
Severity: minor
Tags: patch

The tool is only used on arm64.
>From 9094c94c2ecbcf9338852f43ce2673d38499b410 Mon Sep 17 00:00:00 2001
From: Nicolas Boulenguez 
Date: Thu, 7 Jan 2021 00:10:22 +0100
Subject: [PATCH 08/11] Stop installing rockchip_make_fit_atf on armhf

---
 .../{u-boot-rockchip.install => u-boot-rockchip.install.arm64} | 0
 debian/u-boot-rockchip.install.armhf   | 3 +++
 2 files changed, 3 insertions(+)
 rename debian/{u-boot-rockchip.install => u-boot-rockchip.install.arm64} (100%)
 create mode 100755 debian/u-boot-rockchip.install.armhf

diff --git a/debian/u-boot-rockchip.install b/debian/u-boot-rockchip.install.arm64
similarity index 100%
rename from debian/u-boot-rockchip.install
rename to debian/u-boot-rockchip.install.arm64
diff --git a/debian/u-boot-rockchip.install.armhf b/debian/u-boot-rockchip.install.armhf
new file mode 100755
index 00..8142144146
--- /dev/null
+++ b/debian/u-boot-rockchip.install.armhf
@@ -0,0 +1,3 @@
+#!/bin/sh
+debian/bin/u-boot-install-targets rockchip
+echo debian/bin/u-boot-install-rockchip /usr/bin/
-- 
2.20.1