Commit Graph

45 Commits

Author SHA256 Message Date
Jordi Massaguer
bb31ae7e18 Accepting request 616531 from home:dcassany:branches:Virtualization:containers
- Make use of %license macro

OBS-URL: https://build.opensuse.org/request/show/616531
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=63
2018-06-13 15:25:29 +00:00
Valentin Rothberg
ce055b46c7 Accepting request 614149 from home:cyphar:containers:remove_check_section
- Remove 'go test' from %check section, as it has only ever caused us problems
  and hasn't (as far as I remember) ever caught a release-blocking issue. Smoke
  testing has been far more useful. boo#1095817

OBS-URL: https://build.opensuse.org/request/show/614149
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=61
2018-06-05 07:46:42 +00:00
Aleksa Sarai
bbfd719f9c Accepting request 580739 from home:cyphar:containers:runc_rc5
- Upgrade to runc v1.0.0~rc5. Upstream changelog is available from
  https://github.com/opencontainers/runc/releases/tag/v1.0.0-rc5
- Remove patch now merged upstream.
  - bsc1053532-0001-makefile-drop-usage-of-install.patch

OBS-URL: https://build.opensuse.org/request/show/580739
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=59
2018-02-27 17:41:09 +00:00
Aleksa Sarai
4a233a5c6e Accepting request 517286 from home:cyphar:containers:runc_use_signed_archive
- Use .tar.xz provided by upstream, as well as include the keyring to allow
  full provenance of the source.

OBS-URL: https://build.opensuse.org/request/show/517286
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=57
2017-08-19 13:24:20 +00:00
Aleksa Sarai
74ea12c88b Accepting request 517264 from home:cyphar:containers:bsc1053532
- Use the upstream Makefile, to ensure that we always include the version and
  commit information in runc. This was confusing users (and Docker).
  bsc#1053532
- Add a backported patch to fix a Makefile bug. This also includes some other
  changes to make the docker-runc.spec mirror the newer runc.

OBS-URL: https://build.opensuse.org/request/show/517264
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=55
2017-08-16 19:16:32 +00:00
Aleksa Sarai
d38ef74d50 Accepting request 516116 from home:cyphar:containers:runc_update_rc4
- Update to runc v1.0.0-rc4. Upstream changelog:
	+ runc now supports v1.0.0 of the OCI runtime specification. #1527
	+ Rootless containers support has been released. The current state of
	  this feature is that it only supports single-{uid,gid} mappings as an
	  unprivileged user, and cgroups are completely unsupported. Work is
	  being done to improve this. #774
	+ Rather than relying on CRIU version nnumbers, actually check if the
	  system supports pre-dumping. #1371
	+ Allow the PIDs cgroup limit to be updated. #1423
	+ Add support for checkpoint/restore of containers with orphaned PTYs
	  (which is effectively all containers with terminal=true). #1355
	+ Permit prestart hooks to modify the cgroup configuration of a
	  container. #1239
	+ Add support for a wide variety of mount options. #1460
	+ Expose memory.use_hierarchy in MemoryStats. #1378
	* Fix incorrect handling of systems without the freezer cgroup. #1387
	* Many, many changes to switch away from Go's "syscall" stdlib to
	  "golang.org/x/sys/unix". #1394 #1398 #1442 #1464 #1467 #1470 #1474
	  #1478 #1491 #1482 #1504 #1519 #1530
	* Set cgroup resources when restoring a container. #1399
	* Switch back to using /sbin as the installation directory. #1406
	* Remove the arbitrary container ID length restriction. #1435
	* Make container force deletion ignore non-existent containers. #1451
	* Improve handling of arbitrary cgroup mount locations when populating
	  cpuset. #1372
	* Make the SaneTerminal interface public. #1479
	* Fix cases where runc would report a container to be in a "Running"
	  state if the init was a zombie or dead. #1489
	* Do not set supplementary groups for numeric users. #1450
	* Fix various issues with the "owner" field in runc-list. #1516
	* Many other miscellaneous fixes, some of which were made by first-time
	  contributors. Thanks, and welcome to the project! #1406 #1400 #1365
	  #1396 #1402 #1414 #1412 #1408 #1418 #1425 #1428 #1436 #1433 #1438
	  #1410 #1447 #1388 #1484 #1481 #1496 #1245 #1524 #1534 #1526 #1533
	- Remove any semblance of non-Linux support. #1502
	- We no longer use shfmt for testing. #1510

OBS-URL: https://build.opensuse.org/request/show/516116
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=54
2017-08-11 13:51:29 +00:00
Aleksa Sarai
438ec77e8c - Use -buildmode=pie for tests and binary build. bsc#1048046 bsc#1051429
This also includes some various improvements to the packaging of runc,
containerd and docker-runc.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=53
2017-08-11 12:10:02 +00:00
Thomas Hipp
030004095c Accepting request 508797 from home:thipp:branches:Virtualization:containers
- switch to opencontainers/runc master branch
- remove CVE-2016-9962.patch 
- stop providing docker-runc

