Message ID | 20240827124407.810136-1-srinuvasan.a@siemens.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | [isar-cip-core] recipes-core/images/cip-core-image.bb: install cryptsetup package | expand |
On 27.08.24 14:44, srinuvasan.a@siemens.com wrote: > From: srinuvasan <srinuvasan.a@siemens.com> > > When we validate expand-on-first-boot with encrypted partition, the last > encrypted partition is not expanded due to cryptsetup package not availabe, > hence added the package in the rootfs. > > Signed-off-by: srinuvasan <srinuvasan.a@siemens.com> > --- > recipes-core/images/cip-core-image.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/recipes-core/images/cip-core-image.bb b/recipes-core/images/cip-core-image.bb > index 4a9cea9..28f5f3c 100644 > --- a/recipes-core/images/cip-core-image.bb > +++ b/recipes-core/images/cip-core-image.bb > @@ -15,5 +15,7 @@ DESCRIPTION = "CIP Core image" > > IMAGE_INSTALL += "customizations" > > +IMAGE_PREINSTALL:append:encrypt-partitions = " cryptsetup" > + > CIP_IMAGE_OPTIONS ?= "" > require ${CIP_IMAGE_OPTIONS} Please see this thread: https://lore.kernel.org/cip-dev/20240823161906.1168642-1-alexander.heinisch@siemens.com/ Jan
Okay, thanks for pointing the patch. Many thanks, Srinu -----Original Message----- From: Kiszka, Jan (T CED) <jan.kiszka@siemens.com> Sent: 27 August 2024 19:01 To: Arjunan, Srinu (DI CTO FDS CES LX PBU 2) <srinuvasan.a@siemens.com>; cip-dev@lists.cip-project.org Subject: Re: [PATCH][isar-cip-core] recipes-core/images/cip-core-image.bb: install cryptsetup package On 27.08.24 14:44, srinuvasan.a@siemens.com wrote: > From: srinuvasan <srinuvasan.a@siemens.com> > > When we validate expand-on-first-boot with encrypted partition, the > last encrypted partition is not expanded due to cryptsetup package not > availabe, hence added the package in the rootfs. > > Signed-off-by: srinuvasan <srinuvasan.a@siemens.com> > --- > recipes-core/images/cip-core-image.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/recipes-core/images/cip-core-image.bb > b/recipes-core/images/cip-core-image.bb > index 4a9cea9..28f5f3c 100644 > --- a/recipes-core/images/cip-core-image.bb > +++ b/recipes-core/images/cip-core-image.bb > @@ -15,5 +15,7 @@ DESCRIPTION = "CIP Core image" > > IMAGE_INSTALL += "customizations" > > +IMAGE_PREINSTALL:append:encrypt-partitions = " cryptsetup" > + > CIP_IMAGE_OPTIONS ?= "" > require ${CIP_IMAGE_OPTIONS} Please see this thread: https://lore.kernel.org/cip-dev/20240823161906.1168642-1-alexander.heinisch@siemens.com/ Jan -- Siemens AG, Technology Linux Expert Center
diff --git a/recipes-core/images/cip-core-image.bb b/recipes-core/images/cip-core-image.bb index 4a9cea9..28f5f3c 100644 --- a/recipes-core/images/cip-core-image.bb +++ b/recipes-core/images/cip-core-image.bb @@ -15,5 +15,7 @@ DESCRIPTION = "CIP Core image" IMAGE_INSTALL += "customizations" +IMAGE_PREINSTALL:append:encrypt-partitions = " cryptsetup" + CIP_IMAGE_OPTIONS ?= "" require ${CIP_IMAGE_OPTIONS}