30065 Commits

Author SHA1 Message Date
Brandon Philips
033a385685 chore(coreos-base/coreos-base): remove unused groups/users
we have a few unused groups and users. Reserve the UIDs but just don't
have them in the DB until we need them.
2013-07-29 21:33:04 -07:00
Brandon Philips
c3444a8ad5 Merge pull request #138 from doodles526/certs
added commit for our certs
2013-07-29 14:05:46 -07:00
Brandon Philips
2c1b5517b2 Merge pull request #137 from marineam/fix-hash
fix(coreos-base/coreos-init): Fix invalid git hash.
2013-07-29 13:43:03 -07:00
Josh Deare
9df7791b42 added commit for our certs 2013-07-29 11:47:18 -07:00
Michael Marineau
3d7b6336fb fix(coreos-base/coreos-init): Fix invalid git hash.
Merge gone wrong with a rebase maybe? Dunno but should build now. :)
2013-07-29 14:36:26 -04:00
Brandon Philips
b48f95c3db Merge pull request #135 from philips/add-local.target
fix(init): move a few things around
2013-07-29 10:15:36 -07:00
Brandon Philips
da254bcd45 fix(init): move a few things around
1) Make default.target be multi-user.target instead of the default,
   graphical.target

2) Move daemons out of coreos-startup and just have them wantedby
   default.target

3) Have update-engine not rely on coreos-startup and add itself to
   default.target.wants

4) Grab the new init code that does the above

5) Add the local-enable.service which will add /media/state/units to
   /run/systemd/system and start local.target
2013-07-28 22:59:08 -07:00
polvi
fd4502226f Merge pull request #133 from marineam/rebump
bump(dev-db/etcd): Fix revision number, we wend backwards by mistake.
2013-07-28 14:44:40 -07:00
Michael Marineau
c8b83b06c8 bump(dev-db/etcd): Fix revision number, we wend backwards by mistake. 2013-07-28 17:41:29 -04:00
Michael Marineau
ae9b5f877a Merge pull request #66 from marineam/fstrim
fix(build_library): Re-enable zeroing free-space but in a sane way.
2013-07-27 14:45:26 -07:00
Michael Marineau
9f3517a474 Merge pull request #67 from marineam/use-tags
fix(master_release): Use tag names in commit message when available
2013-07-27 14:44:52 -07:00
Michael Marineau
84348c39af fix(build_library): Re-enable zeroing free-space but in a sane way.
As of Linux 3.2 loopback supports discard by punching holes in the
underlying file. This doesn't actually seem to impact things right now
since we are writing to fresh filesystems but might as well do this to
prevent wasted space from sneaking in later on.
2013-07-27 16:39:52 -04:00
Michael Marineau
84f2909531 fix(master_release): Use tag names in commit message when available 2013-07-27 15:56:51 -04:00
polvi
113b6e6282 Merge pull request #132 from marineam/nsswitch
fix(coreos-base/coreos-base): Include default nsswitch.conf
2013-07-27 10:42:32 -07:00
Michael Marineau
6f7ec78b85 fix(coreos-base/coreos-base): Include default nsswitch.conf
Until we start installing glibc like sane people we need to include this
via other means. Without it name resolution behavior is somewhat surprising.
2013-07-27 13:20:13 -04:00
Michael Marineau
215a558a20 Merge pull request #65 from marineam/misc
Misc build updates
2013-07-27 09:42:21 -07:00
Michael Marineau
ec9ee86139 Merge pull request #131 from marineam/dev
bump(coreos-base/cros-devutils+gmerge): Update to latest code
2013-07-27 07:15:55 -07:00
Michael Marineau
505107c48d fix(catalyst): Cleanup temporary files.
Catalyst doesn't clean up the temporary root directories even though we
don't have seedcache enabled. So lets wipe that mess up.
2013-07-27 00:07:09 -04:00
Michael Marineau
a1a1ed830c fix(build_library): Use sparse files for disk images, no useless sudo
Enable sparse files for all dd and cp commands and replace some dd
commands that are really better off being truncate commands.

