From: ChenQi <Qi.Chen@windriver.com>
To: salahaldeen.altous@yahoo.com, yocto@lists.yoctoproject.org
Subject: Re: [yocto] How I can update the Yocto SDK incrementally/partially?
Date: Wed, 9 Oct 2024 15:06:32 +0800 [thread overview]
Message-ID: <5fb2e2f1-5a68-424b-91d4-a9d80d9eb919@windriver.com> (raw)
In-Reply-To: <13199.1728456508530107727@lists.yoctoproject.org>
[-- Attachment #1: Type: text/plain, Size: 2096 bytes --]
For things to work, the package manager will need to have some certain
abilities. For example, it can accept a parameter which points to the
database it uses (e.g., --dbpath). I think RPM/dnf have all the ability
to make things work. I'm not familiar with opkg though. Even with
RPM/dnf, updating SDK from binary package feeds still needs some tool
which invokes rpm/dnf, because you'll need to do some relocation or some
mapping or creating some temp root directory, etc, in that tool.
Regards,
Qi
On 10/9/24 14:48, salahaldeen.altous@yahoo.com via
Lists.Yoctoproject.Org wrote:
> Hi Qi,
>
> On Tue, Oct 8, 2024 at 07:50 PM, Chen Qi wrote:
>
> If I understand it correctly, you want to update your SDK from some
> binary package feeds. I'd say it's possible, because it's basically
> about installing packages into some directory and doing some
> relocation,
> but you'll need to write some tool to do the update work and place
> that
> tool in your SDK. There's no official tool in Yocto as far as I know.
> Not sure if someone else has written such a tool.
>
> this is also my thought, and I was think to use opkg after sourcing
> the sdk script.
> But was not working
>
> source path/to/sdk/environment-setup-aarch64-oe-linux
> opkg list
> * file_mkdir_hier: Cannot create directory
> `//usr/local/oe-sdk-hardcoded-buildpath': Permission denied.
>
> I am missing something here!!
>
> Regards,
> Salahaldeen
>
>
> Regards,
> Qi
>
> On 10/8/24 16:28, salahaldeen.altous@yahoo.com via
> lists.yoctoproject.org wrote:
>
> Hi All,
>
> I have the need to update the yocto SDK incrementally without
> the need
> to rebuild it every time from scratch.
> I have the package management ipk enabled in my configuration.
>
> can I use opkg install after sourcing the SDK script? which
> requirement I need to get it running?
> updating the rootfs on the target is working fine, but
> updating the
> SDK is not working
>
> Regards,
> Salahaldeen
>
[-- Attachment #2: Type: text/html, Size: 3337 bytes --]
prev parent reply other threads:[~2024-10-09 7:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <xhAk.1728376109213832144.otFZ@lists.yoctoproject.org>
2024-10-08 9:38 ` [yocto] How I can update the Yocto SDK incrementally/partially? Yoann Congal
2024-10-08 9:43 ` Alexander Kanavin
2024-10-08 12:04 ` salahaldeen.altous
2024-10-08 12:13 ` Alexander Kanavin
2024-10-08 11:18 ` salahaldeen.altous
2024-10-08 11:44 ` Alexander Kanavin
2024-10-09 2:49 ` ChenQi
2024-10-09 6:48 ` salahaldeen.altous
2024-10-09 7:06 ` ChenQi [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=5fb2e2f1-5a68-424b-91d4-a9d80d9eb919@windriver.com \
--to=qi.chen@windriver.com \
--cc=salahaldeen.altous@yahoo.com \
--cc=yocto@lists.yoctoproject.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.