From 5c2e83f05173305b96d7f57c79b22cebe00d9b25 Mon Sep 17 00:00:00 2001 From: drebrez Date: Wed, 3 Jan 2018 01:38:32 +0100 Subject: [PATCH] [initramfs] Set framebuffer mode earlier in the script (before hooks) (#1070) --- main/postmarketos-mkinitfs/APKBUILD | 4 ++-- main/postmarketos-mkinitfs/init.sh.in | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/main/postmarketos-mkinitfs/APKBUILD b/main/postmarketos-mkinitfs/APKBUILD index 1e2cd2764..dde757643 100644 --- a/main/postmarketos-mkinitfs/APKBUILD +++ b/main/postmarketos-mkinitfs/APKBUILD @@ -1,5 +1,5 @@ pkgname=postmarketos-mkinitfs -pkgver=0.5.6 +pkgver=0.5.7 pkgrel=0 pkgdesc="Tool to generate initramfs images for postmarketOS" url="https://github.com/postmarketOS" @@ -22,6 +22,6 @@ package() { "$pkgdir/sbin/mkinitfs" mkdir -p "$pkgdir/etc/postmarketos-mkinitfs/hooks/" } -sha512sums="9eaf7c1fa3bd8c4e065b523dbdf98cd5d002629c1691d388feca8ae7784ffc8e901d92265d6538fd92689483673a65e175e8b8b2c893bbe5746a07ff20a65e82 init.sh.in +sha512sums="500c1e903ca9cf5dfe0102414b086643379d51d848e15eeed89da8ba9f3a286dfba139a29b8312a0df005e159a54ad08c84e078b7d70e6873cabb7d0abda4807 init.sh.in eca1e4647494556be52b3eecffe2db75735006a6c53e8778630949808aabc464281ffa75a8744e22a5512c2de1eb5f92f9eb377a55ca4a7402ba8cc0705df83d init_functions.sh 5bb521186c5f6586136ab3edb13d2ba44c00a84e9d18f255f5e92305bf78ff5aa9bd414d7a50eda4168e5c6eadd87d62fd4169f370fd18e0ebd291fcf2103a9f mkinitfs.sh" diff --git a/main/postmarketos-mkinitfs/init.sh.in b/main/postmarketos-mkinitfs/init.sh.in index 533f82fa9..165bda005 100644 --- a/main/postmarketos-mkinitfs/init.sh.in +++ b/main/postmarketos-mkinitfs/init.sh.in @@ -18,15 +18,15 @@ mount_subpartitions # Start msm-fb-refresher workaround for qualcomm devices start_msm_refresher +# Fix for framebuffer drivers, which do not have a default mode +set_framebuffer_mode + # Hooks for hook in /etc/postmarketos-mkinitfs/hooks/*.sh; do [ -e "$hook" ] || continue sh "$hook" done -# Fix for framebuffer drivers, which do not have a default mode -set_framebuffer_mode - show_splash /splash-loading.ppm.gz # Always run dhcp daemon/usb networking for now (later this should only