mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
bcm2835-driver: simplyfing framebuffer service script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
fbc7c3a1ab
commit
66b75c814b
@ -65,9 +65,6 @@ makeinstall_target() {
|
|||||||
cp -PRv $FLOAT/opt/vc/lib/libvchiq_arm.so $INSTALL/usr/lib
|
cp -PRv $FLOAT/opt/vc/lib/libvchiq_arm.so $INSTALL/usr/lib
|
||||||
cp -PRv $FLOAT/opt/vc/lib/libvcos.so $INSTALL/usr/lib
|
cp -PRv $FLOAT/opt/vc/lib/libvcos.so $INSTALL/usr/lib
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/bcm2835
|
|
||||||
cp -P $PKG_DIR/scripts/setup-framebuffer $INSTALL/usr/lib/bcm2835
|
|
||||||
|
|
||||||
# some usefull debug tools
|
# some usefull debug tools
|
||||||
mkdir -p $INSTALL/usr/bin
|
mkdir -p $INSTALL/usr/bin
|
||||||
cp -PRv $FLOAT/opt/vc/bin/vcdbg $INSTALL/usr/bin
|
cp -PRv $FLOAT/opt/vc/bin/vcdbg $INSTALL/usr/bin
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
echo 0 > /sys/class/vtconsole/vtcon1/bind
|
|
||||||
fbset -g 1 1 1 1 32
|
|
@ -4,8 +4,8 @@ After=multi-user.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/lib/bcm2835/setup-framebuffer
|
ExecStartPre=/bin/sh -c 'echo 0 > /sys/class/vtconsole/vtcon1/bind'
|
||||||
RemainAfterExit=yes
|
ExecStart=/sbin/fbset -g 1 1 1 1 32
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=graphical.target
|
WantedBy=graphical.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user