Re: [yocto] [WIC] Grow last partition up to disk size

2020-05-18 Thread Mike Looijmans
On 30-04-2020 20:23, Khem Raj via lists.yoctoproject.org wrote: On 4/30/20 11:16 AM, Marek Belisko wrote: Hi Rudolf, On Thu, Apr 30, 2020 at 7:39 PM Rudolf J Streif wrote: I was looking for a way in a wks file to have wic grow the last partition to fill up the remainder of the disk. Of

Re: [yocto] [WIC] Grow last partition up to disk size

2020-05-01 Thread Michael Nazzareno Trimarchi
Hi On Fri, May 1, 2020 at 8:47 AM Gmane Admin wrote: > > Op 01-05-2020 om 01:11 schreef Rudolf J Streif: > > Thanks, guys, I appreciate it. > > > > Doing it dynamically on first boot would probably work as it is a data > > partition and not the rootfs partition. > > If you use btrfs you can

Re: [yocto] [WIC] Grow last partition up to disk size

2020-05-01 Thread Gmane Admin
Op 01-05-2020 om 01:11 schreef Rudolf J Streif: Thanks, guys, I appreciate it. Doing it dynamically on first boot would probably work as it is a data partition and not the rootfs partition. If you use btrfs you can even resize the rootfs (mounted) partition. I will give it a try. :rjs On

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Khem Raj
On 4/30/20 4:11 PM, Rudolf J Streif wrote: Thanks, guys, I appreciate it. Doing it dynamically on first boot would probably work as it is a data partition and not the rootfs partition. I will give it a try. 96boards-tools also has a script which works regardless of init systems

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Rudolf J Streif
Thanks, guys, I appreciate it. Doing it dynamically on first boot would probably work as it is a data partition and not the rootfs partition. I will give it a try. :rjs On 4/30/20 12:13 PM, Michael Nazzareno Trimarchi wrote: > Hi > > On Thu, Apr 30, 2020 at 9:10 PM Michael Nazzareno Trimarchi

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Michael Nazzareno Trimarchi
Hi On Thu, Apr 30, 2020 at 9:10 PM Michael Nazzareno Trimarchi via lists.yoctoproject.org wrote: > > Hi > > Well I have write something like this > > [Unit] > Description=Increases rootfs image size to fit partition > Requires=dev-disk-by\x2dpartlabel-rootfs.device >

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Michael Nazzareno Trimarchi
Hi Well I have write something like this [Unit] Description=Increases rootfs image size to fit partition Requires=dev-disk-by\x2dpartlabel-rootfs.device After=dev-disk-by\x2dpartlabel-rootfs.device [Service] Type=oneshot ExecStart=/usr/sbin/sgdisk /dev/disk/by-path/platform-ff0f.dwmmc -e

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Marek Belisko
On Thu, Apr 30, 2020 at 8:27 PM Khem Raj wrote: > > > > On 4/30/20 11:25 AM, Marek Belisko wrote: > > On Thu, Apr 30, 2020 at 8:23 PM Khem Raj wrote: > >> > >> > >> > >> On 4/30/20 11:16 AM, Marek Belisko wrote: > >>> Hi Rudolf, > >>> > >>> On Thu, Apr 30, 2020 at 7:39 PM Rudolf J Streif > >>>

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Khem Raj
On 4/30/20 11:25 AM, Marek Belisko wrote: On Thu, Apr 30, 2020 at 8:23 PM Khem Raj wrote: On 4/30/20 11:16 AM, Marek Belisko wrote: Hi Rudolf, On Thu, Apr 30, 2020 at 7:39 PM Rudolf J Streif wrote: I was looking for a way in a wks file to have wic grow the last partition to fill up

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Marek Belisko
On Thu, Apr 30, 2020 at 8:23 PM Khem Raj wrote: > > > > On 4/30/20 11:16 AM, Marek Belisko wrote: > > Hi Rudolf, > > > > On Thu, Apr 30, 2020 at 7:39 PM Rudolf J Streif > > wrote: > >> > >> I was looking for a way in a wks file to have wic grow the last > >> partition to fill up the remainder of

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Khem Raj
On 4/30/20 11:16 AM, Marek Belisko wrote: Hi Rudolf, On Thu, Apr 30, 2020 at 7:39 PM Rudolf J Streif wrote: I was looking for a way in a wks file to have wic grow the last partition to fill up the remainder of the disk. Of course wic does not know how large the disk is but that could be a

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Marek Belisko
Hi Rudolf, On Thu, Apr 30, 2020 at 7:39 PM Rudolf J Streif wrote: > > I was looking for a way in a wks file to have wic grow the last > partition to fill up the remainder of the disk. Of course wic does not > know how large the disk is but that could be a parameter. > > The alternative way is to