prplos/profiles/x86_64.yml
Petr Štetiar 8a172d1b03
profiles: x86_64: fix build failure by increasing rootfs size to 150MiB
We've started adding more features recently which increased rootfs size,
resulting to the following builds errors:

  Pseudo file "dev" exists in source filesystem "/builds/prpl-foundation/prplos/prplos/build_dir/target-x86_64_musl/root-x86/dev".
  ...
  Creating 4.0 filesystem on /builds/prpl-foundation/prplos/prplos/build_dir/target-x86_64_musl/linux-x86_64/root.squashfs, block size 262144.
  [|                                                             ]    0/4678   0%error: ext4_allocate_best_fit_partial: failed to allocate 135 blocks, out of space?
  Creating filesystem with parameters:
      Size: 136314880
      Block size: 4096
  ...
  make[4]: *** Waiting for unfinished jobs....

So lets fix it by increasing the size of rootfs to 150MiB.

References: PCF-2021, FEAT-54
Fixes: b58f476c16 ("profiles: prpl: add support for pkcs11 and softHSM")
Link: https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/11402124317#L9008
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2025-10-09 20:03:03 +00:00

21 lines
407 B
YAML

---
profiles:
- generic
target: x86
subtarget: 64
description: Build image for x86/64 generic target
packages:
- hostapd-utils
- iw-full
- kmod-mac80211-hwsim
- wpad-basic
diffconfig: |
CONFIG_GRUB_TIMEOUT="1"
# CONFIG_TARGET_IMAGES_GZIP is not set
CONFIG_TARGET_ROOTFS_PARTSIZE=150
CONFIG_TARGET_INITRAMFS_COMPRESSION_LZMA=y
CONFIG_TARGET_ROOTFS_INITRAMFS=y
CONFIG_TESTING_KERNEL=y