Skip to contentSkip to conversation

dracut-gencmdline: fix freadlink() on debian

PATCH New Alan Jenkins 1 participant 1 message Oct 29, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dracut-gencmdline: fix freadlink() on debian

In Debian, readlink lives in /bin.

dracut-gencmdline +1 -1
index 689f49e..978f5a2 100755
@@ -154,7 +154,7 @@ qpopd() {
 
 
 freadlink() {
-    /usr/bin/readlink -f "$1"
+    readlink -f "$1"
 }
 
 resolve_device_name() {