diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2022-08-04 18:18:09 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2022-08-04 18:18:09 +0200 |
commit | 147ec8ce33829e9129ce68874b73bc8f33606b76 (patch) | |
tree | 2e98b5ac7d182b37d06337356874514130f68c46 | |
parent | b89c636859705b8927d8f10481443a3b2281df7e (diff) | |
download | meta-readonly-rootfs-overlay-honister.tar.gz |
- add 'kirkstone' to LAYERSERIES_COMPAT;
- adjust the expectations of the new 'empty-dirs' QA check added in
[1], since we explictly populate '/media' (note that this change
seems to have been backported to the honister branch too, so it's
not specific to kirkstone);
[1] https://github.com/openembedded/openembedded-core/commit/a454fda9c3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-rw-r--r-- | conf/layer.conf | 2 | ||||
-rw-r--r-- | recipes-core/initrdscripts/readonly-rootfs-overlay-init-script.inc | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index de377f2..aef6eba 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -9,4 +9,4 @@ BBFILE_COLLECTIONS += "readonly-rootfs-overlay" | |||
9 | BBFILE_PATTERN_readonly-rootfs-overlay = "^${LAYERDIR}/" | 9 | BBFILE_PATTERN_readonly-rootfs-overlay = "^${LAYERDIR}/" |
10 | BBFILE_PRIORITY_readonly-rootfs-overlay = "6" | 10 | BBFILE_PRIORITY_readonly-rootfs-overlay = "6" |
11 | 11 | ||
12 | LAYERSERIES_COMPAT_readonly-rootfs-overlay = "honister" | 12 | LAYERSERIES_COMPAT_readonly-rootfs-overlay = "honister kirkstone" |
diff --git a/recipes-core/initrdscripts/readonly-rootfs-overlay-init-script.inc b/recipes-core/initrdscripts/readonly-rootfs-overlay-init-script.inc index fcfefcf..eeb7f2d 100644 --- a/recipes-core/initrdscripts/readonly-rootfs-overlay-init-script.inc +++ b/recipes-core/initrdscripts/readonly-rootfs-overlay-init-script.inc | |||
@@ -14,5 +14,11 @@ do_install() { | |||
14 | 14 | ||
15 | FILES:${PN} += " /init /media/rfs" | 15 | FILES:${PN} += " /init /media/rfs" |
16 | 16 | ||
17 | QA_EMPTY_DIRS:remove = "/media" | ||
18 | QA_EMPTY_DIRS:append = " \ | ||
19 | /media/rfs/ro \ | ||
20 | /media/rfs/rw \ | ||
21 | " | ||
22 | |||
17 | # Due to kernel dependency | 23 | # Due to kernel dependency |
18 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 24 | PACKAGE_ARCH = "${MACHINE_ARCH}" |