Commit Graph

1675 Commits

Author SHA1 Message Date
Justin Cormack
ab5a4b580c update Linux to 4.4.31
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-12 16:30:44 +00:00
Justin Cormack
9f65ddda59 Merge pull request #712 from justincormack/revert-disk-format-change
Revert "Format filesystems earlier, before syslog"
2016-11-12 15:41:11 +00:00
Justin Cormack
b042b5127f Revert "Format filesystems earlier, before syslog"
This reverts commit 4dd5dca106.

Fix #710 where system hangs after klogd startup on AWS. Possibly
also affects Windows too. Still unclear why but lets revert and
continue investif=gating.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-12 15:29:27 +00:00
Justin Cormack
523a4302b7 Merge pull request #706 from justincormack/baseup
Update base image
2016-11-08 21:18:10 +00:00
Justin Cormack
43d956c201 Update base image
- tar update

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-08 21:06:45 +00:00
Justin Cormack
454733e025 Merge pull request #705 from justincormack/kernel-tweaks
Update kernel config
2016-11-08 18:34:59 +00:00
Justin Cormack
2be2b4b08f Merge pull request #683 from nathanleclaire/make_vhd_build_more_bearable
Add support for building smaller Azure VHD for development
2016-11-08 16:26:10 +00:00
Justin Cormack
d81f00b125 Update kernel config
- remove unused graphics options
- move W^X test to debug kernel #685
- reboot on kernel panic fix #660

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-08 16:12:29 +00:00
Justin Cormack
e3169f68d7 Merge pull request #703 from justincormack/move-disk-format
Format filesystems earlier, before syslog
2016-11-08 15:30:53 +00:00
Justin Cormack
9a95224681 Format filesystems earlier, before syslog
So that we can write to /var early, move filesystem formatting as early as possible.

Adds a dummy fsck service, as we already do fsck in format script.

Replaces #535

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-08 15:20:46 +00:00
Justin Cormack
1f0795228e Merge pull request #701 from justincormack/no-lvm2
Remove lvm2 package
2016-11-08 11:08:03 +00:00
Justin Cormack
85fd9a96ae Remove lvm2 package
We have no lvm support, so not needed.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-08 10:48:44 +00:00
Justin Cormack
7153308e49 Merge pull request #700 from justincormack/baseup
Update base image
2016-11-08 10:38:35 +00:00
Justin Cormack
db3be17a84 Remove bind tools
We are not using these anywhere, busybox provides some of them.

Avoids security warnings.

Rework of #684

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-08 10:14:07 +00:00
Justin Cormack
dc8b40f0e1 Update base image
- bind update
- edge packages moved to 3.5

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-08 10:09:10 +00:00
Justin Cormack
3eed70710b Merge pull request #696 from justincormack/media-fix
remove bios media from Dockerfile and add vmlinux
2016-11-07 16:30:24 +00:00
Justin Cormack
0011cee527 remove bios media from Dockerfile and add vmlinux
Fixes `make media`

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-07 16:22:11 +00:00
Justin Cormack
f8a66ec47e Merge pull request #692 from justincormack/vmlinux
Keep vmlinux in build media for kernel debugging
2016-11-07 15:55:31 +00:00
Justin Cormack
8ca9221bf5 Merge pull request #693 from justincormack/smaller-media
Do not include non-efi ISO in media
2016-11-07 14:57:37 +00:00
Justin Cormack
6132c69857 Keep vmlinux in build media for kernel debugging
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-07 14:45:37 +00:00
Justin Cormack
020f0be85e Do not include non-efi ISO in media
We are not using this for editions.

