Instantly share code, notes, and snippets.

Embed
What would you like to do?
Build container for xf86-input-evdev-spacefn
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