Intital commit
This commit is contained in:
16
buildDistroBuilder.sh
Normal file
16
buildDistroBuilder.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
cd "$( cd "$( dirname "$0" )" &> /dev/null && pwd )"
|
||||
|
||||
#Get Distrobuilder
|
||||
git clone https://github.com/lxc/distrobuilder distrobuilderSRC
|
||||
cd distrobuilderSRC
|
||||
|
||||
#Apply patch
|
||||
git apply ../DisableArchitectureMapping.patch
|
||||
|
||||
#Run Build for Build
|
||||
gofmt -s -w .
|
||||
go build -o ../ -v ./...
|
||||
|
||||
rm -rf distrobuilderSRC
|
||||
mkdir out
|
||||
Reference in New Issue
Block a user