diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-10 16:54:21 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-12 22:01:56 +0100 |
| commit | 6a2ad60ecc7739d7dbfdf74d67200df374bca4ef (patch) | |
| tree | 0012a7044a5a9cd98ea0c2fdbbe19e13384a6926 /meta/lib/oeqa | |
| parent | c40f78b267bab09925f4879dbfbb6ec2f837187c (diff) | |
| download | poky-6a2ad60ecc7739d7dbfdf74d67200df374bca4ef.tar.gz | |
bitbake.conf/pseudo: Switch from exclusion list to inclusion list
Currently, pseudo tracks all files referenced within its presence unless
they're listed in an exclusion list. The exclusion list has grown to be
fairly unwieldy.
This patch swaps PSEUDO_IGNORE_PATHS for PSEUDO_INCLUDE_PATHS which in
theory should be easier and more explicit to maintain.
This change does drop many directories from pseudo coverage including
/home and /tmp. There may be adapatations needed for recipes/classes
using pseudo in specific ways.
(From OE-Core rev: 2502da81709f25de499277b28d33c915638c45f6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/runtime_test.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 4843d810a2..d58ffa80f5 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py | |||
| @@ -174,7 +174,6 @@ TEST_RUNQEMUPARAMS += " slirp" | |||
| 174 | features += 'PACKAGE_FEED_GPG_NAME = "testuser"\n' | 174 | features += 'PACKAGE_FEED_GPG_NAME = "testuser"\n' |
| 175 | features += 'PACKAGE_FEED_GPG_PASSPHRASE_FILE = "%s"\n' % os.path.join(signing_key_dir, 'key.passphrase') | 175 | features += 'PACKAGE_FEED_GPG_PASSPHRASE_FILE = "%s"\n' % os.path.join(signing_key_dir, 'key.passphrase') |
| 176 | features += 'GPG_PATH = "%s"\n' % self.gpg_home | 176 | features += 'GPG_PATH = "%s"\n' % self.gpg_home |
| 177 | features += 'PSEUDO_IGNORE_PATHS .= ",%s"\n' % self.gpg_home | ||
| 178 | self.write_config(features) | 177 | self.write_config(features) |
| 179 | 178 | ||
| 180 | bitbake('core-image-full-cmdline socat') | 179 | bitbake('core-image-full-cmdline socat') |
| @@ -211,7 +210,6 @@ TEST_RUNQEMUPARAMS += " slirp" | |||
| 211 | features += 'PACKAGE_FEED_GPG_NAME = "testuser"\n' | 210 | features += 'PACKAGE_FEED_GPG_NAME = "testuser"\n' |
| 212 | features += 'PACKAGE_FEED_GPG_PASSPHRASE_FILE = "%s"\n' % os.path.join(signing_key_dir, 'key.passphrase') | 211 | features += 'PACKAGE_FEED_GPG_PASSPHRASE_FILE = "%s"\n' % os.path.join(signing_key_dir, 'key.passphrase') |
| 213 | features += 'GPG_PATH = "%s"\n' % self.gpg_home | 212 | features += 'GPG_PATH = "%s"\n' % self.gpg_home |
| 214 | features += 'PSEUDO_IGNORE_PATHS .= ",%s"\n' % self.gpg_home | ||
| 215 | self.write_config(features) | 213 | self.write_config(features) |
| 216 | 214 | ||
| 217 | # Build core-image-sato and testimage | 215 | # Build core-image-sato and testimage |
