Message ID | 20241210164256.2674390-1-felix.moessbauer@siemens.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [isar-cip-core,1/1] exclude boot and var in squashfs | expand |
On 10.12.24 17:42, Felix Moessbauer wrote: > 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/squashfs.bbclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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 ?= "" > I will consider this post-release. For that, please adjust erofs as well. Jan
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 ?= ""
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/squashfs.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)