From: Jan Kiszka <[email protected]> Use the new Isar feature expand-on-first-boot, only assigning the old static reservation to QEMU rootfs images.
Signed-off-by: Jan Kiszka <[email protected]> --- conf/multiconfig/qemu-target.inc | 3 +++ recipes-core/images/demo-image.bb | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/conf/multiconfig/qemu-target.inc b/conf/multiconfig/qemu-target.inc index 1495c30..b9b4af9 100644 --- a/conf/multiconfig/qemu-target.inc +++ b/conf/multiconfig/qemu-target.inc @@ -12,3 +12,6 @@ DISTRO = "jailhouse-demo" IMAGE_TYPE = "ext4-img" + +IMAGE_INSTALL_remove += "expand-on-first-boot" +ROOTFS_EXTRA = "1024" diff --git a/recipes-core/images/demo-image.bb b/recipes-core/images/demo-image.bb index e6bfd06..1467796 100644 --- a/recipes-core/images/demo-image.bb +++ b/recipes-core/images/demo-image.bb @@ -11,8 +11,6 @@ PN = "demo-image-${MACHINE}" -ROOTFS_EXTRA = "1024" - require recipes-core/images/isar-image-base.bb ISAR_RELEASE_CMD = "git -C ${LAYERDIR_jailhouse} describe --tags --dirty --match 'v[0-9].[0-9]*'" @@ -25,3 +23,4 @@ IMAGE_PREINSTALL += " \ pciutils ethtool iperf3" IMAGE_INSTALL += "jailhouse customizations-${MACHINE} non-root-initramfs" +IMAGE_INSTALL += "expand-on-first-boot" -- 2.16.4 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