We should be able to make a dual boot ISO, or you can create from the other
artefacts anyway.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-07 14:37:24 +00:00
Justin Cormack
9d9915eb7f Merge pull request #687 from justincormack/curlup
Curl security update
2016-11-06 19:39:30 +00:00
Justin Cormack
218e345136 Curl security update
Upgrade to 7.51, fix the following CVEs

  CVE-2016-7141, CVE-2016-7167, CVE-2016-8615, CVE-2016-8616,
  CVE-2016-8617, CVE-2016-8618, CVE-2016-8619, CVE-2016-8620,
  CVE-2016-8621, CVE-2016-8622, CVE-2016-8623, CVE-2016-8624

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-06 19:32:19 +00:00
Nathan LeClaire
b737435985 Add support for building smaller Azure VHD for development
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-11-04 17:14:33 -07:00
Justin Cormack
f7d275918e Merge pull request #680 from justincormack/diagnostics-mount
Improve matching of mounted drive in diagnostics
2016-11-04 15:24:44 +00:00
Justin Cormack
a7d223768c Improve matching of mounted drive in diagnostics
Was failing on AWS as drive did not match patter that was too precise.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-04 14:09:12 +00:00
Justin Cormack
b6a7546eac Merge pull request #678 from justincormack/checkup
Update check-config script
2016-11-04 09:48:12 +00:00
Justin Cormack
95b62daa5a Update check-config script
Now returns error if checks do not pass.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-04 09:40:15 +00:00
Justin Cormack
a4015f736b Merge pull request #674 from nathanleclaire/migrate_storage_account
Migrate default storage account
2016-11-03 08:55:34 +00:00
Nathan LeClaire
a2278219ef Migrate default storage account
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-11-02 16:30:36 -07:00
Justin Cormack
9512b2fa84 Merge pull request #672 from justincormack/configup
Update check-config script
2016-11-02 21:11:36 +00:00
Nathan LeClaire
56e0bdad03 Merge pull request #579 from justincormack/vhdfix2
Use alpine to do raw2vhd
2016-11-02 13:26:00 -07:00
Justin Cormack
e30acbc517 Merge pull request #670 from justincormack/ipvsadm
Add ipvsadm for debugging
2016-11-02 20:09:07 +00:00
Justin Cormack
3c2e1a6eb9 Merge pull request #671 from justincormack/split-hostsettings
Split out Windows network config from hostsettings
2016-11-02 20:08:12 +00:00
Justin Cormack
1d71d7c3e1 Update check-config script
Now misses the ext3 error messages.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-02 20:05:48 +00:00
Justin Cormack
fed22cee00 Split out Windows network config from hostsettings
On cloud editions eg AWS settings may come from the network, so
we need to move this to after network setup, while the Windows
network config changes need to happen before, so split the init script.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-02 14:49:24 +00:00
Justin Cormack
7c43ec4d01 Add ipvsadm for debugging
Fix #437

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-02 00:10:16 +00:00
Justin Cormack
5120ea2fb3 Merge pull request #668 from justincormack/kernelup
update Linux to 4.4.30
2016-11-01 22:17:08 +00:00
Justin Cormack
5866d4a83b update Linux to 4.4.30
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-01 20:50:12 +00:00
Justin Cormack
9b58a9921b Merge pull request #663 from justincormack/curl-fail
make curl fail on 404
2016-11-01 19:55:55 +00:00
Justin Cormack
f7b9826a66 Merge pull request #666 from justincormack/fsck
fsck filesystem before mount
2016-11-01 16:10:05 +00:00
Justin Cormack
72d1aef471 fsck filesystem before mount
Use fsck -p to fix errors that are fixable.

Note this will recreate the filesystem on fatal errors.

Fix #665

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-01 16:01:08 +00:00
Justin Cormack
50a64ac6c4 make curl fail on 404
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-01 13:58:02 +00:00
Justin Cormack
0f357d2ed5 Merge pull request #662 from justincormack/repeat-ami
Add a base image for building AMIs
2016-11-01 13:47:51 +00:00
Justin Cormack
fbebf2a131 Add a base image for building AMIs
Faster and more repeatable. As the Alpine edge package is not
working, use pip.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-01 13:26:44 +00:00
Justin Cormack
928d9197ee Merge pull request #659 from justincormack/hyperkit-tweak
improve hyperkit build to do sudo in the right place
2016-10-31 16:14:00 +00:00
Justin Cormack
473d0e37c7 improve hyperkit build to do sudo in the right place
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-10-31 16:04:25 +00:00
Justin Cormack
a56ca7fbb1 Merge pull request #658 from justincormack/hyperkit
Add hyperkit build
2016-10-31 15:43:50 +00:00
Justin Cormack
b6c6ec8905 Add hyperkit build
Useful for local performance tests

Fix #443

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-10-31 15:34:56 +00:00
Justin Cormack
805a5fa48a Merge pull request #657 from justincormack/kernelup
Linux 4.4.29
2016-10-31 13:41:41 +00:00