[Buildroot] Further partition creation with genimage fails
AAlex_
earthquake.de at freenet.de
Thu Feb 1 12:57:14 UTC 2018
Hi,
enabled loglevel 2 in genimage,
the data.ext4 is given as a further argument to genext2fs
genext2fs -d
<DIR>/buildroot2017.11rc/pc_x86_64_efi_defconfig/output/build/genimage.tmp/root
--size-in-blocks=131072 -i 16384
<DIR>/buildroot2017.11rc/pc_x86_64_efi_defconfig/output/images/data.ext4
But as you mentioned i will not longer use the genext2fs tool, so what i
did:
Editing board/pc/post-image.sh, added following:
/dd if=/dev/zero of=${BINARIES_DIR}/data.ext4 bs=124M count=1
mkfs.ext4 -F ${BINARIES_DIR}/data.ext4
echo "created: ${BINARIES_DIR}/data.ext4"
/
And keep just the partition data{} ]entry in the board/pc/genimage-efi.cfg:
/partition data {
partition-type = 0x83
image = "data.ext4"
}/
This works fine...and no further dependency on genext2fs tool.
So i dont need BR2_PACKAGE_HOST_GENEXT2FS anymore.
Regards,
AAlex
--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/
More information about the buildroot
mailing list