##// END OF EJS Templates
Don’t require apt lock to be available on build machine if there are no packages to install
Don’t require apt lock to be available on build machine if there are no packages to install

Fichier de la dernière révision:

r93:d975bb85d0ff
r106:8f781dfa765d
Show More
42-fbturbo.sh
34 lines | 1.0 KiB | application/x-sh | BashLexer
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56 #
Jan Wagner
spliting more files, fix-uboot, fix-fbturbo, fix-locale
r67 # Build and Setup fbturbo Xorg driver
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56 #
Jan Wagner
spliting more files, fix-uboot, fix-fbturbo, fix-locale
r67 # Load utility functions
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56 . ./functions.sh
if [ "$ENABLE_FBTURBO" = true ] ; then
# Fetch fbturbo driver sources
drtyhlpr
Added ENABLE_NONFREE support and more
r91 git -C "${R}/tmp" clone "${FBTURBO_URL}"
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56
# Install Xorg build dependencies
drtyhlpr
Fixes for Debian stretch release support
r93 chroot_exec apt-get -q -y --force-yes --no-install-recommends install xorg-dev xutils-dev x11proto-dri2-dev libltdl-dev libtool automake libdrm-dev
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56
# Build and install fbturbo driver inside chroot
Jan Wagner
spliting more files, fix-uboot, fix-fbturbo, fix-locale
r67 chroot_exec /bin/bash -x <<'EOF'
cd /tmp/xf86-video-fbturbo
autoreconf -vi
./configure --prefix=/usr
make
make install
EOF
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56
Jan Wagner
comment-cleanup, net-cleanup, size-calc-fix, split-more, menuconfig
r71 # Install fbturbo driver Xorg configuration
Jan Wagner
fix: ENABLE_CRYPTFS -> UBOOT, SPLITFS, EXPANDROOT - cleanup
r82 install_readonly files/xorg/99-fbturbo.conf "${R}/usr/share/X11/xorg.conf.d/99-fbturbo.conf"
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56
# Remove Xorg build dependencies
Jan Wagner
Added: KERNEL_SRCDIR, path-checks, code-cleanup
r72 chroot_exec apt-get -qq -y --auto-remove purge xorg-dev xutils-dev x11proto-dri2-dev libltdl-dev libtool automake libdrm-dev
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56 fi
# Remove gcc/c++ build environment from the chroot
Jan Wagner
Added: KERNEL_SRCDIR, path-checks, code-cleanup
r72 if [ "$ENABLE_UBOOT" = true ] || [ "$ENABLE_FBTURBO" = true ] ; then
drtyhlpr
Fixes for Debian stretch release support
r93 chroot_exec apt-get -qq -y --auto-remove purge ${COMPILER_PACKAGES}
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56 fi