pmaports/main/postmarketos-mkinitfs-hook-ci/05-ci.files
Caleb Connolly e22f6f684f
postmarketos-mkinitfs-hook-ci: new aport (MR 4420)
Add a new initramfs hook for running tests in a CI environment.

This hook automatically runs any scripts from /usr/libexec/ci-tests.
Tests should be installed as a subpackage of some other package (e.g.
qrtr) with an install_if clause to install them when this hook is
installed.

This allows platform specific packages like device packages to define
tests that will automatically be installed and executed when building
the initramfs for that device. See
device/community/device-oneplus-enchilada for an example.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2023-10-31 19:53:21 +00:00

8 lines
No EOL
208 B
Text

/usr/libexec/pmos-tests-initramfs
# We want all modules to be here so that we can validate
# that all the device drivers load properly
/lib/modules
/sbin/udevd
/bin/udevadm
/etc/udev/rules.d
/lib/udev/rules.d