aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorneonloop2021-03-06 16:38:07 +0000
committerneonloop2021-03-06 16:50:11 +0000
commit4ad5efd6071cefe6cc813d5d6b38869b54a44eaf (patch)
treeb81585e8a40fe4d01fa20c25064e73748e17cb97 /Dockerfile
parent9428d4c280242235a952cbeb985f9af79f6306fe (diff)
downloadtrimui-toolchain-4ad5efd6071cefe6cc813d5d6b38869b54a44eaf.tar.gz
trimui-toolchain-4ad5efd6071cefe6cc813d5d6b38869b54a44eaf.tar.bz2
trimui-toolchain-4ad5efd6071cefe6cc813d5d6b38869b54a44eaf.zip
Stops extracting rootfs and puts extra files in the sysroot
trimui rootfs only contains .so files, not that helpful for development. The script is still useful, so it moves to utils. Extra libs and headers can now be put into `./extras` and are moved into `sysroot/usr` during the build process.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 2e1df97..7fb7e1e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -63,11 +63,12 @@ COPY *.patch .
RUN for patch in *.patch; do patch -p0 < $patch; done
RUN make
+
WORKDIR /home/trimui
-COPY extract_rootfs.sh .
-RUN ./extract_rootfs.sh
-RUN mkdir -p $BUILDROOT_SYSROOT/usr && cp -R trimui_rootfs/usr/trimui $BUILDROOT_SYSROOT/usr/trimui
+COPY extras extras
+
+RUN rsync -av extras/* $BUILDROOT_SYSROOT/usr/
VOLUME /home/trimui/workspace
WORKDIR /home/trimui/workspace