Re: [poky] execute pkg_postinst_ontarget when read-only-rootfs-delayed-postinsts is set for a read only rootfs
Alexander Kanavin <[email protected]>
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <CANNYZj8uEmBCY+8eUnTGDYco7ph1HsMas9XpPq7OjokfQXvOyw@mail.gmail.com> |
On Thu, 4 Jul 2024 at 12:50, Gassner, Tobias.ext via lists.yoctoproject.org <[email protected]> wrote: > + for classes in ("package_rpm", "package_deb", "package_ipk"): Do we need to try every package manager in a loop? I know other tests do it, but if the issue being tested is read-only rootfs with read-write /tmp, then maybe testing just once is enough? > + with self.subTest(package_class=classes): > + features = 'CORE_IMAGE_EXTRA_INSTALL = "postinst-tmp"\n' > + features += 'IMAGE_FEATURES += "package-management empty-root-password"\n' > + features += 'PACKAGE_CLASSES = "%s"\n' % classes > + features += 'INIT_MANAGER = "systemd"\n' Why systemd? Is it needed for something? Note that any deviation from default config risks adding full builds without sstate to the test, preventing sstate reuse. Alex