All of lore.kernel.org
 help / color / mirror / Atom feed
From: AAlex_ <earthquake.de@freenet.de>
To: buildroot@busybox.net
Subject: [Buildroot] Further partition creation with genimage fails
Date: Thu, 1 Feb 2018 05:57:14 -0700 (MST)	[thread overview]
Message-ID: <1517489834363-0.post@n4.nabble.com> (raw)
In-Reply-To: <87inbh3tbr.fsf@dell.be.48ers.dk>

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/

      reply	other threads:[~2018-02-01 12:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-01  8:32 [Buildroot] Further partition creation with genimage fails AAlex_
2018-02-01 10:19 ` Peter Korsgaard
2018-02-01 12:57   ` AAlex_ [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1517489834363-0.post@n4.nabble.com \
    --to=earthquake.de@freenet.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.