Message ID | 20250816103244.3427191-1-srinuvasan.a@siemens.com |
---|---|
State | Superseded, archived |
Headers | show |
Series | kas: Exclude example-module for container-amd64 builds | expand |
On 16.08.25 12:32, srinuvasan.a via isar-users wrote: > From: srinuvasan <srinuvasan.a@siemens.com> > > When building for the container-amd64 machine via the kas menu, the build > hangs during the parsing stage. The example-module is not required for > container-based machines, but it is currently included by default. > > Exclude the example-module block when targeting container-amd64 to avoid > these issues. > > Signed-off-by: srinuvasan <srinuvasan.a@siemens.com> > --- > kas/package/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/kas/package/Kconfig b/kas/package/Kconfig > index a49041e8..e0b7754d 100644 > --- a/kas/package/Kconfig > +++ b/kas/package/Kconfig > @@ -37,6 +37,7 @@ config KAS_INCLUDE_PACKAGE_EXAMPLE_RAW > default "kas/package/pkg_example-raw.yaml" > depends on PACKAGE_EXAMPLE_RAW > > +if !MACHINE_CONTAINER_AMD64 > You just need to make the package "depends on !", just like was done already for others. Jan > config PACKAGE_EXAMPLE_MODULE > bool "example-module" > @@ -47,6 +48,7 @@ config KAS_INCLUDE_PACKAGE_EXAMPLE_MODULE > default "kas/package/pkg_example-module.yaml" > depends on PACKAGE_EXAMPLE_MODULE > > +endif > > config PACKAGE_EXAMPLE_PREBUILT > bool "example-prebuilt"
diff --git a/kas/package/Kconfig b/kas/package/Kconfig index a49041e8..e0b7754d 100644 --- a/kas/package/Kconfig +++ b/kas/package/Kconfig @@ -37,6 +37,7 @@ config KAS_INCLUDE_PACKAGE_EXAMPLE_RAW default "kas/package/pkg_example-raw.yaml" depends on PACKAGE_EXAMPLE_RAW +if !MACHINE_CONTAINER_AMD64 config PACKAGE_EXAMPLE_MODULE bool "example-module" @@ -47,6 +48,7 @@ config KAS_INCLUDE_PACKAGE_EXAMPLE_MODULE default "kas/package/pkg_example-module.yaml" depends on PACKAGE_EXAMPLE_MODULE +endif config PACKAGE_EXAMPLE_PREBUILT bool "example-prebuilt"