OBS-URL: https://build.opensuse.org/request/show/508797
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=51
2017-07-10 11:39:32 +00:00
Jordi Massaguer
e9cd9305f4 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=49 2017-05-04 19:02:51 +00:00
Jordi Massaguer
8d8fed71b3 Accepting request 492509 from home:jordimassaguerpla:branch:V:c:fix_golang_req
- fix golang requirement to 1.7

OBS-URL: https://build.opensuse.org/request/show/492509
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=48
2017-05-04 18:33:34 +00:00
Jordi Massaguer
02fcbee273 Accepting request 491891 from home:jengelh:branches:Virtualization:containers
- Substitute %__-type macro indirections

OBS-URL: https://build.opensuse.org/request/show/491891
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=47
2017-04-28 16:29:38 +00:00
Jordi Massaguer
871ab3a54c OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=46 2017-04-20 10:54:06 +00:00
Jordi Massaguer
dd30b50950 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=45 2017-04-20 10:25:40 +00:00
Aleksa Sarai
b0463e5979 Accepting request 487271 from home:jordimassaguerpla:branch:V:c:runc:ignore_cgroup_v2_mountpoints
- fix bsc#1028113 - runc: make sure to ignore cgroup v2 mountpoints

OBS-URL: https://build.opensuse.org/request/show/487271
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=41
2017-04-11 09:56:51 +00:00
Aleksa Sarai
b55f5ac831 Accepting request 461897 from home:jordimassaguerpla:branch:Vc:update_docker_1_13
- update to docker-1.13.0 requirement

OBS-URL: https://build.opensuse.org/request/show/461897
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=39
2017-03-05 03:07:20 +00:00
Jordi Massaguer
0de2bc6731 Accepting request 450530 from home:jordimassaguerpla:branch:Vc:runc:fix_CVE_name
OBS-URL: https://build.opensuse.org/request/show/450530
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=37
2017-01-16 15:08:31 +00:00
Aleksa Sarai
6c28b7232c OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=36 2017-01-13 17:01:54 +00:00
Aleksa Sarai
4199169c81 Accepting request 447963 from home:jordimassaguerpla:branch:Vc:fix_runc_symlink
OBS-URL: https://build.opensuse.org/request/show/447963
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=34
2016-12-28 10:08:10 +00:00
Aleksa Sarai
88553395ee Accepting request 447318 from home:jordimassaguerpla:branch:V:c:fix_runc_symlink
- add symlink to docker-runc in the post section, as this is how it
  has been already fixed for some client. fixes bsc#1015661

OBS-URL: https://build.opensuse.org/request/show/447318
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=33
2016-12-21 16:38:17 +00:00
Jordi Massaguer
020aaf5db9 fix version
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=32
2016-12-19 17:41:49 +00:00
Aleksa Sarai
9547577941 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=31 2016-12-19 14:01:37 +00:00
Aleksa Sarai
0017b9024f Accepting request 446750 from home:jordimassaguerpla:branch:Vc:runc_symlink_docker_runc
- add the /usr/bin/docker-run symlink to partially fix bsc#1015661

OBS-URL: https://build.opensuse.org/request/show/446750
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=30
2016-12-19 08:39:07 +00:00
Jordi Massaguer
e7756c519f Accepting request 441846 from home:jordimassaguerpla:branch:Vc:fix_runc_and_containerd_versioning
- fix version by adding a revision "counter" so that it will always
  increase
  fix bsc#1009961

OBS-URL: https://build.opensuse.org/request/show/441846
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=28
2016-11-24 12:49:13 +00:00
Jordi Massaguer
5a4d9c570e OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=27 2016-10-24 10:56:10 +00:00
Jordi Massaguer
6488c6af8b Accepting request 429757 from home:jengelh:branches:Virtualization:containers
- Run fdupes.

OBS-URL: https://build.opensuse.org/request/show/429757
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=25
2016-09-23 14:37:04 +00:00
Aleksa Sarai
b5b7e65723 Accepting request 428672 from home:jordimassaguerpla:branch:V:c:fix_go_arches_def
- fix go_arches definition: use global instead of define, otherwise
  it fails to build

OBS-URL: https://build.opensuse.org/request/show/428672
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=23
2016-09-19 12:08:36 +00:00
Jordi Massaguer
094919e13c Accepting request 422801 from home:cyphar:branches:Virtualization:containers
Removes the docker-runc symlink, since that's been fixed as part of sr#422714

OBS-URL: https://build.opensuse.org/request/show/422801
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=22
2016-08-26 10:03:29 +00:00
Christian Brauner
820371af3d Accepting request 422238 from home:jordimassaguerpla:branch:Vc:symlink_runc
- Create a symlink /usr/sbin/docker-runc -> /usr/sbin/docker
  Docker expects this symlink to exist