While in the neighborhood there were a number of useless sudo commands
for things that just happen to be in sbin. Call them directly instead.
2013-07-26 23:45:10 -04:00
Michael Marineau
f46ee8c332 fix(build_image): Fix building dev and prod without base
Ever since adding prod it hasn't been possible to build just dev and
prod without explicitly building base. Base is always built but usually
there is no point to keeping it around. Add some logic to make dev not
conflict with prod and make sure base is deleted and not uploaded if it
wasn't explicitly requested.
2013-07-26 22:56:27 -04:00
Michael Marineau
9effa608cd bump(coreos-base/cros-devutils+gmerge): Update to latest code 2013-07-26 22:49:05 -04:00
Michael Marineau
1ea1e8ba9b cleanup(common): Remove rarely used pv_cat_cmd
Its single use is in build_common and even then having a little progress
bar for copying images isn't that interesting, they just get lost in the
noise of the emerge output. Keep it simple, use cp.
2013-07-26 22:40:59 -04:00
Brandon Philips
6b603ae9ef Merge pull request #64 from marineam/rename-dev
fix(*): Rename dev image to coreos_developer_image.bin
2013-07-26 19:27:11 -07:00
Michael Marineau
42a4536d7d fix(*): Rename dev image to coreos_developer_image.bin
Remove hard-coded references and unused scripts that mentioned it.
2013-07-26 22:12:10 -04:00
Michael Marineau
17736820bd Merge pull request #63 from marineam/rel
fix(master_release): Fix default branch to pull from, fetch evyerhing.
2013-07-26 18:38:28 -07:00
Michael Marineau
6544b67b89 Merge pull request #130 from marineam/etcd
bump(dev-db/etcd): Grab latest build fixes
2013-07-26 18:27:19 -07:00
Michael Marineau
27af72359e fix(master_release): Fix default branch to pull from, fetch evyerhing. 2013-07-26 21:27:18 -04:00
Michael Marineau
7ed8357499 bump(dev-db/etcd): Grab latest build fixes 2013-07-26 21:14:55 -04:00
Michael Marineau
5375057c86 Merge pull request #62 from marineam/lbzip2
fix(cros_sdk): Support using lbzip2 during chroot creation.
2013-07-26 16:46:58 -07:00
Michael Marineau
06ce63152f Merge pull request #129 from marineam/lbzip2
fix(profiles): Enable lbzip2 for both SDK and targets, move to profiles
2013-07-26 16:46:24 -07:00
Michael Marineau
7696459498 fix(profiles): Enable lbzip2 for both SDK and targets, move to profiles
It has been long enough since adding lbzip2 to the system set, time to
put it to work for all our binary package needs!
2013-07-26 19:12:31 -04:00
Michael Marineau
ca6415dc89 fix(cros_sdk): Support using lbzip2 during chroot creation.
Our SDK tarballs aren't compressed using pbzip2 so there is no advantage
to using pbzip2 to decompress them over bzip2, however lbzip2 does offer
a big advantage. Also trust that the portage config defines a valid
version of bzip2 since we have control over the tarball creation and can
make sure to always include required utilities.
2013-07-26 18:31:18 -04:00
Michael Marineau
6697c05d0a Merge pull request #61 from marineam/vm_upload
Vm upload
2013-07-26 15:18:04 -07:00
Michael Marineau
37c56b64de feat(build_ebs_on_ec2): Fetch prod images by version, misc cleanup.
The build host will start generating production ami disk images so to
simplify the next step this script can automatically fetch them from
that location by version. The default sticks with the existing 'master'
versioning scheme. Added logging and turned off -x by default to make
the output log more readable.

Removing the zip_and_ship script since it isn't useful with officially
built disk images and only works with locally built images and a very
particular ec2 host. A different long term automation scheme will have
to be found.
2013-07-26 17:45:27 -04:00
Michael Marineau
c5cd245603 feat(image_to_vm): Add support for uploading vm images
After this I can make production AMI images available for download! :-D
2013-07-26 16:31:11 -04:00
Brandon Philips
ecb8ea259c Merge pull request #60 from philips/move-stateful-around
Move stateful around
2013-07-26 11:33:59 -07:00
Brandon Philips
c55c29dce2 Merge pull request #128 from philips/move-stateful-around
Move stateful around
2013-07-26 11:33:54 -07:00
Brandon Philips
2e0a3d9a2e bump(coreos-init): create /srv and /opt 2013-07-26 11:28:43 -07:00
Brandon Philips
aa944b9be2 fix(coreos-installer): get dev image location fix 2013-07-26 11:09:51 -07:00
Brandon Philips
8bb371377f fix(coreos-base): move images/dev to overlays/usr/local 2013-07-26 10:49:19 -07:00
Brandon Philips
3970d28b5a fix(*): move /home/core/user to /home/core 2013-07-26 10:38:33 -07:00
Brandon Philips
3b30f8def3 fix(build_library): symlnks to stateful
add backward compat symlinks to the stateful directory
2013-07-26 10:20:29 -07:00
Brandon Philips
be72d56a50 fix(*): move dev_image to overlays
put the dev_image in overlays/usr/local
2013-07-26 10:20:18 -07:00
Brandon Philips
589a10d8d5 fix(coreos-base/*): move /mnt/stateful_partition around
This bumps all of the ebuilds to use the new /media/state code.
2013-07-26 08:56:08 -07:00
Brandon Philips
ca0b25028e Merge pull request #59 from philips/remove-container-stuff
chore(build_library): remove container library
2013-07-26 08:51:53 -07:00
Brandon Philips
cf8be2c320 fix(*): use /media/state and overlays dir
/mnt/stateful_partition was already a little unruly with
/mnt/stateful_partition/home and /mnt/stateful_partition/var_overlay
serving similar functional purposes.

Then we needed to also add /opt and /srv overlays.

I also have wanted to get rid of the ugly and weird
/mnt/stateful_partition name so lets just have one big move.

/mnt/stateful_partition -> /media/state
/mnt/stateful_partition/var_overlay -> /media/overlays/var
/mnt/stateful_partition/home -> /media/overlays/home

From there we add /media/overlays/srv and /media/overlays/opt
2013-07-26 08:44:47 -07:00
Brandon Philips
0ece58228f chore(*): remove unused scripts
bin/cros_update_image.sh
  cros_show_stacks
  image_to_usb.sh
  make_netboot.sh
  mod_image_for_recovery.sh
  update_kernel.sh
2013-07-26 08:40:32 -07:00
Brandon Philips
cb3e04d55b fix(*): use new stateful_partition location
moving /mnt/stateful_partition to /media/state
2013-07-26 08:30:22 -07:00
Brandon Philips
b585ebc2d6 chore(net-misc/strongswan): remove, we don't use it right now
remove strongswan, we aren't using it right now.
2013-07-26 06:42:56 -07:00
Brandon Philips
141d488da6 chore(build_library): remove container library
This is no longer used. It was used to debug early boot problems early
on.
2013-07-26 05:35:20 -07:00