summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2022-08-04 18:18:09 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2022-08-04 18:18:09 +0200
commit147ec8ce33829e9129ce68874b73bc8f33606b76 (patch)
tree2e98b5ac7d182b37d06337356874514130f68c46
parentb89c636859705b8927d8f10481443a3b2281df7e (diff)
downloadmeta-readonly-rootfs-overlay-147ec8ce33829e9129ce68874b73bc8f33606b76.tar.gz
Fix compatibility with kirkstone branchHEADmasterkirkstonehonister
- 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.conf2
-rw-r--r--recipes-core/initrdscripts/readonly-rootfs-overlay-init-script.inc6
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"
9BBFILE_PATTERN_readonly-rootfs-overlay = "^${LAYERDIR}/" 9BBFILE_PATTERN_readonly-rootfs-overlay = "^${LAYERDIR}/"
10BBFILE_PRIORITY_readonly-rootfs-overlay = "6" 10BBFILE_PRIORITY_readonly-rootfs-overlay = "6"
11 11
12LAYERSERIES_COMPAT_readonly-rootfs-overlay = "honister" 12LAYERSERIES_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
15FILES:${PN} += " /init /media/rfs" 15FILES:${PN} += " /init /media/rfs"
16 16
17QA_EMPTY_DIRS:remove = "/media"
18QA_EMPTY_DIRS:append = " \
19 /media/rfs/ro \
20 /media/rfs/rw \
21"
22
17# Due to kernel dependency 23# Due to kernel dependency
18PACKAGE_ARCH = "${MACHINE_ARCH}" 24PACKAGE_ARCH = "${MACHINE_ARCH}"