28179 Commits

Author SHA1 Message Date
Michael Marineau
3e89e1b4ca Merge pull request #359 from marineam/baselayout
Baselayout
2014-02-18 17:18:34 -08:00
Michael Marineau
dc9a03c40f Merge pull request #179 from marineam/nofast
Disable parallel_emerge, fix using SDKs w/ new baselayout
2014-02-18 17:18:22 -08:00
Michael Marineau
8bf7e09970 fix(sys-apps/baselayout): Assorted cleanups/fixes
- Add || die to commands without them to avoid missing errors.
- Symlink resolv.conf to /run on amd64-generic images again.
- Properly sed /etc/issue out of tmpfiles.
- Fix symlinks for mtab and sudo.
- Fix directory ordering in tmpfiles.
- Update groups, a few were missing or incorrect.
- Bump coreos-base/coreos revision.
2014-02-17 23:21:43 -08:00
Michael Marineau
9015fb0881 maint(eclass/*): Delete a whole pile of old unused eclasses. 2014-02-17 23:16:52 -08:00
Michael Marineau
05b70651dd feat(sys-apps/baselayout): New CoreOS specific baselayout package!
This replaces the old Gentoo baselayout and coreos-base packages.

Changes include:
 - Move nss data files from /etc to /usr/share/baselayout
 - Enable nss-usrfiles module to use the new location.
 - Move other misc files from /etc to /usr/share/baselayout, using
   compatibility symlinks in /etc generated by tmpfiles.
 - All base system directories can be generated by tmpfiles.
 - No more /etc/gentoo-release
 - Simplified code, doesn't bother trying to migrate lib symlinks and
   simply fails if the existing filesystem is incorrect.
 - In /usr images the `core` user's UID/GID is now 500 to keep us within
   the reserved system UID/GID space. Eventually once the SDK switches
   to this the `core` user will not conflict with the local developer's
   account. It also makes it clearer what range people can use when
   creating accounts in /usr images. No other UID/GIDs are changing.
 - New eclass to let ebuilds run the equivalent of `tmpfiles --create`.
   In the future this may be replaced by calling `tmpfiles` directly
   once it has a `--root` argument but I haven't pushed those patches
   upstream for review yet.
2014-02-17 23:16:52 -08:00
Michael Marineau
b0c4ed9c1b fix(sys-libs/nss-usrfiles): Drop unused data files.
Should have been dropped in 46c02b02 but was missed.
2014-02-17 23:16:52 -08:00
Michael Marineau
16bc3521e5 fix(make_chroot): Fix SDK setup w/ empty passwd and group files
New baselayout 3 based SDKs define system files in separate read-only
files so the normal group and passwd files don't exist yet.
2014-02-17 22:48:52 -08:00
Michael Marineau
19490c53f9 Merge pull request #363 from marineam/static
bump(coreos-base/vboot_reference): Fix cgpt linking
2014-02-17 19:38:13 -08:00
Michael Marineau
ebccb38f9c bump(coreos-base/vboot_reference): Fix cgpt linking 2014-02-17 17:42:34 -08:00
Michael Marineau
448e9e2b1e Merge pull request #362 from marineam/notss
remove(app-crypt/trousers): Drop unneeded TPM code.
2014-02-17 16:40:22 -08:00
Michael Marineau
4cafc2d322 Merge pull request #91 from marineam/openssl
bump(dev-libs/openssl): sync with upstream
2014-02-17 16:40:16 -08:00
Michael Marineau
fd5da441ca remove(app-crypt/trousers): Drop unneeded TPM code.
This simplifies the build process, we have no need for trousers or other
tpm related things from ChromeOS. Bump vboot_reference so it no longer
needs trousers as a build dependency.
2014-02-17 16:19:12 -08:00
Michael Marineau
10025571d9 fix(common): Disable parallel_emerge by default for most commands.
I would like to phase out parallel_emerge so disable it for all commands
other than build_image which is the only one that shows a noticeable
benefit from it (~2 min with --fast, ~3 min with --nofast).
2014-02-17 12:42:22 -08:00
Michael Marineau
4e7856f32e Merge pull request #361 from marineam/fix-mdadm
fix(coreos-base/coreos): Fix mdadm package category.
2014-02-17 12:09:33 -08:00
Michael Marineau
6c7ec4ac7f fix(coreos-base/coreos): Fix mdadm package category. 2014-02-17 12:07:49 -08:00
Michael Marineau
d4166b4998 Merge pull request #178 from marineam/gentoo-release
fix(prod_image_util): restore /etc/gentoo-release
2014-02-17 11:20:14 -08:00
Brandon Philips
b033ed94ab Merge pull request #360 from philips/mdadm
feat(coreos-base/coreos): add mdadm
2014-02-17 11:18:40 -08:00
Brandon Philips
5f706820e1 Merge pull request #90 from philips/mdadm
bump(sys-fs/mdadm): sync with upstream
2014-02-17 11:18:35 -08:00
Michael Marineau
672c56be39 bump(dev-libs/openssl): sync with upstream
Current version (openssl-1.0.1c) is old and has a parallel-make build
issue that can cause the build to fail randomly. Upgrade time!
New stable version is openssl-1.0.1f
2014-02-16 23:28:16 -08:00
Brandon Philips
dfc3b6914d feat(coreos-base/coreos): add mdadm
Total additional image size:

```
492K    /build/amd64-generic/sbin/mdadm
332K    /build/amd64-generic/sbin/mdmon
184K    /build/amd64-generic/sbin/mdassemble
```
2014-02-15 12:41:01 -08:00
Brandon Philips
971a0e9bd3 bump(sys-fs/mdadm): sync with upstream 2014-02-15 12:36:22 -08:00
Michael Marineau
930260ab9e fix(prod_image_util): restore /etc/gentoo-release
Vagrant reads this file to determine that we are CoreOS... so lets not
break that just yet. A PR to switch to os-release has been posted:
https://github.com/mitchellh/vagrant/pull/2985

Some day gentoo-release will be dropped but that day is not today.
2014-02-14 20:28:20 -08:00
Michael Marineau
a1e08a14d4 Merge pull request #358 from bcwaldon/bump-fleet
bump(fleet): Bump fleet ebuild to v0.1.2
2014-02-14 20:09:06 -08:00
Michael Marineau
cf668e9049 Merge pull request #177 from marineam/baselayout
Baselayout
2014-02-14 18:18:26 -08:00
Brian Waldon
6c5cca8a51 bump(fleet): Bump fleet ebuild to v0.1.2 2014-02-14 17:22:08 -08:00
Michael Marineau
7dd8d95b45 fix(build_image): Drop long unused overlays/usr/local bind mount
This was used by the old ChromeOS "dev image" scheme and does not get
mounted by default so stop shipping it.
2014-02-14 16:14:39 -08:00
Michael Marineau
438478f0cf fix(base_image_util): Do not auto-generate conflicting tmpfiles entries
Many directories are now handled by the new baselayout instead.
2014-02-14 16:13:31 -08:00
Michael Marineau
82a33ae0eb Merge pull request #89 from marineam/flaky
bump(sys-devel/flex): sync with upstream
2014-02-14 14:40:54 -08:00
Michael Marineau
ae67e89159 Merge pull request #176 from marineam/nss
fix(update_chroot): Install/update nss-usrfiles early
2014-02-14 14:40:37 -08:00
Michael Marineau
a2ce604cb5 Merge pull request #357 from marineam/nss
feat(sys-libs/nss-usrfiles): Require as a base system library.
2014-02-14 14:40:25 -08:00
Michael Marineau
e6d348cbd1 fix(update_chroot): Install/update nss-usrfiles early
Soon nss-usrfiles will be required to resolve users and groups properly.
To avoid potentially breaking during the transition we need to make sure
the package is installed early during the chroot upgrade process.
2014-02-13 18:53:53 -08:00
Michael Marineau
abdccaa9fd feat(sys-libs/nss-usrfiles): Require as a base system library.
Add this to everyone's SDK before actually switching to use it.
Hopefully the transition can be made gracefully. :)
2014-02-13 18:43:13 -08:00
Michael Marineau
a0caa75e5d Merge pull request #355 from marineam/ncat
Ncat
2014-02-13 18:05:08 -08:00
Brandon Philips
9e65ae6c19 Merge pull request #356 from bcwaldon/bump-fleet
bump(fleet): Bump fleet ebuild to v0.1.1
2014-02-13 15:49:38 -08:00
Brian Waldon
bcf784c6fb bump(fleet): Bump fleet ebuild to v0.1.1 2014-02-13 16:43:54 -07:00
Michael Marineau
36fc328a07 Merge pull request #353 from marineam/etc-symlinks
fix(app-shells/bash): Update /etc symlinks, use /usr/share/skel
2014-02-12 19:01:42 -08:00
Michael Marineau
b1d0361b14 add(net-analyzer/nmap): Add ncat to production builds.
Nmap itself is excluded, just want the basic network tools.
ncat is a netcat implementation with support for fun things like SSL.
In the future we could add nping but since we already include iputils
that is not quite as important as ncat.

The nmap ebuild includes a compile fix posted here:
https://bugs.gentoo.org/show_bug.cgi?id=501136
2014-02-12 17:35:24 -08:00
Michael Marineau
ccfabc7ef1 chore(net-analyzer/wireshark): Drop old wireshark package 2014-02-12 15:45:50 -08:00
Michael Marineau
be2808eb1b Merge pull request #354 from marineam/fix
fix(coreos-base/coreos-init): Roll back invalid change to c10n service
2014-02-12 01:20:24 -08:00
Michael Marineau
2d03e65c2f fix(coreos-base/coreos-init): Roll back invalid change to c10n service 2014-02-12 01:17:26 -08:00
Michael Marineau
8dc9d76e5e fix(app-shells/bash): Update /etc symlinks, use /usr/share/skel
Symlinks out of /etc to /usr should generally be relative, that way they
work regardless of whether you are based at / or dealing with a new
chroot you haven't entered yet, or a build root like /build/amd64-usr
Namely the absolute links break cros_sdk which copies skel into home.

Also switch to /usr/share/skel since other packages may need install
things to that directory in the future.
2014-02-11 22:05:27 -08:00
Michael Marineau
346c44fbdb Merge pull request #351 from marineam/fix-blank-data
Fix blank user-data, fix fleet, fix coretest
2014-02-11 21:36:20 -08:00
Michael Marineau
5dc090dae9 Merge pull request #175 from marineam/coretest
Use coretest in AMI test script
2014-02-11 21:36:14 -08:00
Michael Marineau
d3df0185de bump(coreos-base/coreos-init): Update to from commit to merge git hash 2014-02-11 21:34:35 -08:00
Michael Marineau
5bc66986cf feat(test_ami): Add coretest 2014-02-11 21:16:19 -08:00
Michael Marineau
6097c50ccf fix(test_ami): Update timeouts to what we've actually been using 2014-02-11 21:16:19 -08:00
Michael Marineau
02edace9da fix(test_ami): Drop old autotest based version.
This never worked and has been abandoned in favor of coretest.
2014-02-11 21:16:19 -08:00
Michael Marineau
8c7f9af2e6 bump(coreos-base/coretest): Update to latest code, add live ebuild.
This increases our default timeout for the docker test to 60 seconds.
Update to our current scheme of keeping everything in the live ebuild.
2014-02-11 20:48:46 -08:00
Alex Polvi
96a501156a fix(app-admin/fleet): do not enable service by default 2014-02-11 18:52:17 -08:00
Michael Marineau
9c31afccda fix(dev-db/etcd): Fix filtering of blank lines from c10n peer list 2014-02-11 17:53:31 -08:00