runc-1.1.4
This commit is contained in:
@@ -12,31 +12,35 @@ from pisi.actionsapi import get
|
|||||||
|
|
||||||
#shelltools.export("GOPATH", "%s" % get.curDIR())
|
#shelltools.export("GOPATH", "%s" % get.curDIR())
|
||||||
shelltools.export("DOCKER_BUILDTAGS","seccomp")
|
shelltools.export("DOCKER_BUILDTAGS","seccomp")
|
||||||
shelltools.export("COMMIT","52b36a2")
|
shelltools.export("COMMIT"," 5fd4c4d")
|
||||||
shelltools.export("BINDIR","/usr/bin")
|
shelltools.export("BINDIR","/usr/bin")
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.cd("%s" % get.workDIR())
|
shelltools.cd("%s" % get.workDIR())
|
||||||
shelltools.move("runc-*", "runc")
|
# shelltools.move("runc-*", "runc")
|
||||||
|
|
||||||
shelltools.cd("runc")
|
# shelltools.cd("runc")
|
||||||
#shelltools.move("vendor", "src")
|
#shelltools.move("vendor", "src")
|
||||||
|
|
||||||
shelltools.export("GOPATH", "%s" % get.workDIR())
|
shelltools.export("GOPATH", "%s" % get.workDIR())
|
||||||
|
|
||||||
shelltools.makedirs("src/github.com/opencontainers")
|
shelltools.makedirs("%s/src/github.com/opencontainers/runc" % get.workDIR())
|
||||||
shelltools.cd("src/github.com/opencontainers")
|
# shelltools.cd("src/github.com/opencontainers")
|
||||||
|
|
||||||
shelltools.system("ln -rsf %s/runc ./runc" % get.workDIR())
|
# shelltools.system("ln -rsf %s/runc ./runc" % get.workDIR())
|
||||||
|
|
||||||
|
shelltools.copy("%s/runc-%s/*" % (get.workDIR(), get.srcVERSION()), "%s/src/github.com/opencontainers/runc/" % get.workDIR())
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
shelltools.cd("%s/runc/src/github.com/opencontainers/runc" % get.workDIR())
|
# shelltools.cd("%s" % get.workDIR())
|
||||||
|
shelltools.cd("%s/src/github.com/opencontainers/runc" % get.workDIR())
|
||||||
build_runc = "make GOPATH=/runc COMMIT=52b36a2"
|
|
||||||
|
build_runc = "make GOPATH=/runc COMMIT=5fd4c4d"
|
||||||
|
|
||||||
shelltools.system(build_runc)
|
shelltools.system(build_runc)
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
|
shelltools.cd("%s/src/github.com/opencontainers/runc" % get.workDIR())
|
||||||
pisitools.dobin("runc")
|
pisitools.dobin("runc")
|
||||||
|
|
||||||
# symlink containerd/run (nice integration with docker)
|
# symlink containerd/run (nice integration with docker)
|
||||||
|
|||||||
@@ -11,9 +11,9 @@
|
|||||||
<License>Apache-2.0</License>
|
<License>Apache-2.0</License>
|
||||||
<Summary>container cli tools</Summary>
|
<Summary>container cli tools</Summary>
|
||||||
<Description>CLI tool for managing OCI compliant containers</Description>
|
<Description>CLI tool for managing OCI compliant containers</Description>
|
||||||
<Archive sha1sum="3a0bb2a9506981b5a2204fb1591afc827ecaeb45" type="targz">https://github.com/opencontainers/runc/archive/refs/tags/v1.0.2.tar.gz</Archive>
|
<Archive sha1sum="fb65327930c41c8ec016badd6738bef83b556aed" type="targz">https://github.com/opencontainers/runc/archive/refs/tags/v1.1.4.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency versionFrom="1.10.3">golang</Dependency>
|
<Dependency versionFrom="1.19.1">golang</Dependency>
|
||||||
<Dependency>libseccomp-devel</Dependency>
|
<Dependency>libseccomp-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
</Source>
|
</Source>
|
||||||
@@ -30,6 +30,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="7">
|
||||||
|
<Date>2022-09-14</Date>
|
||||||
|
<Version>1.1.4</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="6">
|
<Update release="6">
|
||||||
<Date>2021-09-02</Date>
|
<Date>2021-09-02</Date>
|
||||||
<Version>1.0.2</Version>
|
<Version>1.0.2</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user