From: Anton Mikanovich <amikan@ilbers.de>
To: Jonas Reindl <jonas.reindl@kilobaser.com>,
isar-users <isar-users@googlegroups.com>
Subject: Re: Prebuilt-deb broken
Date: Wed, 13 Apr 2022 22:20:24 +0300 [thread overview]
Message-ID: <2093674a-8702-3dc3-8c0d-e86da8bf4cb2@ilbers.de> (raw)
In-Reply-To: <b7149186-b8dd-4d1e-17b5-664dada67e53@kilobaser.com>
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"
next prev parent reply other threads:[~2022-04-13 19:20 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 [this message]
2022-04-13 19:36 ` Jonas Reindl
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=2093674a-8702-3dc3-8c0d-e86da8bf4cb2@ilbers.de \
--to=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
--cc=jonas.reindl@kilobaser.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