Browse Source
The "do_raw_disk_image_shrink_rootfs" changes permissions of input image to "root:root" which requires that all commands are called with "sudo", otherwise it produces an error: $ ./mender-convert raw-disk-image-shrink-rootfs --raw-disk-image input/2018-11-13-raspbian-stretch-lite-expanded-16gb.img *** Data partition size set to default value: 128MB *** *** Total storage size set to default value: 8GB *** 1/1 Shrinking raw disk image root filesystem... dumpe2fs 1.44.5 (15-Dec-2018) resize2fs 1.44.5 (15-Dec-2018) Root filesystem size: minimal: 1441787904 aligned: 1442840576 sectors: 2818048 Raw disk image new endsector: 2916351 truncate: cannot open '/home/mirzak/src/mender-convert/input/2018-11-13-raspbian-stretch-lite-expanded-16gb.img' for writing: Permission denied Changelog: Fix permission denied error in when calling "mender-convert raw-disk-image-shrink-rootfs" Signed-off-by: Mirza Krak <mirza.krak@northern.tech>1.1.x
Mirza Krak
6 years ago
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue