Blame 0002-base-init.sh-fix-version-output.patch

Harald Hoyer 38a2dd
From cc6f0925df421a4f7945cd80f0f88bd629454607 Mon Sep 17 00:00:00 2001
Harald Hoyer 38a2dd
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 38a2dd
Date: Tue, 2 Apr 2013 13:29:24 +0200
Harald Hoyer 38a2dd
Subject: [PATCH] base/init.sh: fix version output
Harald Hoyer 38a2dd
Harald Hoyer 38a2dd
---
Harald Hoyer 38a2dd
 modules.d/99base/init.sh | 2 +-
Harald Hoyer 38a2dd
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer 38a2dd
Harald Hoyer 38a2dd
diff --git a/modules.d/99base/init.sh b/modules.d/99base/init.sh
Harald Hoyer 38a2dd
index b441a27..410201a 100755
Harald Hoyer 38a2dd
--- a/modules.d/99base/init.sh
Harald Hoyer 38a2dd
+++ b/modules.d/99base/init.sh
Harald Hoyer 38a2dd
@@ -104,7 +104,7 @@ else
Harald Hoyer 38a2dd
 fi
Harald Hoyer 38a2dd
 
Harald Hoyer 38a2dd
 [ -f /etc/initrd-release ] && . /etc/initrd-release
Harald Hoyer 38a2dd
-[ -n "$VERSION" ] && info "dracut-$VERSION"
Harald Hoyer 38a2dd
+[ -n "$VERSION_ID" ] && info "$NAME-$VERSION_ID"
Harald Hoyer 38a2dd
 
Harald Hoyer 38a2dd
 source_conf /etc/conf.d
Harald Hoyer 38a2dd