Skip to content
Browse files

v86d: install module configuration for uvesafb

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
  • Loading branch information...
1 parent 26e0525 commit 5680b94668d5d5570c49829ebb94a0831ecb493d @morphis morphis committed with shr-project Aug 20, 2013
Showing with 6 additions and 7 deletions.
  1. +6 −7 recipes-bsp/v86d/v86d_0.1.10.bbappend
View
13 recipes-bsp/v86d/v86d_0.1.10.bbappend
@@ -1,13 +1,12 @@
# Copyright (c) 2012-2013 LG Electronics, Inc.
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-# Override default fbsetup script with our own script which sets the screen resolution
-SRC_URI += "file://fbsetup"
-
# Define the desired resolution and write it into the fbsetup script
UVESA_MODE = "1024x768-32"
-do_configure_prepend() {
- sed -i.orig "s/modprobe uvesafb.*$/modprobe uvesafb mode_option=${UVESA_MODE}/" ${WORKDIR}/fbsetup
+do_install_append() {
+ # Install module loading configuration for systemd-modules-load service
+ install -d ${D}${sysconfdir}/modules-load.d
+ echo "uvesafb" > ${D}${sysconfdir}/modules-load.d/v86d.conf
+ install -d ${D}${sysconfdir}/modprobe.d
+ echo "options uvesafb mode_option=${UVESA_MODE}" > ${D}${sysconfdir}/modprobe.d/uvesafb.conf
}

0 comments on commit 5680b94

Please sign in to comment.
Something went wrong with that request. Please try again.