You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dracut checks the version of udevadm when booting and fails if it sees our version numbers. This was reported to me by a user in #gentoo on freenode. I wrote the following patch to correct it and gave it to him. I am waiting for feedback.
diff --git a/src/udev/udevadm-info.c b/src/udev/udevadm-info.c
index 95f077c..5fbc778 100644
--- a/src/udev/udevadm-info.c
+++ b/src/udev/udevadm-info.c
@@ -432,7 +432,7 @@ static int uinfo(struct udev *udev, int argc, char *argv[])
export_prefix = optarg;
break;
case 'V':
- printf("%s\n", VERSION);
+ printf("%s\n", UDEV_VERSION);
goto exit;
case 'h':
printf("%s\n", usage);
diff --git a/src/udev/udevadm.c b/src/udev/udevadm.c
index b91d3cc..82852fb 100644
--- a/src/udev/udevadm.c
+++ b/src/udev/udevadm.c
@@ -34,7 +34,7 @@ void udev_main_log(struct udev *udev, int priority,
static int adm_version(struct udev *udev, int argc, char *argv[])
{
- printf("%s\n", VERSION);
+ printf("%s\n", UDEV_VERSION);
return 0;
}
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index bc7b578..fb536be 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -1141,7 +1141,7 @@ int main(int argc, char *argv[])
"\n");
goto exit;
case 'V':
- printf("%s\n", VERSION);
+ printf("%s\n", UDEV_VERSION);
goto exit;
default:
goto exit;
The text was updated successfully, but these errors were encountered:
Dracut checks the version of udevadm when booting and fails if it sees our version numbers. This was reported to me by a user in #gentoo on freenode. I wrote the following patch to correct it and gave it to him. I am waiting for feedback.
The text was updated successfully, but these errors were encountered: