libfstools: use uevent instead of relying on custom kernel patch
authorDaniel Golle <daniel@makrotopia.org>
Mon, 1 Nov 2021 12:39:11 +0000 (12:39 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 1 Nov 2021 16:13:36 +0000 (16:13 +0000)
commitd3907445b7aa9cbde70d501bd68a5e38db90c6b2
treef3380c4bc77e4d87553f01da51abecb4b34d2140
parent19fd7fc24129d931c755a815313d81bcfa66859a
libfstools: use uevent instead of relying on custom kernel patch

Detect partition name based on 'uevent' instead of relying in custom
kernel patch exposing 'name' in sysfs directly.
This will allow to drop the custom patch again.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
libfstools/partname.c