Michael Marineau
ad908d0820
fix(gen_tmpfiles): Don't include /var/tmp, systemd defines this one.
2013-08-20 22:16:37 -04:00
Michael Marineau
efac054f54
fix(build_library): Remove usb and factory_layout partition layouts.
...
These are just cluttering things and adding an element of "how does this
work?" because base_image_util was defaulting to the "usb" layout in
some places and "base" in others.
2013-08-20 21:47:53 -04:00
Michael Marineau
34c324cc3a
fix(build_library): Remove GPT writer scripts, call cgpt directly.
...
This change removes /usr/sbin/write_gpt.sh from images which we have no
use for. This allows us to drop the indirection of writing partition
tables by first writing out a script to call. Now cgpt.py can call cgpt
directly to initialize the partition layout. This opens the way for
further improvements to how disk images are created.
2013-08-20 21:30:22 -04:00
Michael Marineau
1ad0ea2eab
fix(cgpt.py): Remove broken 'expand' feature.
...
This currently does nothing because our state partition is not partition
number 1. Even if it did we don't really needed it since we rely on
expanding on boot instead.
2013-08-20 21:09:06 -04:00
Michael Marineau
7e41042745
bump(coreos-base/vboot_reference): cgpt bugfix and features!
...
cgpt next is fixed and will properly failover now.
cgpt create can actually create (or extend) disk image files.
2013-08-20 21:02:57 -04:00
Michael Marineau
abeaa3761e
Merge pull request #167 from marineam/dockerfix
...
fix(app-emulation/docker): Re-add inherit systemd, dropped by mistake.
2013-08-20 14:10:42 -07:00
Michael Marineau
b5c4edc3a7
fix(app-emulation/docker): Re-add inherit systemd, dropped by mistake.
...
Also add || die to actually catch errors for this sort of thing.
2013-08-20 17:05:48 -04:00
Michael Marineau
c79427d392
Merge pull request #166 from marineam/etcd
...
Etcd arg updates
2013-08-19 16:16:52 -07:00
Michael Marineau
5793e6c7f9
fix(dev-db/etcd): Fix command line args for >=0.1 etcd versions.
...
-h is gone, replaced by -n, -c, and -s
2013-08-19 19:06:27 -04:00
Michael Marineau
e251ff660d
fix(dev-db/etcd): Remove -v flag, DEBUG is overly verbose prod hosts.
2013-08-19 18:46:22 -04:00
Michael Marineau
4976302373
remove(verify_rootfs_chksum.sh): Unused, we don't use verity.
2013-08-19 18:09:11 -04:00
Michael Marineau
325755e923
cleanup(build_image): Remove some unused flags.
...
Remove --verity_*: Unused, we don't support verity
Remove --usb_disk: Unused, we use PARTUUID now.
Remove --enable_serial: Unused, and serial is enabled for syslinux
2013-08-19 18:09:11 -04:00
Michael Marineau
d8e670a2b3
fix(build_image): Don't over-size root partitions in base images.
...
Right now the initial (pre image_to_vm) images oversize the root
partitions, creating the expected 1GB filesystem in a 2GB partition.
image_to_vm later shrinks the partition back down to match. Just start
out with 1GB partitions to begin with instead.
2013-08-19 18:09:11 -04:00
Michael Marineau
89fa680892
Merge pull request #90 from marineam/ami
...
feat(test_ami): Add support for finding AMI by version.
2013-08-19 15:03:09 -07:00
Michael Marineau
7f6cdde553
feat(test_ami): Add support for finding AMI by version.
...
This makes chaining the build and test ami scripts together easier.
2013-08-19 17:35:10 -04:00
Michael Marineau
9528517210
Merge pull request #165 from marineam/docker
...
bump(app-emulation/docker): Update to 0.5.3, cleanup ebuild.
2013-08-19 13:09:19 -07:00
Michael Marineau
f43fef7261
bump(app-emulation/docker): Update to 0.5.3, cleanup ebuild.
...
Now we use a tarball instead of git and set the correct license. Wow!
2013-08-19 15:09:32 -04:00
Michael Marineau
4461185fce
Merge pull request #164 from marineam/etcdctl
...
Etcdctl
2013-08-19 11:51:39 -07:00
Michael Marineau
79f896292c
fix(dev-db/etcdctl): Declare copyright properly, this isn't Gentoo
2013-08-19 14:48:33 -04:00
Brandon Philips
e49efe2065
Merge pull request #163 from philips/upgrade-etcd
...
Upgrade etcd
2013-08-19 11:33:36 -07:00
Michael Marineau
9ca28684dd
feat(coreos-base/coreos): Add etcdctl
2013-08-19 14:33:03 -04:00
Michael Marineau
eaf29b98ae
add(dev-db/etcdctl): New ebuilds!
...
Add live ebuild along with 0.1.0 and 0.1.1 releases.
2013-08-19 14:30:22 -04:00
Brandon Philips
5eb5cb496a
chore(dev-db/etcd): remove unused env variable in ebuild
2013-08-19 11:28:17 -07:00
Brandon Philips
ebd02c0b19
chore(dev-db/etcd): add a command about the hash source
2013-08-19 11:21:51 -07:00
Brandon Philips
0f71c19ca9
bump(dev-db/etcd): etcd-0.1.1
2013-08-19 10:56:48 -07:00
Brandon Philips
948c15c48d
fix(etcd-bootstrap): add -f to delete old etcd info
...
We are changing stuff pretty rapidly in etcd just start blowing away any
info files we find on disk on an upgrade or start.
2013-08-19 10:56:48 -07:00
Brandon Philips
b539972254
feat(dev-db/etcd): set restart service policy
2013-08-19 10:56:48 -07:00
polvi
5253064d32
Merge pull request #88 from polvi/ami-test
...
test(ami-test): basic script for testing ami and bootstrapping
2013-08-18 21:24:12 -07:00
Michael Marineau
10f6a550fc
Merge pull request #89 from marineam/qemu
...
feat(image_to_vm): Add new and improved qemu wrapper script.
2013-08-18 17:27:04 -07:00
Michael Marineau
0f84e3b05f
feat(image_to_vm): Add new and improved qemu wrapper script.
...
This one is more automagical and sets up ssh keys from ssh-agent and the
user's home directory by default. Also adds an option for setting the
ssh port so it can be something other than 2222. Script should be
sufficiently portable, tested in bash, dash, and ash.
2013-08-18 19:43:07 -04:00
Alex Polvi
a191ff9973
Used uuidgen
...
Refacted timeout section to be a loop
Added output for progress
Fixed indentation
2013-08-18 09:15:15 -07:00
Alex Polvi
f986ba2d03
test(ami-test): basic script for testing ami and bootstrapping
2013-08-17 00:51:50 -07:00
Michael Marineau
5c335a5c39
Merge pull request #87 from marineam/official
...
fix(common.sh): Do not add dev build id when outside a repo checkout.
2013-08-16 19:05:54 -07:00
Michael Marineau
ba9dd61aeb
fix(common.sh): Do not add dev build id when outside a repo checkout.
...
When running from a au zip or other strange situation assume the version
in version.txt should be used as-is. This avoid the need to set
COREOS_OFFICIAL=1 in these situations which can be lead to surprises.
2013-08-16 21:47:31 -04:00
Michael Marineau
7b8036c947
Merge pull request #86 from marineam/bootargs
...
Bootargs
2013-08-16 15:47:55 -07:00
Brandon Philips
5c400a9c21
Merge pull request #162 from philips/auto-restart-docker
...
fix(app-emulation/docker): restart on crash
2013-08-16 15:40:15 -07:00
Brandon Philips
37e06a2c65
fix(app-emulation/docker): restart on crash
...
docker has been known to crash from time to time in odd situations. Auto
restart docker 1 second after an unexpected exit so that people can go
about their business.
Thanks to dsal & fkautz in #coreos
2013-08-16 15:36:04 -07:00
Michael Marineau
81afa4f300
fix(boot): Enable serial console when booting via syslinux.
...
Useful for qemu -nographic or any any other situation where serial is
easier to get at than VGA. It may be possible that in some setups ttyS0
isn't appropriate but we can figure out a way to customize kernel
options if/when that ever comes up.
2013-08-16 15:18:31 -04:00
Michael Marineau
34d5789cef
Merge pull request #161 from marineam/getty
...
bump(coreos-base/coreos-init): Update code, enables more gettys
2013-08-16 12:06:30 -07:00
Michael Marineau
c21b8ee03d
cleanup(boot): remove lingering dm-verity bits, cleanup kernel args.
...
Remove unused dev/dm-0 vs dm-1 logic from verity and the associated
rootwait option it required (meaningless with our initrd). Move old
cros_legacy to common instead of using it in every command line option.
We should remove it entirely soon since it isn't useful for us. Remove
unneeded intel graphics modeset option.
2013-08-16 15:00:29 -04:00
Michael Marineau
ba1ea07df8
bump(coreos-base/coreos-init): Update code, enables more gettys
...
Now a getty will be created on every terminal specified by the console=
kernel command line options.
2013-08-16 14:16:54 -04:00
Michael Marineau
2edd22024e
fix(build_image): Remove noinitrd from default boot_args
2013-08-14 13:15:20 -04:00
Michael Marineau
dca3e51f39
Merge pull request #160 from marineam/units
...
bump(coreos-base/coreos-init): tmpfiles update
2013-08-14 09:38:13 -07:00
Michael Marineau
17518255d8
bump(coreos-base/coreos-init): tmpfiles update
2013-08-14 12:36:52 -04:00
Brandon Philips
336289b081
Merge pull request #159 from philips/var-lib-etcd-handling
...
fix(dev-db/etcd): fixup tmp file handling
2013-08-13 16:30:07 -07:00
Brandon Philips
06f12e7668
fix(dev-db/etcd): fixup tmp file handling
...
instead of having scripts creating and managing directories use
tmpfiles.d do all of that. This will fix c10n not working on the AMI
too.
2013-08-13 15:58:41 -07:00
Michael Marineau
5dac798a26
Merge pull request #158 from marineam/misc-updates
...
Misc updates
2013-08-12 22:35:57 -07:00
Michael Marineau
42dc93dc92
fix(coreos-base/oem-ami): Simplify ssh key install
...
Use the new update-ssh-keys script to make the script a lot simpler. :)
2013-08-12 19:13:40 -04:00
Michael Marineau
14454b0cec
fix(coreos-base/oem-vagrant): No need for run.sh for copying ssh key.
...
Copying authorized_keys is now built in to coreos-init.
2013-08-12 19:05:00 -04:00
Michael Marineau
47b3dd1038
bump(net-misc/gsutil): Update to 3.34
...
ebuilds originally created and tested in my "misc-overlay"
https://github.com/marineam/misc-overlay
2013-08-12 19:00:18 -04:00