summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-05-16 16:13:33 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-05-16 16:13:33 (GMT)
commit6f7a84649ef75069cc4fa06fabeb63e762e049d1 (patch)
tree390f0eb0781b2599449edbdafbeb6aaba34200dc
parent2977acb7eedc1934fa051d69d3e88e633db0d1d7 (diff)
downloadlinhes_pkgbuild-6f7a84649ef75069cc4fa06fabeb63e762e049d1.zip
linhes_pkgbuild-6f7a84649ef75069cc4fa06fabeb63e762e049d1.tar.gz
linhes_pkgbuild-6f7a84649ef75069cc4fa06fabeb63e762e049d1.tar.bz2
grub: grub.install: use systemconfig to rebuild grub config to make sure we have splash setting
-rw-r--r--abs/core/grub/PKGBUILD2
-rw-r--r--abs/core/grub/__changelog2
-rw-r--r--abs/core/grub/grub.install5
3 files changed, 5 insertions, 4 deletions
diff --git a/abs/core/grub/PKGBUILD b/abs/core/grub/PKGBUILD
index 6e3535f..58873b9 100644
--- a/abs/core/grub/PKGBUILD
+++ b/abs/core/grub/PKGBUILD
@@ -23,7 +23,7 @@ _UNIFONT_VER="6.3.20131217"
pkgname="grub"
pkgdesc="GNU GRand Unified Bootloader (2)"
pkgver=2.02.beta2
-pkgrel=7
+pkgrel=8
epoch=1
url="https://www.gnu.org/software/grub/"
arch=('x86_64' 'i686')
diff --git a/abs/core/grub/__changelog b/abs/core/grub/__changelog
index e7a69e6..a7fcd67 100644
--- a/abs/core/grub/__changelog
+++ b/abs/core/grub/__changelog
@@ -1,3 +1,5 @@
PKGBUILD: change dep python to python2
grub.default: set to LinHES colors and timeouts
grub.install: add /boot/grub/locale/en.mo link to quiet error
+grup.install: call systemconfig.py -m advanced instead of grub-mkconfig directly
+ this will make sure the correct setting for the splash is picked up
diff --git a/abs/core/grub/grub.install b/abs/core/grub/grub.install
index 40e3078..ddd6681 100644
--- a/abs/core/grub/grub.install
+++ b/abs/core/grub/grub.install
@@ -13,10 +13,9 @@ post_install() {
post_upgrade() {
cat << 'EOM'
Generating grub.cfg config file...
-This may fail on some machines running a custom kernel.
EOM
-
- grub-mkconfig -o /boot/grub/grub.cfg 2> /dev/null
+
+ systemconfig.py -m advanced
echo "done."
for file in ${filelist[@]}; do