![](https://seccdn.libravatar.org/avatar/29495d4971cc39e3e98fb5119b7f1698.jpg?s=120&d=mm&r=g)
On Wed, 2024-05-22 at 14:17 +0300, Andrei Borzenkov wrote:
On Wed, May 22, 2024 at 1:00 PM Jonas Kvinge
wrote: Hi,
The RPI4 JeOS image (https://en.opensuse.org/HCL:Raspberry_Pi4) automatically grows the root filesystem partition on boot. I have a custom partition setup based on this image where the root filesystem is encrypted. It has 3 partitions: 1. fat16 UEFI, 2. ext4 /boot partition 3. luks ext4 root partition. I create an image of this setup to use on several machines, and I'd like to automatically grow the luks partition on boot. My understanding is that it's normally done by systemd-repart, but it
No, openSUSE images are normally using kiwi in particular dracut module kiwi-repart.
Thanks, that helped me. Since I've rebuilt the initramdisk with dracut under chroot before booting, the kiwi modules weren't included because "check" in module_setup returns 255. If I run dracut with --force-add "kiwi-repart", it's included, but it stops here: https://github.com/OSInside/kiwi/blob/1e9fdf24a15e3bd591f0ac01684d2546971049... because the "/.profile" doesn't exist in the image, but the /config.partids exists. The .profile file should be the kiwi configuration, any idea where it is, or where the kiwi sources for rpi4 images are? Jonas