mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 23:16:31 +00:00
Export cache to external (#18)
* Update .dockerignore * Update .dockerignore * Delete .gitignore * Update ova_defconfig * Update enter.sh * Fix cache
This commit is contained in:
parent
3a5d2de705
commit
5b3eb8cc7e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
buildroot/ccache
|
|
@ -1,6 +1,7 @@
|
|||||||
BR2_x86_64=y
|
BR2_x86_64=y
|
||||||
|
BR2_DL_DIR="/cache/dl"
|
||||||
BR2_CCACHE=y
|
BR2_CCACHE=y
|
||||||
BR2_CCACHE_DIR="$(TOPDIR)/ccache"
|
BR2_CCACHE_DIR="/cache/cc"
|
||||||
BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/ova/patches"
|
BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/ova/patches"
|
||||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||||
BR2_GCC_VERSION_7_X=y
|
BR2_GCC_VERSION_7_X=y
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
modprobe overlayfs
|
modprobe overlayfs
|
||||||
|
|
||||||
docker build -t hassbuildroot .
|
docker build -t hassbuildroot .
|
||||||
docker run -it --rm --privileged -v "$(pwd):/build" hassbuildroot bash
|
docker run -it --rm --privileged -v $(pwd):/build -v ${CACHE_DIR:=~/hassos-cache}:/cache hassbuildroot bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user