Closed gsingh93 closed 1 year ago
I used to think kpartx
can't print the correct loop device after attaching the file. Well I just tried again and it seems to work. I'll update the code so it is not guessing the device name.
Closed by d3e949fd625d10d1ddefa76945dcf2612a1ffa85.
The
TARGET_BLOCKS
variable here ends up being an empty string for me, which causes more errors later: https://github.com/radxa-repo/rbuild/blob/main/rbuild#L90This seems to be because
e2fsck
needs to be run first:After running that,
shrink-image
works fine.