mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-24 13:36:31 +00:00
Fix pathing and add support for make graph-build
This commit is contained in:
parent
1922d16073
commit
7d509f8b96
@ -11,7 +11,7 @@ RUN wget https://buildroot.org/downloads/buildroot-2017.11.1.tar.gz
|
||||
RUN tar xvzf buildroot-2017.11.1.tar.gz
|
||||
|
||||
# Get build requirements
|
||||
RUN apt-get install -y patch cpio python unzip rsync bc bzip2 ncurses-dev git make g++
|
||||
RUN apt-get install -y patch cpio python unzip rsync bc bzip2 ncurses-dev git make g++ python-matplotlib python-numpy
|
||||
|
||||
# Download all the required files
|
||||
COPY vm/buildroot.config /buildroot/buildroot-2017.11.1/.config
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
DID=$(sudo docker ps | grep "hassbuildroot" | awk '{ print $1 }')
|
||||
docker cp $DID:/buildroot/buildroot-2017.11.1/.config ~/hassbuild/vm/buildroot.config
|
||||
docker cp $DID:/buildroot/buildroot-2017.11.1/linux.config ~/hassbuild/vm/linux.config
|
||||
docker cp $DID:/buildroot/buildroot-2017.11.1/.config vm/buildroot.config
|
||||
docker cp $DID:/buildroot/buildroot-2017.11.1/linux.config vm/linux.config
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
mkdir -p output
|
||||
DID=$(sudo docker ps | grep "hassbuildroot" | awk '{ print $1 }')
|
||||
docker cp $DID:/buildroot/buildroot-2017.11.1/output/images/rootfs.iso9660 ~/hassbuild/output/rootfs.iso
|
||||
|
||||
docker cp $DID:/buildroot/buildroot-2017.11.1/output/images/rootfs.iso9660 output/rootfs.iso
|
||||
docker cp $DID:/buildroot/buildroot-2017.11.1/output/graphs output/graphs
|
||||
|
Loading…
x
Reference in New Issue
Block a user