Not all packages in IMAGE_PREINSTALL are installed

9 views
Skip to first unread message

Ulrich Teichert

unread,
Jan 22, 2025, 4:22:16 AM1/22/25
to isar-...@googlegroups.com
Hi,

I'm still trying to get my first ISAR-image going and I found something which I believe is a bug.
I have a somewhat lengthy list of packages to install into the image and I am setting
IMAGE_PREINSTALL in my local.conf. This contains a mixture of official Debian binary packages
and local binary packages.

It starts like this:

IMAGE_PREINSTALL = "linux-image-5.10-kk jailhouse-0.12-kk arm-trusted-firmware-kk u-boot-xilinx-image u-boot-xilinx-tools mtd-utils...

However, not all packages are installed. I ran the build with debug and this is from the log:

...

The following NEW packages will be installed:
arm-trusted-firmware-kk bootgen busybox cowsay cpio dmsetup enable-fsck
example-raw fsbl-cu1 init initramfs-tools initramfs-tools-core
isar-disable-apt-cache isar-exclude-docs klibc-utils kmod libapparmor1
libargon2-1 libbsd0 libcbor0.8 libcryptsetup12 libdevmapper1.02.1 libedit2
libfdisk1 libfido2-1 libgssapi-krb5-2 libip4tc2 libjson-c5 libk5crypto3
libkeyutils1 libklibc libkmod2 libkrb5-3 libkrb5support0 libncursesw6
libnsl2 libproc2-0 libsystemd-shared libtext-charwidth-perl libtirpc-common
libtirpc3 libwrap0 linux-base linux-image-5.10-kk openssh-client
openssh-server openssh-sftp-server pmu-fw-cu1 procps runit-helper samefile
sensible-utils sshd-regen-keys systemd systemd-sysv u-boot-zynqmp-image
u-boot-zynqmp-tools ucf udev
...

And the system is able to download the local packages from the additional local Debian
repository just fine. But why are so many packages missing? And even if they are missing
why there's no error reported?

I'm on commit 87fbe0706a2b4947a9d06a51d660aeefea7dbaf1 on master currently,

TIA,
Uli

Schöne Grüße / Kind regards


Dipl.-Inform. Ulrich Teichert
Senior Software Developer



Phone +49 431 375938-0
_____________________________________

e.bs kumkeo GmbH
Heidenkampsweg 82a
20097 Hamburg, Deutschland
www.kumkeo.de

Geschäftsführer Michael Leitner, Günter Hagspiel
Registergericht Amtsgericht Hamburg
Registernummer HRB 187712
USt-Idnr. DE449906070


Uladzimir Bely

unread,
Jan 22, 2025, 4:39:49 AM1/22/25
to Ulrich Teichert, isar-...@googlegroups.com
On Wed, 2025-01-22 at 09:22 +0000, Ulrich Teichert wrote:
> Hi,
>
> I'm still trying to get my first ISAR-image going and I found
> something which I believe is a bug.
> I have a somewhat lengthy list of packages to install into the image
> and I am setting
> IMAGE_PREINSTALL in my local.conf. This contains a mixture of
> official Debian binary packages
> and local binary packages.
>

IMAGE_PREINSTALL is supposed for the packages downloaded from remote
repos (e.g. Debian). For packages Isar builds itself (i.e. included to
local isar-apt repo) there is IMAGE_INSTALL variable.
You could also run build shell and execute `bitbake -e <image>` and
check actual value of IMAGE_PREINSTALL. Probably, it is overridden at
some parsing step.

>  I'm on commit 87fbe0706a2b4947a9d06a51d660aeefea7dbaf1 on master
> currently,
>
> TIA,
> Uli
>
> Schöne Grüße / Kind regards
>
>
> Dipl.-Inform. Ulrich Teichert
> Senior Software Developer
>
>
>
> Phone +49 431 375938-0
> _____________________________________
>
> e.bs kumkeo GmbH
> Heidenkampsweg 82a
> 20097 Hamburg, Deutschland
> www.kumkeo.de
>
> Geschäftsführer Michael Leitner, Günter Hagspiel
> Registergericht Amtsgericht Hamburg
> Registernummer HRB 187712
> USt-Idnr. DE449906070
>
>

--
Best regards,
Uladzimir.



Ulrich Teichert

unread,
Jan 22, 2025, 5:38:15 AM1/22/25
to Uladzimir Bely, isar-...@googlegroups.com
Hi Uladzimir,

[del]
>You could also run build shell and execute `bitbake -e <image>` and
>check actual value of IMAGE_PREINSTALL. Probably, it is overridden at
>some parsing step.
[del]

Thanks for the tip! I accidentally overwrote the variable myself in another
file instead of appending to it :-(

CU,
Reply all
Reply to author
Forward
0 new messages