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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user