From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6317CED611 for ; Wed, 9 Oct 2024 06:48:37 +0000 (UTC) Subject: Re: [yocto] How I can update the Yocto SDK incrementally/partially? To: "Chen Qi" , yocto@lists.yoctoproject.org From: "salahaldeen.altous@yahoo.com" X-Originating-Location: Ankara, TR (176.232.20.207) X-Originating-Platform: Linux Firefox 126 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 08 Oct 2024 23:48:28 -0700 References: <2fc61685-dd91-405e-8ea4-56d1ecf58c02@windriver.com> In-Reply-To: <2fc61685-dd91-405e-8ea4-56d1ecf58c02@windriver.com> Message-ID: <13199.1728456508530107727@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="JCUHFJyBpLFUwaXfMKlD" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 09 Oct 2024 06:48:37 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/63980 --JCUHFJyBpLFUwaXfMKlD Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Qi, On Tue, Oct 8, 2024 at 07:50 PM, Chen Qi wrote: >=20 > 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-bu= ildpath': Permission denied. I am missing something here!! Regards, Salahaldeen >=20 >=20 > Regards, > Qi >=20 > On 10/8/24 16:28, salahaldeen.altous@yahoo.com via > lists.yoctoproject.org wrote: >=20 >> Hi All, >>=20 >> 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. >>=20 >> 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 >>=20 >> Regards, >> Salahaldeen >>=20 >>=20 >=20 > --JCUHFJyBpLFUwaXfMKlD Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
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 basica= lly
about installing packages into some directory and doing some relo= cation,
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-har= dcoded-buildpath': Permission denied.

I am missing something her= e!!

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 incr= ementally 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
requirem= ent I need to get it running?
updating the rootfs on the target is wor= king fine, but updating the
SDK is not working

Regards,Salahaldeen

--JCUHFJyBpLFUwaXfMKlD--