mail archive of the rauc mailing list
 help / color / mirror / Atom feed
From: "Kilimci, Caglar" <caglar.kilimci@accenture.com>
To: "jlu@pengutronix.de" <jlu@pengutronix.de>,
	"rauc@pengutronix.de" <rauc@pengutronix.de>
Subject: Re: [RAUC] [External] Re:  Partition resize
Date: Thu, 3 Aug 2017 09:54:19 +0000	[thread overview]
Message-ID: <BN6P114MB00685FE8D812BB628261D59F9DB10@BN6P114MB0068.NAMP114.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <1501689280.2890.17.camel@pengutronix.de>

Hi Jan,

>> Is there any automatic way to extend partition or am I doing
>> something wrong?
>
>I'm guessing your root-FS type is ext4? In that case, you are probably
>installing a filesystem image with was produced with a fixed size less
>than the device size. RAUC doesn't modify the image during
>installation.
>
>The easiest way for you is probably to use a .tar.gz archive instead of
>the filesystem image. Then RAUC will format the partition using
>mkfs.ext4 and extract the tar into the new filesystem. In that case no
>resize is needed.

That is the perfect way. Yes, I used ext4 type and I have tried tar archive and it works. Only thing remains is updating bitbake file for it.

>Alternatively, it could be useful to optionally let RAUC call resize2fs
>on installation of a ext4 image.

Yes, I have learnt this but I do not want to do after installation.

Thank you for your help.

Sincerely,
Caglar Kilimci

________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com
_______________________________________________
RAUC mailing list

  reply	other threads:[~2017-08-03  9:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02 11:53 [RAUC] " Kilimci, Caglar
2017-08-02 15:54 ` Jan Lübbe
2017-08-03  9:54   ` Kilimci, Caglar [this message]
2019-02-06 17:13   ` Enrico Joerns

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=BN6P114MB00685FE8D812BB628261D59F9DB10@BN6P114MB0068.NAMP114.PROD.OUTLOOK.COM \
    --to=caglar.kilimci@accenture.com \
    --cc=jlu@pengutronix.de \
    --cc=rauc@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox