X-Git-Url: https://git.ao2.it/kboot-utils.git/blobdiff_plain/a59c14b051419610776cd7c9a35831c8864739ac..2b05654e1fc39b3860b171783a4d7305c1ee2c7d:/kboot-mkconfig_lib diff --git a/kboot-mkconfig_lib b/kboot-mkconfig_lib index 3507696..ef31905 100644 --- a/kboot-mkconfig_lib +++ b/kboot-mkconfig_lib @@ -1,7 +1,7 @@ # kboot-mkconfig helper script. # Copyright (C) 2011 Antonio Ospite # -# Inspired by the 10_linux script from kboot +# Inspired by the 10_linux script from grub # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -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"