From db515237b38cf63b71a5fdd561f2b2dcc38d6074 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Fri, 10 Jun 2016 09:06:57 +0200 Subject: [PATCH] Make sure to create /boot/grub --- script/post-upgrade.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/script/post-upgrade.sh b/script/post-upgrade.sh index 9355810..18106dc 100644 --- a/script/post-upgrade.sh +++ b/script/post-upgrade.sh @@ -33,6 +33,11 @@ PACKAGES_TO_ADD=( "net-misc/networkmanager" ) +# Make sure we have /boot/grub before installing +# sabayon-artwork-grub (so that it's able to copy +# the splash over to the correct location) +mkdir -p /boot/grub + # Handling install/removal of packages specified in env equo repo mirrorsort sabayonlinux.org @@ -103,8 +108,8 @@ touch /var/.updated rm -f /etc/openldap/ssl/ldap.pem /etc/openldap/ssl/ldap.key \ /etc/openldap/ssl/ldap.csr /etc/openldap/ssl/ldap.crt -# Remove scripts -rm -rf /post-upgrade.sh - # Cleanup rm -rf "${FILES_TO_REMOVE[@]}" + +# Remove scripts +rm -f /post-upgrade.sh