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.alt...@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.alt...@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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63981): https://lists.yoctoproject.org/g/yocto/message/63981
Mute This Topic: https://lists.yoctoproject.org/mt/108885909/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to