Skip to content

Commit

Permalink
Completed Dockerfile for build and fixed several bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoguerri committed Jun 4, 2019
1 parent ef95a29 commit 5b3a1b1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,12 @@ RUN cd $HOME && \
git clone https://github.com/marcoguerri/meta-thirtyd


ARG oe_home=/home/dev
COPY local.conf $oe_home/openembedded/openembedded-core/build/conf/local.conf
COPY bblayers.conf $oe_home/openembedded/openembedded-core/build/conf/bblayers.conf
ARG home=/home/dev
COPY local.conf $home/openembedded/openembedded-core/build/conf/local.conf
COPY bblayers.conf $home/openembedded/openembedded-core/build/conf/bblayers.conf

RUN virtualenv -p /usr/bin/python2.7 $HOME/p27
RUN . ./$home/p27/bin/activate && \
cd $home/openembedded/openembedded-core && \
. ./oe-init-build-env && \
bitbake core-image-minimal
1 change: 1 addition & 0 deletions bblayers.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ BBLAYERS ?= " \
/home/dev/openembedded/meta-openembedded/meta-networking \
/home/dev/openembedded/meta-openembedded/meta-python \
/home/dev/openembedded/meta-openembedded/meta-webserver \
/home/dev/openembedded/meta-raspberrypi \
/home/dev/openembedded/meta-thirtyd/ \
"
2 changes: 1 addition & 1 deletion local.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#MACHINE ?= "qemux86-64"
#
# This sets the default machine to be qemux86 if no other machine is selected:
MACHINE ??= "raspberripi2"
MACHINE ??= "raspberrypi2"
DISTRO="thirtyd"

#
Expand Down

0 comments on commit 5b3a1b1

Please sign in to comment.