[PATCH] u-boot: Exclude libubootenv.a from dh_strip

21 views
Skip to first unread message

Jan Kiszka

unread,
Sep 8, 2021, 6:01:38 AM9/8/21
to isar-users
From: Jan Kiszka <jan.k...@siemens.com>

With latest U-Boot (2021.10-rcX), this breaks on aarch64 at least with

aarch64-linux-gnu-strip: debian/u-boot-iot2050-dev/usr/lib/libubootenv.a:
sorry: copying thin archives is not currently supported: invalid operation

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
---
meta/recipes-bsp/u-boot/files/debian/rules | 3 +++
1 file changed, 3 insertions(+)

diff --git a/meta/recipes-bsp/u-boot/files/debian/rules b/meta/recipes-bsp/u-boot/files/debian/rules
index a5c2cd2..3d66762 100755
--- a/meta/recipes-bsp/u-boot/files/debian/rules
+++ b/meta/recipes-bsp/u-boot/files/debian/rules
@@ -27,5 +27,8 @@ override_dh_auto_install:

override_dh_auto_test:

+override_dh_strip:
+ dh_strip -X libubootenv.a
+
%:
dh $@ --parallel
--
2.31.1

Tim Orling

unread,
Sep 8, 2021, 11:59:24 AM9/8/21
to Jan Kiszka, isar-users
On Wed, Sep 8, 2021 at 3:01 AM Jan Kiszka <jan.k...@siemens.com> wrote:
From: Jan Kiszka <jan.k...@siemens.com>

With latest U-Boot (2021.10-rcX), this breaks on aarch64 at least with

Happens on riscv64 as well.

aarch64-linux-gnu-strip: debian/u-boot-iot2050-dev/usr/lib/libubootenv.a:
sorry: copying thin archives is not currently supported: invalid operation

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
---
 meta/recipes-bsp/u-boot/files/debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-bsp/u-boot/files/debian/rules b/meta/recipes-bsp/u-boot/files/debian/rules
index a5c2cd2..3d66762 100755
--- a/meta/recipes-bsp/u-boot/files/debian/rules
+++ b/meta/recipes-bsp/u-boot/files/debian/rules
@@ -27,5 +27,8 @@ override_dh_auto_install:

 override_dh_auto_test:

+override_dh_strip:
+       dh_strip -X libubootenv.a
+
 %:
        dh $@ --parallel
--
2.31.1

--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/44392510-df6d-f212-9a8a-42c6ceae1b36%40siemens.com.

Anton Mikanovich

unread,
Sep 17, 2021, 4:52:29 AM9/17/21
to Jan Kiszka, isar-users
Applied to next, thanks.

--
Anton Mikanovich
Promwad Ltd.
External service provider of ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn, Germany
+49 (89) 122 67 24-0
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov

Reply all
Reply to author
Forward
0 new messages