summaryrefslogtreecommitdiffstats
path: root/client/engine/OgLiveAdapter.lib
diff options
context:
space:
mode:
Diffstat (limited to 'client/engine/OgLiveAdapter.lib')
-rwxr-xr-xclient/engine/OgLiveAdapter.lib4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/engine/OgLiveAdapter.lib b/client/engine/OgLiveAdapter.lib
index 44f49534..f6cc9373 100755
--- a/client/engine/OgLiveAdapter.lib
+++ b/client/engine/OgLiveAdapter.lib
@@ -13,3 +13,7 @@ shopt -s expand_aliases
# read: Configura el salto de línea como delimintador por defecto.
alias read='read -d\n'
+
+# Creación del menú grub.cfg.
+# En /etc/grub.d/00_header si 'pkgdatadir' está vacía ponemos valor otros ogLive
+sed -i '/grub-mkconfig_lib/i\pkgdatadir=${pkgdatadir:-"${datarootdir}/grub"}' /etc/grub.d/00_header