From: "Martin Siegumfeldt" <mns@gomspace.com>
To: "Alex Stewart" <alex.stewart@emerson.com>, yocto@lists.yoctoproject.org
Subject: Re: [yocto] read-only-rootfs and opkg
Date: Wed, 18 Sep 2024 01:39:42 -0700 [thread overview]
Message-ID: <28131.1726648782868302764@lists.yoctoproject.org> (raw)
In-Reply-To: <DM4PR10MB613491F6677B95E3959C93F794612@DM4PR10MB6134.namprd10.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 1110 bytes --]
Hi Alex,
Thanks for your input - highly appreciated.
It appears you have a point regarding the variable assignment - 'bitbake-getvar OPKGLIBDIR' indeed indicates the intended assignment does not occur:
$ bitbake-getvar --value OPKGLIBDIR
NOTE: Starting bitbake server...
/var/lib
Doing the strong assignment (OPKGLIBDIR = "/data-os/opkg") does not make a difference, which puzzles me as all assigments (I am able to grep) are weak:
$ rg ^OPKGLIBDIR
meta/classes-recipe/rootfs_ipk.bbclass
30:OPKGLIBDIR ??= "${localstatedir}/lib"
meta/recipes-devtools/opkg/opkg_0.6.1.bb
32:OPKGLIBDIR ??= "${target_localstatedir}/lib"
meta/classes-global/package_ipk.bbclass
24:OPKGLIBDIR ??= "${localstatedir}/lib"
However, based on your reply, I am starting to wonder whether what I am trying to achieve is at all possible. The mount '/data-os' is a dedicated partition mounted R/W and used by overlayfs-etc, my assumption was to configure opkg to use this for the meta-data. But if the meta-data is rendered build-time during rootfs creation, I do not see how this is achievable?
Thanks,
Martin
[-- Attachment #2: Type: text/html, Size: 1384 bytes --]
next prev parent reply other threads:[~2024-09-18 8:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-16 10:00 read-only-rootfs and opkg Martin Siegumfeldt
2024-09-17 15:57 ` [EXTERNAL] [yocto] " Stewart, Alex
2024-09-18 8:39 ` Martin Siegumfeldt [this message]
2024-09-18 14:49 ` [EXTERNAL] " Stewart, Alex
2024-09-20 12:30 ` Martin Siegumfeldt
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=28131.1726648782868302764@lists.yoctoproject.org \
--to=mns@gomspace.com \
--cc=alex.stewart@emerson.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox