Commit Graph

16 Commits

Author SHA1 Message Date
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
09d2f5dc24 move mkinitrd to /
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
2016-09-12 16:02:07 +01:00
Justin Cormack
106739fa02 Stop using volume and compose to build initrd
This makes remote builds work, and simplifies build.

See #469

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-09-06 23:59:38 +01:00
Justin Cormack
45ece4e9b8 Do not create default devices
They are created anyway at runtime, and this set is not very complete.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-09-06 23:08:12 +01:00
Nathan LeClaire
b576b05d3e Add structure to enable baking Moby Linux AMI
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-05-06 15:20:53 -07:00
Justin Cormack
43fde211f6 remove ability to set hostname as no longer needed. Hard code llmnrd name as 'docker'
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-05-04 13:02:26 +01:00
Justin Cormack
4d912f68c1 tidy up default device creation
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-25 12:00:48 +01:00
Justin Cormack
08788f5fdb empty /mnt mountpoint
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-08 00:48:08 +00:00
Rolf Neugebauer
fde8e83c1d initrd: don't include /mnt in the initrd
With the move to compose/volume mounts this now includes the current
directory. Noticed it when my initrds were getting bigger and bigger.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-03-07 12:34:41 +00:00
Justin Cormack
0ef9a6e53e use a volume for the initrd image
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-19 14:52:23 +00:00
Justin Cormack
569758a789 inline some config files
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 11:47:35 +00:00
Justin Cormack
cdf02ffe7f set hostname from database if available
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-18 17:09:23 +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
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
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