projects
/
kboot-utils.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a59c14b
)
Handle the case when links like /dev/root are returned
author
Antonio Ospite <ospite@studenti.unina.it>
Fri, 15 Apr 2011 19:39:42 +0000
(21:39 +0200)
committer
Antonio Ospite <ospite@studenti.unina.it>
Fri, 15 Apr 2011 19:39:42 +0000
(21:39 +0200)
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
kboot-mkconfig_lib
patch
|
blob
|
history
diff --git
a/kboot-mkconfig_lib
b/kboot-mkconfig_lib
index
3507696
..
3cac70c
100644
(file)
--- a/
kboot-mkconfig_lib
+++ b/
kboot-mkconfig_lib
@@
-21,7
+21,7
@@
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
libdir=${exec_prefix}/lib
-LINUX_ROOT_DEVICE="$(
mount | grep ' / ' | cut -d ' ' -f 1
)"
+LINUX_ROOT_DEVICE="$(
readlink -f $(mount | grep ' / ' | cut -d ' ' -f 1)
)"
if $(which gettext >/dev/null 2>/dev/null) ; then
gettext="gettext"