From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH v3 2/6] meta: Fix network flag setting
Date: Fri, 3 May 2024 18:05:00 +0300 [thread overview]
Message-ID: <20240503150504.479387-3-amikan@ilbers.de> (raw)
In-Reply-To: <20240503150504.479387-1-amikan@ilbers.de>
Appending '1' to network flag results in wrong value like '11111' on
multiple calling. This will fail with the latest Bitbake version.
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
meta/classes/imagetypes_container.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/imagetypes_container.bbclass b/meta/classes/imagetypes_container.bbclass
index 7c44350c..862ce197 100644
--- a/meta/classes/imagetypes_container.bbclass
+++ b/meta/classes/imagetypes_container.bbclass
@@ -19,7 +19,7 @@ python() {
t_clean = t.replace('-', '_').replace('.', '_')
d.setVar('IMAGE_CMD:' + t_clean, 'convert_container %s "${CONTAINER_IMAGE_NAME}" "${IMAGE_FILE_HOST}"' % t)
d.setVar('IMAGE_FULLNAME:' + t_clean, '${PN}-${DISTRO}-${DISTRO_ARCH}')
- d.appendVarFlag('do_containerize', 'network', d.getVar('TASK_USE_SUDO'))
+ d.setVarFlag('do_containerize', 'network', d.getVar('TASK_USE_SUDO'))
bb.build.addtask('containerize', 'do_image_' + t_clean, 'do_image_tools', d)
}
--
2.34.1
next prev parent reply other threads:[~2024-05-03 15:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-03 15:04 [PATCH v3 0/6] Update to Bitbake 2.8 Anton Mikanovich
2024-05-03 15:04 ` [PATCH v3 1/6] meta: Move kbuildtarget.bbclass Anton Mikanovich
2024-05-03 15:05 ` Anton Mikanovich [this message]
2024-05-03 15:05 ` [PATCH v3 3/6] Revert "bitbake: backport fetch2/aws: forward env-vars used in gitlab-ci K8s" Anton Mikanovich
2024-05-03 15:05 ` [PATCH v3 4/6] bitbake: Update to 2.8 release Anton Mikanovich
2024-05-03 15:05 ` [PATCH v3 5/6] bitbake: Downgrade python requirements Anton Mikanovich
2024-05-03 15:05 ` [PATCH v3 6/6] testsuite: Fix task name index in order file Anton Mikanovich
2024-05-17 11:20 ` [PATCH v3 0/6] Update to Bitbake 2.8 Anton Mikanovich
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=20240503150504.479387-3-amikan@ilbers.de \
--to=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
/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