OBS-URL: https://build.opensuse.org/request/show/422238
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=21
2016-08-25 17:13:43 +00:00
Christian Brauner
7bf8489ba5 Accepting request 422163 from home:jordimassaguerpla:branch:Vc:gcc_fails_with_GOPATH_empty
- Remove GOPATH at the end of the GOPATH assignment
  cause GOPATH is empty and if we do that, we get the path ""
  appended, which causes gcc6-go to complain

OBS-URL: https://build.opensuse.org/request/show/422163
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=20
2016-08-25 16:01:03 +00:00
Christian Brauner
e53118531b Accepting request 421922 from home:jordimassaguerpla:branch:V:c:fix_go_arches_definition
fix the go_arches definition

OBS-URL: https://build.opensuse.org/request/show/421922
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=19
2016-08-25 13:46:46 +00:00
Christian Brauner
c5cc4c7486 Accepting request 421771 from home:jordimassaguerpla:branch:Vc:add_version_unconverted_back
add version_unconverted back

OBS-URL: https://build.opensuse.org/request/show/421771
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=18
2016-08-24 15:03:48 +00:00
Christian Brauner
324f3b2a37 Accepting request 421574 from home:jordimassaguerpla:branch:V:c:add_go_arches_in_prjconf
- add go_arches in project configuration: this way, we can use the
  same spec file but decide in the project configuration if to
  use gc-go or gcc-go for some archs.

OBS-URL: https://build.opensuse.org/request/show/421574
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=17
2016-08-24 12:34:21 +00:00
Christian Brauner
80b6776c0c Accepting request 421318 from Virtualization:containers:1.12-RC
- use gcc6-go instead of gcc5-go (bsc#988408) 
- build ppc64le with gc-go because this version builds with gc-go 1.6

- bump git commit id to the one required by docker v1.12.0 (bsc#995058)
- run unit tests during package build
- remove seccomp-use-pkg-config.patch
  The patch is now upstream.
- remove GO_BUILD_FLAGS macro and substitute with BUILDFLAGS env variable to
  allow for easier string appending.
- only run unit test on architectures that provide the go list and go test tools

OBS-URL: https://build.opensuse.org/request/show/421318
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=16
2016-08-23 15:12:47 +00:00
Jordi Massaguer
e7b7a14f01 Accepting request 419728 from home:chbrauner:branches:Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/419728
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=14
2016-08-17 10:45:55 +00:00
Jordi Massaguer
9fe93280f8 update changelog with fate#
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=12
2016-07-20 08:35:48 +00:00
Jordi Massaguer
56bf2c12a3 add bug number for docker 1.11.2
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=11
2016-07-19 15:34:55 +00:00
Aleksa Sarai
a12bb1c1f9 * Remove empty %postun and %post sections.
* Update to runC 0.1.1. Changelog from upstream:
  This release includes a bug fix for adding the selinux mount label in the specification.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=9
2016-04-29 09:35:10 +00:00
Aleksa Sarai
04a7b71def * Don't use gcc-go for aarch64, since gc has grown support for it and is more
stable.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=8
2016-04-19 10:00:18 +00:00
Aleksa Sarai
a87ab48f4c * Disable seccomp entirely for aarch64 builds, since it is not provided on all
SUSE platforms.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=7
2016-04-15 10:47:01 +00:00
Aleksa Sarai
3ad6412212 * Update to runC 0.1.0. Changelog from upstream:
This release updates runc to the OCI runtime specification v0.5.0 and includes
  various fixes and features.

  Features:
  + cgroups: pid limits and stats
  + cgroups: kmem stats
  + systemd cgroup support
  + libcontainer specconv package
  + no pivot root option
  + numeric ids are treated as uid/gid
  + hook improvements

  Bug Fixes:
  * log flushing
  * atomic pid file creation
  * init error recovery
  * seccomp logging removed
  * delete container on aborted start
  * /dev bind mount handling

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=6
2016-04-13 12:11:46 +00:00
Aleksa Sarai
3454b32f47 * Install to /usr/sbin. https://github.com/opencontainers/runc/pull/702
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=5
2016-03-30 14:18:58 +00:00
Aleksa Sarai
bb5d97f8a5 * Added runC man pages.
* Recommended criu, since it's required for the checkpoint and restore
  functionality.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=4
2016-03-27 15:19:30 +00:00
Aleksa Sarai
458b6a1436 * Small updates to method of compilation to better match Makefile.
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=3
2016-03-27 10:15:05 +00:00
Aleksa Sarai
d0e8967175 * Make compilation work on gcc-go only systems (ppc and s390).
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=2
2016-03-21 12:15:39 +00:00
Aleksa Sarai
47eb55f8be * initial import of runC 0.0.9
* add patch seccomp-use-pkg-config.patch which allows us to build runC, since
  they assume that the seccomp.h file lives at /usr/include/seccomp.h.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=1
2016-03-21 08:36:29 +00:00