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
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 somethis is also my thought, and I was think to use opkg after sourcing the sdk script.
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.
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