* Not all packages in IMAGE_PREINSTALL are installed
@ 2025-01-22 9:22 Ulrich Teichert
2025-01-22 9:39 ` Uladzimir Bely
0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Teichert @ 2025-01-22 9:22 UTC (permalink / raw)
To: isar-users
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
--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/7513ea12ea804ab9836c7d725b53cfe9%40kumkeo.de.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Not all packages in IMAGE_PREINSTALL are installed
2025-01-22 9:22 Not all packages in IMAGE_PREINSTALL are installed Ulrich Teichert
@ 2025-01-22 9:39 ` Uladzimir Bely
2025-01-22 10:38 ` AW: " Ulrich Teichert
0 siblings, 1 reply; 3+ messages in thread
From: Uladzimir Bely @ 2025-01-22 9:39 UTC (permalink / raw)
To: Ulrich Teichert, isar-users
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.
> 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?
>
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.
--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/48ad7726a445e4caa463df538a3f88422d65d82d.camel%40ilbers.de.
^ permalink raw reply [flat|nested] 3+ messages in thread
* AW: Re: Not all packages in IMAGE_PREINSTALL are installed
2025-01-22 9:39 ` Uladzimir Bely
@ 2025-01-22 10:38 ` Ulrich Teichert
0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Teichert @ 2025-01-22 10:38 UTC (permalink / raw)
To: Uladzimir Bely, isar-users
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,
Uli
Schöne Grüße / Kind regards
Dipl.-Inform. Ulrich Teichert
Senior Software Developer
Phone +49 431 375938-0
_____________________________________
e.bs kumkeo GmbH
--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/a3e74109eccf4a8da021565e5d0a0692%40kumkeo.de.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-22 10:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-22 9:22 Not all packages in IMAGE_PREINSTALL are installed Ulrich Teichert
2025-01-22 9:39 ` Uladzimir Bely
2025-01-22 10:38 ` AW: " Ulrich Teichert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox