Commit Graph

2529 Commits

Author SHA1 Message Date
Justin Cormack
5064fd9649 new pinata binaries, with aufs
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-18 14:14:27 +00:00
Justin Cormack
4af10a3026 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
866cacb79b clean up rc files
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-18 10:46:34 +00:00
Justin Cormack
f971fca162 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
f85c89b3c4 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
b005491406 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
fca32a3b72 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
8a880a89e8 Build aufs support
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-17 13:51:43 +00:00
Justin Cormack
b257bbca35 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
ae91272345 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
4cc739f07f use first partition if several
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-16 14:49:58 +00:00
Justin Cormack
0d0738d36c new initrd for pinata with more reliable automount fix
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-15 16:54:42 +00:00
Justin Cormack
30a3c40b09 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
c51ce04461 Updated Moby, allows use of virtio block device or scsi block device
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-15 14:53:22 +00:00
Justin Cormack
7292304d3a 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
da497754ec make test disk bigger
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-15 11:33:53 +00:00
Justin Cormack
4aab8ae033 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
b8464e2ee4 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
2d0a9936c0 another initrd for pinata
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-14 18:17:10 +00:00
Justin Cormack
55c1ae689c 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
c6f6a6ffa2 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
96df479682 update initrd for pinata
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-14 15:41:28 +00:00
Justin Cormack
fedc7238ca 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
9e7a213777 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
53aa77cd5b Merge pull request #5 from mor1/master
add trailing / to COPY
2015-12-14 14:35:27 +00:00
Richard Mortier
6ed205ccc4 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
7a77576ca0 tweak kernel config
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 17:44:22 +00:00
Justin Cormack
b9d3f4e2d9 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
17e44eec15 new binary build for pinata
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 15:44:02 +00:00
Justin Cormack
ddcb740994 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
e4da1b5158 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
040842d9ef 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
9d3fd80f06 fix moby ascii art
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 14:38:50 +00:00
Justin Cormack
5a43d52b59 fix typo
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 13:56:31 +00:00
Justin Cormack
bd3f4e273f 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
975f597574 use findfs not blkid here
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 10:28:28 +00:00
Justin Cormack
8a8b16f860 Revert "work around busybox blkid" now we have upstream blkid
This reverts commit 6f8ecb38f1.
2015-12-11 09:54:08 +00:00
Justin Cormack
e293a06eda 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
ac82ba4a07 updated initrd
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 09:43:28 +00:00
Justin Cormack
6f8ecb38f1 work around busybox blkid
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 09:43:22 +00:00
Justin Cormack
4f899dde0d fix kernel make clean
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-10 23:49:18 +00:00
Justin Cormack
33a581c46b moby binary builds for pinata build
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-10 16:41:17 +00:00
Justin Cormack
e4d19c90dc 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
39de916e54 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
ef337134ef 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
995e611357 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
5072dddb8c more gitignore files
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-09 15:35:59 +00:00
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