Created
December 6, 2017 21:55
-
-
Save ljosa/b626f9fdd86424ce9923530ab561fbaf to your computer and use it in GitHub Desktop.
Build container for xf86-input-evdev-spacefn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
RUN apt-get update -y && apt-get install -y vim-tiny debian-keyring build-essential fakeroot devscripts | |
RUN sed -i.bak 's/^# deb-src/deb-src/' /etc/apt/sources.list | |
RUN apt-get update -y && apt-get -y build-dep xserver-xorg-input-evdev-hwe-16.04 | |
RUN apt-get source xserver-xorg-input-evdev-hwe-16.04 | |
WORKDIR /xserver-xorg-input-evdev-hwe-16.04-2.10.5 | |
CMD cp /src/xf86-input-evdev-spacefn/src/evdev.c src/evdev.c && debuild -us -uc -i -I && cp build/src/.libs/evdev_drv.so /src |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment