diff options
-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}" |