Hello,
I'm trying to build LibreELEC for the RPi 2 and created a Docker-Image for this purpose. My problem is, when it comes to install "lirc" the build fails while applying the patches.
 
Code
		
			APPLY PATCH (common)   /LibreELEC.tv/packages/sysutils/lirc/patches/lirc-0001-always-enable-uinput.patch
patching file configure.ac
Hunk #1 FAILED at 33.
1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej
Makefile:12: recipe for target 'image' failed
make: *** [image] Error 1
rm -rf build.*/* build.*/.stampsJust for completeness - this is the Dockerfile, which I use to build the Image:
Docker
		
					
				FROM ubuntu:16.04
RUN apt-get update
ENV DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
# Get general dependencies
RUN apt-get install -y debconf-utils git sudo
# Get and configure make
RUN apt-get install -y make
RUN echo "dash    dash/sh    boolean    false" >> debconf_dash && \
    debconf-set-selections debconf
RUN dpkg-reconfigure -f noninteractive dash
# Get build dependencies
# General packages
RUN apt-get install -y wget bash bc gcc sed patch patchutils tar bzip2 gzip perl gawk gperf zip unzip diffutils texinfo lzop xz-utils cmake acl
# General files
RUN apt-get install -y libc6-dev libncurses5-dev
# Ubuntu specific packages
RUN apt-get install -y g++ xfonts-utils xfonts-utils xfonts-utils xsltproc default-jre libgettextpo-dev
VOLUME /LibreELEC.tv
# Copy build_script
COPY build_script.sh .
RUN chmod +x build_script.sh
# Run script
CMD ["./build_script.sh"]And this is the simple build_script.sh
Bash
		
					
				#!/bin/bash
# Get LibreELEC source
git clone https://github.com/LibreELEC/LibreELEC.tv.git
# Build
cd LibreELEC.tv
PROJECT=RPi2 ARCH=arm tools/download-tool
PROJECT=RPi2 ARCH=arm make image
# Clean up
make cleanMaybe someone knows what I'm doing wrong and can point out my mistake 
Thanks
S.
 
		