public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jonas Reindl <jonas.reindl@kilobaser.com>
To: isar-users@googlegroups.com
Subject: Re: Prebuilt-deb broken
Date: Wed, 13 Apr 2022 21:36:58 +0200	[thread overview]
Message-ID: <e2b9b189-bb99-e792-25c0-bfb5d3b97004@kilobaser.com> (raw)
In-Reply-To: <2093674a-8702-3dc3-8c0d-e86da8bf4cb2@ilbers.de>

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"
>

      reply	other threads:[~2022-04-13 19:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-13 16:33 Jonas Reindl
2022-04-13 19:20 ` Anton Mikanovich
2022-04-13 19:36   ` Jonas Reindl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e2b9b189-bb99-e792-25c0-bfb5d3b97004@kilobaser.com \
    --to=jonas.reindl@kilobaser.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox