On Tuesday, February 23, 2021 at 2:11:02 PM UTC+5:30 vijaikumar....@gmail.com wrote:
19.02.2021 22:57, Vijai Kumar K wrote:
> /etc/os-release is a symlink to /usr/lib/os-release and belongs to
> the base-files package.
>
> ISAR has been modifying the /etc/os-release during postprocessing
> to inject custom data onto it.
>
> Since this file belongs to base-files, an update/reinstall of the
> package would overwrite the file with the one provided by base-files.
>
> Instead of modifying the contents of /etc/os-release during
> post-processing, provide a modified base-files recipe in ISAR which
> provides the similar changes in os-release.
>
> Signed-off-by: Vijai Kumar K <Vijaikumar_...@mentor.com>
Hello, base-files package failed to build for qemuarm64-focal target
during CI:
15:12:37 dh_strip
15:12:37 aarch64-linux-gnu-objcopy: Unable to recognise the format of
the input file `debian/base-files/usr/bin/locale-check'
15:12:37 dh_strip: error: aarch64-linux-gnu-objcopy --only-keep-debug
--compress-debug-sections debian/base-files/usr/bin/locale-check
debian/.debhelper/base-files/dbgsym-root/usr/lib/debug/.build-id/71/aa3df0a7e05817cb7e212513aeae7db21d8593.debug
returned exit code 1
15:12:37 dh_strip: error: Aborting due to earlier error
15:12:37 make: *** [debian/rules:15: binary] Error 25
15:12:37 dpkg-buildpackage: error: fakeroot debian/rules binary
subprocess returned exit status 2
15:12:37 WARNING: exit code 2 from a shell command.
Full log: http://ci.isar-build.org:8080/job/isar_am_devel_fast/89/console
Thank you Anton, for quickly running this through our CI. I will try to replicate the issue in my local build and will fix it in next version.
This seems to be like a qemu issue.
https://www.mail-archive.com/debian-glibc@lists.debian.org/msg59230.html
We could work around it by setting ISAR_CROSS_COMPILE. But ubuntu base-files cross compilation is failing.
That needs to be fixed first. Maybe should raise an issue in ubuntu.
Thanks,
Vijai Kumar K
--
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