1
0
mirror of https://github.com/rancher/os.git synced 2025-10-20 23:14:30 +00:00

Build for ARM64 on ARM64, installer included

This commit is contained in:
Ivan Mikushin
2016-02-29 17:01:33 -08:00
parent 60d3a828ae
commit 142ec23778
22 changed files with 145 additions and 77 deletions

View File

@@ -3,7 +3,7 @@
package util
/*
#cgo LDFLAGS: -lmount -lblkid -luuid -lselinux
#cgo LDFLAGS: -lmount -lblkid -luuid
#include<blkid/blkid.h>
#include<libmount/libmount.h>
#include<stdlib.h>
@@ -34,10 +34,3 @@ func GetFsType(device string) (string, error) {
}
return "", errors.New("Error while getting fstype")
}
func intToBool(value C.int) bool {
if value == 0 {
return false
}
return true
}