Commit Graph

7624 Commits

Author SHA1 Message Date
Justin Cormack
24ad77edb7 clean up docker start script
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-23 11:35:31 +00:00
Justin Cormack
12e3367f50 clean kernel too
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-22 12:08:07 +00:00
Justin Cormack
d809737426 fix to remove overlay fs left behind on upgrade
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-21 16:22:33 +00:00
Justin Cormack
c51b6cc299 make sure diagnostics runs after all other startup
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-21 11:14:30 +00:00
Justin Cormack
d5b9f7ec1d new initrd with diagnostics
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-21 10:57:30 +00:00
Justin Cormack
9276dc01fd More allowed drive types
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-21 09:50:42 +00:00
Justin Cormack
6670833de8 move config files under packages
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-18 16:41:29 +00:00
Justin Cormack
6cce9a78e9 Use official docker image instead of Alpine package; switch to aufs by default
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-18 14:13:34 +00:00
Justin Cormack
2a0f80b497 clean up rc files
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-18 10:46:34 +00:00
Justin Cormack
b621868d15 add upstream docker package from alpine community aports
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-17 16:02:31 +00:00
Justin Cormack
00692fd77e add other optional kernel config as reported by check-config.sh
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-17 15:56:39 +00:00
Justin Cormack
c1dc14c418 add btrfs and dm backend kernel support
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-17 15:45:30 +00:00
Justin Cormack
70d8143e48 move kernel under rest of build and pull through aufs tools
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-17 15:26:42 +00:00
Justin Cormack
fdeb106f3a Build aufs support
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-17 13:51:43 +00:00
Justin Cormack
06c53c2fe2 add /etc/securetty now upstream has one
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-17 10:45:20 +00:00
Justin Cormack
d543f287ce give docker user a login shell
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-16 14:50:26 +00:00
Justin Cormack
cef96a9d5b use first partition if several
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-16 14:49:58 +00:00
Justin Cormack
86795cc605 identify the partition types for mounting; fixes issues with some beta users where this changed
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-15 16:54:06 +00:00
Justin Cormack
b606e28039 Need even more space on scratch disk for tests
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-15 11:59:42 +00:00
Justin Cormack
7d6ac42060 make test disk bigger
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-15 11:33:53 +00:00
Justin Cormack
1327c45175 clean up disk image on make clean
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-15 11:25:31 +00:00
Justin Cormack
5d199b9591 support /dev/vda as a disk as well as /dev/sda and mount one for xhyve run
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-15 11:22:19 +00:00
Justin Cormack
0bb657c627 add a docker user, with the standard uid, gid used to mount 9p fs, as that is what some scripts expect
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-14 18:16:45 +00:00
Justin Cormack
6d0d3616a7 fix automount script, as the settings do not persist, as fstab changes dropped
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-14 18:16:08 +00:00
Justin Cormack
db56b320a4 use the standard alpine tool to setup disk instead
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-14 15:40:58 +00:00
Justin Cormack
deb0043f9d replace automount script with a more rebust one, will later replace with alpine setup-disk. fix #378
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-14 14:56:23 +00:00
Justin Cormack
30722afd50 Merge pull request #5 from mor1/master
add trailing / to COPY
2015-12-14 14:35:27 +00:00
Richard Mortier
f157682d80 add trailing / to COPY
else I seem to get errors of the form `stat /mnt/sda1/var/lib/docker/aufs/mnt/e2729aae6cfdd93d3b2581a6cc403ccd198cdc21d063b66a362a6fde35e51618/etc/apk/repositories: not a directory`
2015-12-14 14:19:55 +00:00
Justin Cormack
b7a7a2e850 tweak kernel config
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 17:44:22 +00:00
Justin Cormack
8ad597b1d0 add virtio 9p to xhyve for testing
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 16:06:15 +00:00
Justin Cormack
d89b06a71f slim down kernel config some more; make it support modules, but not ship with any
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 15:43:14 +00:00
Justin Cormack
4e6c850e7e slight hack to start up chronyd in the background as it is very slow
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 14:58:21 +00:00
Justin Cormack
66c349a0db advertise moby hostname not always docker.local.
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 14:42:37 +00:00
Justin Cormack
88858f855c fix moby ascii art
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 14:38:50 +00:00
Justin Cormack
4d19e8e097 fix typo
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 13:56:31 +00:00
Justin Cormack
91aff8050a add virtio rng device in xhyve boot
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 11:39:50 +00:00
Justin Cormack
8f676270a6 use findfs not blkid here
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 10:28:28 +00:00
Justin Cormack
7694168a7c Revert "work around busybox blkid" now we have upstream blkid
This reverts commit 6f8ecb38f1.
2015-12-11 09:54:08 +00:00
Justin Cormack
c63737bb39 Add real blkid, as it is much more functional than busybox
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 09:53:56 +00:00
Justin Cormack
1b5c4fc81b work around busybox blkid
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 09:43:22 +00:00
Justin Cormack
5e5e4b5549 fix kernel make clean
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-10 23:49:18 +00:00
Justin Cormack
69b15d551e fix process startup, now runs docker correctly
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-10 16:25:04 +00:00
Justin Cormack
bc0288a2eb Add in startup code for the pinata specific tools. Should be split out as packages later
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-10 11:26:58 +00:00
Justin Cormack
d82559a915 add fstab for docker mac to mount 9p filesystems, harmless if fails
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-09 15:51:48 +00:00
Justin Cormack
8693ca9c64 remove -i option since pinata fixed
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-09 15:48:09 +00:00
Justin Cormack
a9b3c89290 more gitignore files
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-09 15:35:59 +00:00
Justin Cormack
7b61863705 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
7858a234b7 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
2b313a91b4 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
47b98507e3 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