You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

60 lines
2.6 KiB

Index: src/github.com/tsuru/tsuru/Makefile
--- src/github.com/tsuru/tsuru/Makefile.orig 2019-05-01 23:42:24.000000000 +0200
+++ src/github.com/tsuru/tsuru/Makefile 2019-05-05 16:58:12.219642000 +0200
@@ -120,7 +120,7 @@
tsurud: $(TSR_BIN)
$(TSR_BIN):
- go build -o $(TSR_BIN) $(TSR_SRC)
+ go build -v -o $(TSR_BIN) $(TSR_SRC)
run-tsurud-api: $(TSR_BIN)
$(TSR_BIN) api
Index: src/github.com/tsuru/tsuru/vendor/github.com/docker/docker/pkg/archive/archive_unix.go
--- src/github.com/tsuru/tsuru/vendor/github.com/docker/docker/pkg/archive/archive_unix.go.orig 2019-05-01 23:42:24.000000000 +0200
+++ src/github.com/tsuru/tsuru/vendor/github.com/docker/docker/pkg/archive/archive_unix.go 2019-05-05 16:58:12.219790000 +0200
@@ -62,7 +62,7 @@
s, ok := stat.(*syscall.Stat_t)
if ok {
- inode = s.Ino
+ inode = uint64(s.Ino)
}
return
Index: src/github.com/tsuru/tsuru/vendor/github.com/docker/docker/pkg/archive/changes_unix.go
--- src/github.com/tsuru/tsuru/vendor/github.com/docker/docker/pkg/archive/changes_unix.go.orig 2019-05-01 23:42:24.000000000 +0200
+++ src/github.com/tsuru/tsuru/vendor/github.com/docker/docker/pkg/archive/changes_unix.go 2019-05-05 16:58:12.219901000 +0200
@@ -29,7 +29,7 @@
}
func getIno(fi os.FileInfo) uint64 {
- return fi.Sys().(*syscall.Stat_t).Ino
+ return uint64(fi.Sys().(*syscall.Stat_t).Ino)
}
func hasHardlinks(fi os.FileInfo) bool {
Index: src/github.com/tsuru/tsuru/vendor/github.com/docker/docker/pkg/mount/mountinfo_freebsd.go
--- src/github.com/tsuru/tsuru/vendor/github.com/docker/docker/pkg/mount/mountinfo_freebsd.go.orig 2019-05-01 23:42:24.000000000 +0200
+++ src/github.com/tsuru/tsuru/vendor/github.com/docker/docker/pkg/mount/mountinfo_freebsd.go 2019-05-05 16:58:12.220017000 +0200
@@ -37,7 +37,7 @@
if filter != nil {
// filter out entries we're not interested in
- skip, stop = filter(p)
+ skip, stop = filter(&mountinfo)
if skip {
continue
}
Index: src/github.com/tsuru/tsuru/vendor/github.com/docker/docker/pkg/system/mknod.go
--- src/github.com/tsuru/tsuru/vendor/github.com/docker/docker/pkg/system/mknod.go.orig 2019-05-01 23:42:24.000000000 +0200
+++ src/github.com/tsuru/tsuru/vendor/github.com/docker/docker/pkg/system/mknod.go 2019-05-05 17:04:17.075425000 +0200
@@ -9,7 +9,7 @@
// Mknod creates a filesystem node (file, device special file or named pipe) named path
// with attributes specified by mode and dev.
func Mknod(path string, mode uint32, dev int) error {
- return unix.Mknod(path, mode, dev)
+ return unix.Mknod(path, mode, uint64(dev))
}
// Mkdev is used to build the value of linux devices (in /dev/) which specifies major