diff mbox series

[isar-cip-core,v2,3/3] exclude boot and var in squashfs and erofs

Message ID 20241211095456.2735691-3-felix.moessbauer@siemens.com (mailing list archive)
State New
Headers show
Series [isar-cip-core,v2,1/3] fix expansion of erofs exclude dirs | expand

Commit Message

Felix Moessbauer Dec. 11, 2024, 9:54 a.m. UTC
These dirs are anyways not used in a ro-rootfs. boot is over-mounted by
systemd via sd boot protocol, implemented by EBG. var is deployed empty.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 classes/erofs.bbclass    | 2 +-
 classes/squashfs.bbclass | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/classes/erofs.bbclass b/classes/erofs.bbclass
index 72458bb..0624b75 100644
--- a/classes/erofs.bbclass
+++ b/classes/erofs.bbclass
@@ -11,7 +11,7 @@ 
 
 IMAGER_INSTALL:erofs += "erofs-utils"
 
-EROFS_EXCLUDE_DIRS ?= ""
+EROFS_EXCLUDE_DIRS ?= "boot var"
 EROFS_CONTENT ?= "${PP_ROOTFS}"
 EROFS_CREATION_ARGS ?= "-z lz4hc,12"
 
diff --git a/classes/squashfs.bbclass b/classes/squashfs.bbclass
index b39be0c..cebda70 100644
--- a/classes/squashfs.bbclass
+++ b/classes/squashfs.bbclass
@@ -22,7 +22,7 @@  def get_free_mem():
 
 IMAGER_INSTALL:squashfs += "squashfs-tools"
 
-SQUASHFS_EXCLUDE_DIRS ?= ""
+SQUASHFS_EXCLUDE_DIRS ?= "boot var"
 SQUASHFS_CONTENT ?= "${PP_ROOTFS}"
 SQUASHFS_CREATION_ARGS ?= ""