[initramfs] Set framebuffer mode earlier in the script (before hooks) (#1070)
This commit is contained in:
parent
75cd812fa3
commit
5c2e83f051
2 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
pkgname=postmarketos-mkinitfs
|
pkgname=postmarketos-mkinitfs
|
||||||
pkgver=0.5.6
|
pkgver=0.5.7
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Tool to generate initramfs images for postmarketOS"
|
pkgdesc="Tool to generate initramfs images for postmarketOS"
|
||||||
url="https://github.com/postmarketOS"
|
url="https://github.com/postmarketOS"
|
||||||
|
@ -22,6 +22,6 @@ package() {
|
||||||
"$pkgdir/sbin/mkinitfs"
|
"$pkgdir/sbin/mkinitfs"
|
||||||
mkdir -p "$pkgdir/etc/postmarketos-mkinitfs/hooks/"
|
mkdir -p "$pkgdir/etc/postmarketos-mkinitfs/hooks/"
|
||||||
}
|
}
|
||||||
sha512sums="9eaf7c1fa3bd8c4e065b523dbdf98cd5d002629c1691d388feca8ae7784ffc8e901d92265d6538fd92689483673a65e175e8b8b2c893bbe5746a07ff20a65e82 init.sh.in
|
sha512sums="500c1e903ca9cf5dfe0102414b086643379d51d848e15eeed89da8ba9f3a286dfba139a29b8312a0df005e159a54ad08c84e078b7d70e6873cabb7d0abda4807 init.sh.in
|
||||||
eca1e4647494556be52b3eecffe2db75735006a6c53e8778630949808aabc464281ffa75a8744e22a5512c2de1eb5f92f9eb377a55ca4a7402ba8cc0705df83d init_functions.sh
|
eca1e4647494556be52b3eecffe2db75735006a6c53e8778630949808aabc464281ffa75a8744e22a5512c2de1eb5f92f9eb377a55ca4a7402ba8cc0705df83d init_functions.sh
|
||||||
5bb521186c5f6586136ab3edb13d2ba44c00a84e9d18f255f5e92305bf78ff5aa9bd414d7a50eda4168e5c6eadd87d62fd4169f370fd18e0ebd291fcf2103a9f mkinitfs.sh"
|
5bb521186c5f6586136ab3edb13d2ba44c00a84e9d18f255f5e92305bf78ff5aa9bd414d7a50eda4168e5c6eadd87d62fd4169f370fd18e0ebd291fcf2103a9f mkinitfs.sh"
|
||||||
|
|
|
@ -18,15 +18,15 @@ mount_subpartitions
|
||||||
# Start msm-fb-refresher workaround for qualcomm devices
|
# Start msm-fb-refresher workaround for qualcomm devices
|
||||||
start_msm_refresher
|
start_msm_refresher
|
||||||
|
|
||||||
|
# Fix for framebuffer drivers, which do not have a default mode
|
||||||
|
set_framebuffer_mode
|
||||||
|
|
||||||
# Hooks
|
# Hooks
|
||||||
for hook in /etc/postmarketos-mkinitfs/hooks/*.sh; do
|
for hook in /etc/postmarketos-mkinitfs/hooks/*.sh; do
|
||||||
[ -e "$hook" ] || continue
|
[ -e "$hook" ] || continue
|
||||||
sh "$hook"
|
sh "$hook"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Fix for framebuffer drivers, which do not have a default mode
|
|
||||||
set_framebuffer_mode
|
|
||||||
|
|
||||||
show_splash /splash-loading.ppm.gz
|
show_splash /splash-loading.ppm.gz
|
||||||
|
|
||||||
# Always run dhcp daemon/usb networking for now (later this should only
|
# Always run dhcp daemon/usb networking for now (later this should only
|
||||||
|
|
Loading…
Reference in a new issue