* Prebuilt-deb broken
@ 2022-04-13 16:33 Jonas Reindl
2022-04-13 19:20 ` Anton Mikanovich
0 siblings, 1 reply; 3+ messages in thread
From: Jonas Reindl @ 2022-04-13 16:33 UTC (permalink / raw)
To: isar-users
Hey everyone,
I was trying to get the prebuilt-deb example to work, but it seems to be
broken.
Isar:
* next (037d03b5221ade808f646da618854a290ea59977)
* next(a960a4e52c50ef4a15e382768eeee5fa9cfffead) newest
Reproduce:
1. Add the prebuilt-deb to your image
2. Build the image
Error:
Exception: bb.process.ExecutionError: Execution of
'/build/tmp/work/debian-bullseye-arm64/my-image-dev-my-wic-img/1.0-r0/temp/run.rootfs_install_pkgs_download.239'
failed with exit code 100:
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package prebuilt-deb
It fails at
/build/tmp/work/debian-bullseye-amd64/my-image-dev-my-wic-img/1.0-r0/temp/run.rootfs_install_pkgs_download.621
rootfs_install_pkgs_download() {
sudo -E chroot
'/build/tmp/work/debian-bullseye-amd64/kilobaser-image-dev-qemuamd64-wic-img/1.0-r0/rootfs'
\
/usr/bin/apt-get install --yes -o
Debug::pkgProblemResolver=yes --download-only init dbus
iproute2 htop vim sshd-regen-keys linux-image-amd64
connman remotesupport sshd-regen-keys startx stm32
plymouth-theme zsh-config connman-config-dev prebuilt-deb
ssh-config-dev
}
I tried to only use "inherit dpkg-base" and adding ";unpack=false". This
leads to the same error. Also renaming the package the to the recipe
name wouldn't help.
Best regards,
Jonas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Prebuilt-deb broken
2022-04-13 16:33 Prebuilt-deb broken Jonas Reindl
@ 2022-04-13 19:20 ` Anton Mikanovich
2022-04-13 19:36 ` Jonas Reindl
0 siblings, 1 reply; 3+ messages in thread
From: Anton Mikanovich @ 2022-04-13 19:20 UTC (permalink / raw)
To: Jonas Reindl, isar-users
13.04.2022 19:33, Jonas Reindl wrote:
> Hey everyone,
>
> I was trying to get the prebuilt-deb example to work, but it seems to
> be broken.
>
> Isar:
>
> * next (037d03b5221ade808f646da618854a290ea59977)
>
> * next(a960a4e52c50ef4a15e382768eeee5fa9cfffead) newest
>
> Reproduce:
>
> 1. Add the prebuilt-deb to your image
>
> 2. Build the image
>
> Error:
>
> Exception: bb.process.ExecutionError: Execution of
> '/build/tmp/work/debian-bullseye-arm64/my-image-dev-my-wic-img/1.0-r0/temp/run.rootfs_install_pkgs_download.239'
> failed with exit code 100:
> Reading package lists...
> Building dependency tree...
> Reading state information...
> E: Unable to locate package prebuilt-deb
>
> It fails at
> /build/tmp/work/debian-bullseye-amd64/my-image-dev-my-wic-img/1.0-r0/temp/run.rootfs_install_pkgs_download.621
>
>
> rootfs_install_pkgs_download() {
> sudo -E chroot
> '/build/tmp/work/debian-bullseye-amd64/kilobaser-image-dev-qemuamd64-wic-img/1.0-r0/rootfs'
> \
> /usr/bin/apt-get install --yes -o
> Debug::pkgProblemResolver=yes --download-only init dbus
> iproute2 htop vim sshd-regen-keys linux-image-amd64
> connman remotesupport sshd-regen-keys startx stm32
> plymouth-theme zsh-config connman-config-dev prebuilt-deb
> ssh-config-dev
> }
>
> I tried to only use "inherit dpkg-base" and adding ";unpack=false".
> This leads to the same error. Also renaming the package the to the
> recipe name wouldn't help.
>
> Best regards,
> Jonas
>
Hello, Jonas.
You've probably set IMAGE_INSTALL += "prebuilt-deb", which is wrong.
Recipe prebuilt-deb actually provides package
example-prebuilt_1.0.0-0_all.deb, so correct usage should look like:
IMAGE_INSTALL += "example-prebuilt"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Prebuilt-deb broken
2022-04-13 19:20 ` Anton Mikanovich
@ 2022-04-13 19:36 ` Jonas Reindl
0 siblings, 0 replies; 3+ messages in thread
From: Jonas Reindl @ 2022-04-13 19:36 UTC (permalink / raw)
To: isar-users
Hello Anton,
yeah that seemed to be the problem. God I wasted quite some time on it.
Thank you a lot.
It wasn't that clear to me and it was not so obvious from the docu.
BR,
Jonas
On 4/13/22 21:20, Anton Mikanovich wrote:
> 13.04.2022 19:33, Jonas Reindl wrote:
>> Hey everyone,
>>
>> I was trying to get the prebuilt-deb example to work, but it seems to
>> be broken.
>>
>> Isar:
>>
>> * next (037d03b5221ade808f646da618854a290ea59977)
>>
>> * next(a960a4e52c50ef4a15e382768eeee5fa9cfffead) newest
>>
>> Reproduce:
>>
>> 1. Add the prebuilt-deb to your image
>>
>> 2. Build the image
>>
>> Error:
>>
>> Exception: bb.process.ExecutionError: Execution of
>> '/build/tmp/work/debian-bullseye-arm64/my-image-dev-my-wic-img/1.0-r0/temp/run.rootfs_install_pkgs_download.239'
>> failed with exit code 100:
>> Reading package lists...
>> Building dependency tree...
>> Reading state information...
>> E: Unable to locate package prebuilt-deb
>>
>> It fails at
>> /build/tmp/work/debian-bullseye-amd64/my-image-dev-my-wic-img/1.0-r0/temp/run.rootfs_install_pkgs_download.621
>>
>>
>> rootfs_install_pkgs_download() {
>> sudo -E chroot
>> '/build/tmp/work/debian-bullseye-amd64/kilobaser-image-dev-qemuamd64-wic-img/1.0-r0/rootfs'
>> \
>> /usr/bin/apt-get install --yes -o
>> Debug::pkgProblemResolver=yes --download-only init dbus
>> iproute2 htop vim sshd-regen-keys linux-image-amd64
>> connman remotesupport sshd-regen-keys startx stm32
>> plymouth-theme zsh-config connman-config-dev prebuilt-deb
>> ssh-config-dev
>> }
>>
>> I tried to only use "inherit dpkg-base" and adding ";unpack=false".
>> This leads to the same error. Also renaming the package the to the
>> recipe name wouldn't help.
>>
>> Best regards,
>> Jonas
>>
> Hello, Jonas.
>
> You've probably set IMAGE_INSTALL += "prebuilt-deb", which is wrong.
> Recipe prebuilt-deb actually provides package
> example-prebuilt_1.0.0-0_all.deb, so correct usage should look like:
> IMAGE_INSTALL += "example-prebuilt"
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-13 19:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13 16:33 Prebuilt-deb broken Jonas Reindl
2022-04-13 19:20 ` Anton Mikanovich
2022-04-13 19:36 ` Jonas Reindl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox