Ian Campbell
c41f680f7d
kernel: Update vsock patches to RFC v6
...
Series is at <1469716595-13591-1-git-send-email-stefanha@redhat.com >.
This corresponds to v7 of the spec, posted in
<1470324277-19300-1-git-send-email-stefanha@redhat.com >
Also add a "cherry-picked from" to the "vsock: make listener child lock
ordering explicit" patch and move it to the head of the series with the other
vsock backports.
Finally backport three new upstream fixes:
3fda5d6e5801 vhost/vsock: fix vhost virtio_vsock_pkt use-after-free
28ad55578b8a virtio-vsock: fix include guard typo
21bc54fc0cdc vhost/vsock: drop space available check for TX vq
These were made on top of the version of the vsock patches which were added to
Linux master in v4.8-rc1. This commit is based on the email posting, will
replace with with proper cherry-pick separately.
Requires corresponding backend changes in Hyperkit
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2016-09-14 10:03:10 +01:00
Justin Cormack
34c98991e3
run tests with only alpine image, not nginx to make faster
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-13 23:21:44 +01:00
Justin Cormack
f19a699715
Add support for running a development bundle of Docker
...
Add a database key `bundle` that contains a path to a Docker dev
bundle eg `/.../docker/bundles/1.13.0-dev` where the docker
binaries to run can be found. This will be paired with a script
in `docker/docker` to set this key, so users can easily help
contribute to Docker development.
The change will be permanent until the key is removed or a factory
reset is done, or the bundle cannot be found.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-13 22:46:27 +01:00
Justin Cormack
a6fc00e41b
fix kernel build missing arch
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-13 22:30:26 +01:00
Justin Cormack
ebf68dd7d7
Merge pull request #503 from justincormack/make-circular
...
fix dependency loop
2016-09-13 22:19:36 +01:00
Justin Cormack
afef0e079a
Merge pull request #502 from justincormack/kernel-make
...
Clean up kernel Makefile
2016-09-13 22:18:39 +01:00
Justin Cormack
1e0f7dee31
fix dependency loop
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-13 22:14:49 +01:00
Justin Cormack
99dcbdf322
Rework kernel Makefile
...
Do not delete build container on `make clean`, as it should be fine
to reuse cached layers.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-13 21:49:14 +01:00
Justin Cormack
76722caae7
Merge pull request #501 from kencochrane/cloud-clean
...
Added ability to make ami-clean-mount to clean up AMI volume mount
2016-09-13 21:26:48 +01:00
Ken Cochrane
0f7daa08c3
Added ability to make ami-clean-mount to clean up AMI volume mount
...
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com >
2016-09-13 16:22:46 -04:00
Justin Cormack
3665ef0b82
reorder kernel Dockerfile
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-13 21:15:34 +01:00
Justin Cormack
a1f78bf3c9
rm docker container used for binary extraction
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:37:24 +01:00
Justin Cormack
ba40e0a33b
Use a random tag for Debian kernel build base
...
To store all the old images they need a different tag, so use a
random one.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
3d0cd1deca
Use a base image for building kernel
...
As we do not have a simple way to hash Debian, use the Docker
sha256 until we switch to Alpine.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
e0395e9839
Make self hosting by adding make and GNU tar
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
a1299f3d07
simplify vendor tar
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
0a6f4f6bf5
revert to debian for kernel build
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
6594775ef6
make bios iso by default
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
bba6934f22
for release docker binaries we can fetch from docker hub rather than curl, so will be cached
...
Allow override in case docker images not released
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
3f665f5e2a
we never use uncompressed initrd, so always compress
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
fcf47232f7
Set CMD to mkinitrd
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
0ce424ded4
Use our own qemu base image
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
cbbf3f35e3
do not need to delete reproducible images
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
cfcb0db741
reproducible builds for efi and bios isos
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
8646f76ed2
update to latest alpine base images
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
a40ded938c
smaller contexts for efi and bios
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
4a4e755c91
remove broken arm functionality - will rework
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
53d44fb548
clean up main Dockerfile and Makefile to use exact correct context, tar input
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
c51a0b831e
Simplify kernel output and main Dockerfile
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
92642978a1
simplify tar for vendor directory
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
09d2f5dc24
move mkinitrd to /
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
60d6147a0b
use tar for iptables
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
b1597ff9a9
Move all output to the directories it will be in eventually
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
a225fb66b4
build packages in parallel
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
cbd6fc71a1
clean up transfused build
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
82d1126a82
clean up nc-vsock build
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
99e3f92536
move include file
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
a795994b07
clean up 9pmount-vsock build
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
a67d112799
use cc
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
a17e0432f3
remove unused OS=
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
9be5ef0e7b
clean up hvtools build
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
6297dede18
clean up tap-vsockd build process
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
02a76828be
clean up docker Makefile
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
bd9796d093
no longer need OS here
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 15:59:19 +01:00
Justin Cormack
6994e51cac
run with no network
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 15:59:19 +01:00
Justin Cormack
6bef6a6d5f
clean up vsudd build like proxy
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 15:59:19 +01:00
Justin Cormack
9a69c9b84e
remove unused include, it is all in the Go code
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 15:59:19 +01:00
Justin Cormack
cacb93f13d
simplify Dockerfile
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 15:59:19 +01:00
Justin Cormack
b978ea9e79
clean up diagnostics server build
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 15:59:19 +01:00
Justin Cormack
085529ba38
Do not need to use logrus, not using any features of it here.
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 15:59:19 +01:00