pmbootstrap install --sdcard appears to complete successfully but no changes to the medium
Hi, there!
I'm using `pmbootstrap` v `3.9.0` and I'm getting some odd behaviour.
`$ pmbootstrap install --sdcard=/dev/sdX` appears to complete successfully but nothing is actually written on the medium.
Log:
```
(094162) [16:51:40] % doas cp /home/<user>/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.e0bf87e3.tar.gz /home/<user>/.local/var/pmbootstrap/chroot_native/mnt/install/var/cache/apk
(094162) [16:51:40] % doas cp /home/<user>/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.2b813721.tar.gz /home/<user>/.local/var/pmbootstrap/chroot_native/mnt/install/var/cache/apk
(094162) [16:51:40] % doas cp /home/<user>/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.031be151.tar.gz /home/<user>/.local/var/pmbootstrap/chroot_native/mnt/install/var/cache/apk
(094162) [16:51:40] (native) % sed -i /\/mnt\/pmbootstrap\/packages/d /mnt/install/etc/apk/repositories
(094162) [16:51:40] % cat /home/<user>/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/repositories
http://mirror.postmarketos.org/postmarketos/extra-repos/systemd/v25.12
http://mirror.postmarketos.org/postmarketos/v25.12
http://dl-cdn.alpinelinux.org/alpine/v3.23/main
http://dl-cdn.alpinelinux.org/alpine/v3.23/community
(094162) [16:51:40] % doas umount /home/<user>/.local/var/pmbootstrap/chroot_native/mnt/install/boot
(094162) [16:51:40] % doas umount /home/<user>/.local/var/pmbootstrap/chroot_native/mnt/install
(094162) [16:51:41] % doas losetup --json --list
{
"loopdevices": [
{
"name": "/dev/loop0",
"sizelimit": 0,
"offset": 0,
"autoclear": false,
"ro": false,
"back-file": "/home/<user>/.local/var/pmbootstrap/chroot_native/home/pmos/rootfs/lg-judyln.img",
"dio": false,
"log-sec": 4096
}
]
}
(094162) [16:51:41] % doas kpartx -d /dev/loop0
(094162) [16:51:41] % doas losetup -d /dev/loop0
(094162) [16:51:41] % doas rm /home/<user>/.local/var/pmbootstrap/chroot_native/in-pmbootstrap
(094162) [16:51:41]
(094162) [16:51:41] *** FLASHING INFORMATION ***
(094162) [16:51:41] Run the following to flash your installation to the target device:
(094162) [16:51:41] * pmbootstrap flasher flash_kernel
(094162) [16:51:41] Flashes the kernel + initramfs to your device:
(094162) [16:51:41] /home/<user>/.local/var/pmbootstrap/chroot_rootfs_lg-judyln/boot
(094162) [16:51:41] (NOTE: fastboot also supports booting the kernel/initramfs directly without flashing. Use 'pmbootstrap flasher boot' to do that.)
(094162) [16:51:41] * If the above steps do not work, you can also create symlinks to the generated files with 'pmbootstrap export' and flash outside of pmbootstrap.
(094162) [16:51:41]
(094162) [16:51:41] *** SSH DAEMON INFORMATION ***
(094162) [16:51:41] SSH daemon is enabled (disable with --no-sshd).
(094162) [16:51:41] Login as 'pak0' with the password given during installation.
(094162) [16:51:41]
(094162) [16:51:41] *** FIREWALL INFORMATION ***
(094162) [16:51:41] Firewall is enabled, but may not work (couldn't determine if kernel supports nftables).
(094162) [16:51:41] For more information: https://postmarketos.org/firewall
(094162) [16:51:41]
(094162) [16:51:41] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
(094162) [16:51:41] DONE!
(123460) [18:32:42] $ pmbootstrap /home/<user>/.local/bin/pmbootstrap log
(123460) [18:32:42] Pmbootstrap v3.9.0 (Python 3.13.12 (main, Feb 4 2026, 15:23:43) [GCC 15.2.1 20251122])
(123460) [18:32:42] % tail -n 60 -F /home/<user>/.local/var/pmbootstrap/log.txt
(123460) [18:32:42] *** output passed to pmbootstrap stdout, not to this log ***
(015481) [09:23:55] $ pmbootstrap /home/<user>/.local/bin/pmbootstrap log
(015481) [09:23:55] Pmbootstrap v3.9.0 (Python 3.13.12 (main, Feb 4 2026, 15:23:43) [GCC 15.2.1 20251122])
(015481) [09:23:55] % tail -n 60 -F /home/<user>/.local/var/pmbootstrap/log.txt
(015481) [09:23:55] *** output passed to pmbootstrap stdout, not to this log ***
```
System:
```
Operating System: Gentoo Linux 2.18
KDE Plasma Version: 6.6.2
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 6.19.6-gentoo-pak0-dist (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: AMD Radeon RX 6800
```
Using `systemd` and `doas`.
I've updated `pmbootstrap` yesterday but I can't recall which was my previous version that was functioning.
issue