Commit Graph

32 Commits

Author SHA1 Message Date
Justin Cormack
d104845bbd vendor pinata specific tools for now, until they are standalone packages
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-09 15:33:50 +00:00
Justin Cormack
5951f8f541 add copy of xhyve for easy testing on Mac
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-08 16:32:19 +00:00
Justin Cormack
4a5528a0cc redo mkinitrd.sh to not use volumes
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-08 14:48:27 +00:00
Justin Cormack
f3f60f724e make chronyd start after docker as it is slow starting
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 19:28:52 +00:00
Justin Cormack
aaf77645b8 fix docker startup
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 19:19:50 +00:00
Justin Cormack
2abe0d8f1b fix backslashes in /etc/issue and add a motd back
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 18:48:51 +00:00
Justin Cormack
4bed07d9d0 customise issue not motd
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 18:26:48 +00:00
Justin Cormack
5d013ba4b3 Moby now runs Docker
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 18:14:17 +00:00
Justin Cormack
f2fb098e22 vendor upstream sysfs init
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 17:14:13 +00:00
Justin Cormack
337490aba6 start more services, possibly too many
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 17:13:06 +00:00
Justin Cormack
64077e4e0a bring up networking
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 16:29:00 +00:00
Justin Cormack
02dbabaec4 Configure network and timezone
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 15:54:54 +00:00
Justin Cormack
64d021de19 fix up files that Docker bind mounts in so they are not set to desired values
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 15:43:39 +00:00
Justin Cormack
73a8e3e1b0 create device nodes in initrd
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-06 13:33:22 +00:00
Dave Scott
8f71683887 Merge pull request #3 from djs55/b2d-fix
boot2docker: use `docker run -i` to get output from tar
2015-12-04 15:17:25 +00:00
David Scott
6e286e243b Regenerate initrd.img
Signed-off-by: David Scott <dave.scott@unikernel.com>
2015-12-04 15:16:28 +00:00
David Scott
e9ce497963 boot2docker: use docker run -i to get output from tar
Signed-off-by: David Scott <dave.scott@unikernel.com>
2015-12-04 15:06:17 +00:00
Dave Scott
e5794cb595 Merge pull request #2 from djs55/remove-ntp
boot2docker: remove ntp, sync with host clock every hour
2015-12-03 22:08:00 +00:00
David Scott
e9fe65762c boot2docker: regenerate initrd.img
Signed-off-by: David Scott <dave.scott@unikernel.com>
2015-12-03 20:59:44 +00:00
David Scott
e61f5414ca boot2docker: remove ntp, sync with host clock every hour
For filesharing to work properly the VM and host clocks should be in-sync,
even if the host clock has drifted relative to a good external timesource.

This patch removes ntp from the VM and replaces it with an hourly
sync with the VM's RTC which is plumbed into `gmtime`/`localtime`
in `xhyve`.

Fixes [docker/pinata#229]

Signed-off-by: David Scott <dave.scott@unikernel.com>
2015-12-03 20:56:58 +00:00
Justin Cormack
4b626fdd41 clean up override files, add inittab
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-02 12:50:06 +00:00
Justin Cormack
d4419dd94c link /init so kernel will boot as initramfs
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-02 11:57:48 +00:00
Justin Cormack
e2188acbbb Add a (non modular) upstream kernel build, for pinata alpha and general testing
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-02 10:17:51 +00:00
Justin Cormack
7e5df28c43 busybox cpio is fine
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-01 16:12:27 +00:00
Justin Cormack
e235d035a5 small Alpine Linux install with Docker as next step toward replacing boot2docker
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-01 15:59:10 +00:00
Justin Cormack
32e3ac79a6 remove pinata specific build changes
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-11-30 15:08:48 +00:00
Dave Scott
8ffec9031c Merge pull request #1 from djs55/9p2000.u
boot2docker: mount the /Mac as 9p2000.u
2015-11-29 16:48:22 +00:00
David Scott
35eca866de boot2docker: mount the /Mac as 9p2000.u
This is needed for symlinks to work properly.

Signed-off-by: David Scott <dave.scott@unikernel.com>
2015-11-29 16:45:37 +00:00
Justin Cormack
cfa7f48c17 move temporary build artefacts to top of tree
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-11-27 12:29:02 +00:00
Justin Cormack
8bfce23f7e temporarily add built binaries for pinata alpha
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-11-27 11:46:57 +00:00
Justin Cormack
5b99c08596 add pinata modified boot2docker until replaced by real Moby
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-11-27 11:46:27 +00:00
Justin Cormack
0fa1e68dc6 Initial requirements
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-11-26 15:17:40 +00:00