[v3] debian-common: Add fdisk package as a dependency in wic

Message ID 20210827130537.3655103-1-Srinuvasan_A@mentor.com
State Superseded, archived
Headers show
Series [v3] debian-common: Add fdisk package as a dependency in wic | expand

Commit Message

Srinuvasan Arjunan Aug. 27, 2021, 5:05 a.m. UTC
From: Srinuvasan A <srinuvasan_a@mentor.com>

In downstream when we build the bullseye images for de0-nano-soc target it's getting
failed in wic image creation step due to sfdisk required to build the
wic images.

To reproduce this issue in upstream we triggered the de0-nano-soc build
with --system-id option enabled in wks.in file, this issue present in
upstream build hence added the dependency package fdisk to the wic
imager install.

Ref commit for de0-nano-soc.wks.in: c8eb30bfbff4

Signed-off-by: Srinuvasan A <srinuvasan_a@mentor.com>
---
 meta/conf/distro/debian-common.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Henning Schild Aug. 27, 2021, 8 a.m. UTC | #1
Looking good now.

I guess we could switch the "default" distro of Isar from buster to
bullseye soon, that finding/fix will ease that step.

And introduce bookwork while at it.

Henning

Am Fri, 27 Aug 2021 18:35:37 +0530
schrieb Srinuvasan A <Srinuvasan_A@mentor.com>:

> From: Srinuvasan A <srinuvasan_a@mentor.com>
> 
> In downstream when we build the bullseye images for de0-nano-soc
> target it's getting failed in wic image creation step due to sfdisk
> required to build the wic images.
> 
> To reproduce this issue in upstream we triggered the de0-nano-soc
> build with --system-id option enabled in wks.in file, this issue
> present in upstream build hence added the dependency package fdisk to
> the wic imager install.
> 
> Ref commit for de0-nano-soc.wks.in: c8eb30bfbff4
> 
> Signed-off-by: Srinuvasan A <srinuvasan_a@mentor.com>
> ---
>  meta/conf/distro/debian-common.conf | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/conf/distro/debian-common.conf
> b/meta/conf/distro/debian-common.conf index ba5262a..4c9b225 100644
> --- a/meta/conf/distro/debian-common.conf
> +++ b/meta/conf/distro/debian-common.conf
> @@ -16,7 +16,8 @@ WIC_IMAGER_INSTALL = "parted \
>                        e2fsprogs \
>                        python3 \
>                        bmap-tools \
> -                      tar"
> +                      tar \
> +                      fdisk"
>  
>  GRUB_BOOTLOADER_INSTALL_amd64 = "grub-efi-amd64-bin"
>  GRUB_BOOTLOADER_INSTALL_i386 = "grub-efi-ia32-bin"

Patch

diff --git a/meta/conf/distro/debian-common.conf b/meta/conf/distro/debian-common.conf
index ba5262a..4c9b225 100644
--- a/meta/conf/distro/debian-common.conf
+++ b/meta/conf/distro/debian-common.conf
@@ -16,7 +16,8 @@  WIC_IMAGER_INSTALL = "parted \
                       e2fsprogs \
                       python3 \
                       bmap-tools \
-                      tar"
+                      tar \
+                      fdisk"
 
 GRUB_BOOTLOADER_INSTALL_amd64 = "grub-efi-amd64-bin"
 GRUB_BOOTLOADER_INSTALL_i386 = "grub-efi-ia32-bin"