1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

Multi-arch build

Currently, for amd64 (the default) and arm.
Run `dapper make ARCH=arm rootfs` to build rootfs.tar.gz for arm.
This commit is contained in:
Ivan Mikushin
2016-01-15 18:18:30 +05:00
parent 3a0aebe738
commit 2f27271a2c
18 changed files with 531 additions and 73 deletions

View File

@@ -1,7 +1,6 @@
package init
import (
"os"
"syscall"
"fmt"
@@ -61,7 +60,7 @@ func stopDocker(c chan interface{}) error {
c <- struct{}{}
<-c
return os.RemoveAll(config.DOCKER_SYSTEM_HOME)
return nil
}
func bootstrap(cfg *config.CloudConfig) error {