Skip to content

Remove loop device suffix when node is not available#900

Open
acinonyx wants to merge 1 commit intoRPi-Distro:masterfrom
acinonyx:master
Open

Remove loop device suffix when node is not available#900
acinonyx wants to merge 1 commit intoRPi-Distro:masterfrom
acinonyx:master

Conversation

@acinonyx
Copy link
Contributor

The output of losetup -f is not parsed adequately to filter out a possible (lost) suffix which appears in the output when the device has not yet been created by the kernel module.

Expand the variable holding the device path to remove the largest portion of the suffix matching a space plus anything that follows it.

The output of `losetup -f` is not parsed adequately to filter out a
possible ` (lost)` suffix which appears in the output when the device
has not yet been created by the kernel module.

Expand the variable holding the device path to remove the largest
portion of the suffix matching a space plus anything that follows it.

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
@acinonyx
Copy link
Contributor Author

acinonyx commented Jan 23, 2026

You can find the build error here and the original issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant