That’s what the -p flag to sysupgrade is for.
Also, there’s not much point in resizing the rootdisk partition: even applying
several upgrades and maybe adding some new packages, the amount of used space
isn’t going to grow significantly.
You’re better off creating a 3rd EXT4 partition as /var or something like that.
Logs and collectd information are what grow the most.
> On Sep 14, 2017, at 4:21 AM, Nishant Sharma wrote:
>
> Hi,
>
> I am using Lede 17.01.2 on PCEngines APU2. In order to utilise full 16GB SSD,
> I resize the partition after "dd"-ing the Lede image to it.
>
> On sysupgrade, the partition table is re-written and "/" partition is back to
> 256 MB.
>
> Is there a way the existing partition table or at least "/" partition size
> could be preserved?
>
> Thanks in advance.
>
> Regards,
> Nishant
___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev