Files
ForceArchCTBuilder/buildDistroBuilder.sh
2023-10-01 19:45:51 +02:00

17 lines
325 B
Bash

#!/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