30859 Commits

Author SHA1 Message Date
Brandon Philips
5e149b836e fix(dev-python/ws4py): bump to latest version
Change-Id: Idb6584b8f73684e2f1d417dcac6be9ac7ef7e746
2013-02-11 11:38:18 -08:00
Brandon Philips
917c4c7272 fix(lots): get things working in coreos using a modern gentoo stage3
Import a few packages from a modern portage mirror to get things working for coreos

Change-Id: If3d500939f94293ed6e91cf0d6b316775539b265
2013-02-08 19:11:03 -08:00
Brandon Philips
6bbe0e1dc4 fix(bump): bump package versions to get everything building
Change-Id: I579e1e05ef63b8e9bcf536b172dc158c764944fc
2013-02-08 13:55:30 -08:00
Brandon Philips
3647fa4544 import chromeos stuff 2013-02-08 11:12:07 -08:00
Brandon Philips
1db2fb44e8 wip 2013-02-08 11:11:55 -08:00
Brandon Philips
372e4a1fcf working, sort of 2013-02-08 11:09:11 -08:00
Brandon Philips
29275e6de2 fix(profiles): add the berkdb use flag on gdbm 2013-02-07 11:31:52 -08:00
Brandon Philips
8787d218bf feat(coreos): add required packages for board setup 2013-02-06 16:47:19 -08:00
Brandon Philips
f5f9ed6fcc feat(autotest): add all of the autotest stuff from chromeos 2013-02-06 16:46:25 -08:00
Brandon Philips
4c07794257 chore(parent): rename to coreos 2013-02-06 16:09:42 -08:00
Brandon Philips
7d1e0f3c41 fix(baselayout): HACK use doinitd
without doinitd functions.sh will be deleted.
2013-02-06 15:30:27 -08:00
Brandon Philips
f2600f70d5 feat(baselayout): add baselayout from chromeos
gives us function.sh in /etc/init.d
2013-02-06 14:24:46 -08:00
Brandon Philips
425fb83fe0 fix(coreos): USE_PYTHON="2.6"
Don't use python3, it is a disaster
2013-02-06 11:45:15 -08:00
Brandon Philips
301d230a5c fix(profiles): don't statically compile qemu
don't use static, it doesn't work.
2013-02-06 11:44:02 -08:00
Brandon Philips
249cc37d90 fix(coreos-base): use grub-static not grub
grub-0.97-r12:  * Call stack:
grub-0.97-r12:  *     ebuild.sh, line  93:  Called src_compile
grub-0.97-r12:  *   environment, line 4283:  Called die
grub-0.97-r12:  * The specific snippet of code:
grub-0.97-r12:  *               die "You must use the grub-static package if you want a static Grub on amd64!";
2013-02-05 17:18:39 -08:00
Brandon Philips
6510d003ab fix(coreos-base): install setup tools
1.6.4 ...
beaker-1.6.4:  * Building of dev-python/beaker-1.6.4 with CPython 2.7...
beaker-1.6.4: python2.7 setup.py build -b build-2.7
beaker-1.6.4: Traceback (most recent call last):
beaker-1.6.4:   File "setup.py", line 5, in <module>
beaker-1.6.4:     from setuptools import setup, find_packages
beaker-1.6.4: ImportError: No module named setuptools
beaker-1.6.4:  * ERROR: dev-python/beaker-1.6.4 failed (compile phase):
beaker-1.6.4:  *   Building failed with CPython 2.7 in distutils_building() function
2013-02-05 17:16:06 -08:00
Brandon Philips
f9e96ee158 fix(coreos-base): remove conflicts with base layout
Detected file collision(s):

	/etc/sysctl.conf
	/etc/ssh/sshd_config
	/etc/ssh/ssh_config
	/bin/sh
	/usr/libexec/pager
	/usr/libexec/editor
	/usr/bin/awk
2013-02-05 17:15:19 -08:00
Brandon Philips
ad1e0a5425 fix(packages): Remove lots of unneeded packages 2013-02-05 16:09:56 -08:00
Brandon Philips
0d056e1bdc chore(profiles): rename to coreos 2013-02-05 16:09:41 -08:00
Brandon Philips
0cac8e0f0c fix(coreos-base): remove vboot_reference stuff
we don't need the chromeos bootloader, delete it
2013-02-05 16:07:27 -08:00
Brandon Philips
bf68ef96aa fix(virtual): add hard-host-depends-bsp
add this virtual for hard-host-depends
2013-02-05 16:05:25 -08:00
Brandon Philips
b0260921bc fix(profile): move package.keywords to accept_keywords
this is the new location in gentoo, do it!
2013-02-05 16:02:47 -08:00
Brandon Philips
96aa6ae7c8 remove chromeos stuff 2013-02-05 15:53:07 -08:00
Brandon Philips
adbebe18df wip 2013-02-05 14:50:09 -08:00
Brandon Philips
55a2b35b24 WIP 2013-02-05 11:59:29 -08:00
Brandon Philips
0f9184b51b coreos-base: initial commit 2013-02-05 11:47:38 -08:00
Brandon Philips
81921ecf6c initial commit 2013-02-04 18:24:12 -08:00
Mike Frysinger
c1fd42203b clean old chromeos-base/chromeos-bsp-null
We are converting virtual/chromeos-bsp to a new style virtual, but we
have to clean out the old one first as it has a PROVIDE= which messes
up the upgrade process.

BUG=chromium-os:38307
TEST=`./update_chroot` uninstalled this pkg for all generic boards
CQ-DEPEND=CL:42188

Change-Id: Ie23bf462a178bf1085a4700155b779e9651ad24d
Reviewed-on: https://gerrit.chromium.org/gerrit/42528
Reviewed-by: Anush Elangovan <anush@google.com>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
2013-02-04 06:56:09 -08:00
Ryan Harrison
b8bd594130 Add /usr/share/profiling to COMMON_INSTALL_MASK
This directory contains profiling/coverage data that is generated by some
packages during the build process. It should not be installed onto the device,
but we want the data to live on in /build to allow developers to consult it.

BUG=chromium-os:37854
TEST=None, this change will be tested in CL 42339 since it currently has not
     effect

Change-Id: I882fa7a7496db52a72bb8c5409b3715490d95879
Reviewed-on: https://gerrit.chromium.org/gerrit/42499
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Tested-by: Ryan Harrison <rharrison@chromium.org>
2013-02-02 11:48:48 -08:00
Denis Glotov
94b00acd95 Revert "Revert "Extend STATEfull partition to 3Gb in 2gb-rootfs-updatable disk layout.""
This reverts commit 285b5338b83d873abc7afec8b0ddf99d56e1b6b6

Change-Id: I19f8238cb55f88b358244c09c32841ad9f79dd3f
Reviewed-on: https://gerrit.chromium.org/gerrit/42457
Tested-by: Denis Glotov <glotov@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Commit-Queue: Denis Glotov <glotov@chromium.org>
2013-02-01 12:00:17 -08:00
Don Garrett
7b69fb2525 Reorder rootfs partitions to be spinning disk friendly.
Change the order of partitions to given better performance for spinning disks.
However, this change affects all devices, not just those with spinning disks.

We will be able to remove the per-board overrides from several devices if/
when this change is accepted.

BUG=chromium-os:38122
TEST=image_to_live, (Will run trybots, and perform a recovery).

Change-Id: Ibe60e384e0392936f9f8ceb326618951367974df
Reviewed-on: https://gerrit.chromium.org/gerrit/41792
Reviewed-by: Chris Sosa <sosa@chromium.org>
Tested-by: Don Garrett <dgarrett@chromium.org>
Commit-Queue: Don Garrett <dgarrett@chromium.org>
2013-02-01 11:39:24 -08:00
Simran Basi
285b5338b8 Revert "Extend STATEfull partition to 3Gb in 2gb-rootfs-updatable disk layout."
Suspecting this CL is killing devices in the lab: crosbug.com/38483

This reverts commit 38fe561a9216d9107d957b2f60a4b48c3532b0b4

Change-Id: I6a6f0c170d5410de79ad0d2b96c7b9c95046cae4
Reviewed-on: https://gerrit.chromium.org/gerrit/42452
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
2013-02-01 09:03:45 -08:00
Denis Glotov
38fe561a92 Extend STATEfull partition to 3Gb in 2gb-rootfs-updatable disk layout.
This is needed for vmtests to have enough space, because default size,
although expandable, is too small in vm images.

BUG=chromium-os:38088
TEST=cbuildbot x86-generic-asan amd-64-generic-asan --remote -g I07d31d8b -gI18fab01e -gI9f55fcd3

Change-Id: I9f55fcd3707859dca8304b8e0c78ebd39afea566
Reviewed-on: https://gerrit.chromium.org/gerrit/42390
Tested-by: Denis Glotov <glotov@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Commit-Queue: Denis Glotov <glotov@chromium.org>
2013-02-01 02:33:54 -08:00
Mike Frysinger
89b7559c89 grep: upgraded package to upstream
Upgraded sys-apps/grep to version 2.14 on amd64, arm, x86

BUG=chromium-os:38395
TEST=`cbuildbot chromiumos-sdk {amd64,x86,arm}-generic-full` worked

Change-Id: Iaba3f4c83d56688d33349f2e2e271cf8383c8acd
Reviewed-on: https://gerrit.chromium.org/gerrit/42381
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
Reviewed-by: Matt Tennant <mtennant@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
2013-01-31 13:42:33 -08:00
Mandeep Singh Baines
3b17f055d2 xsetroot: upgraded package to upstream
Upgraded x11-apps/xsetroot to version 1.1.0 on arm

If you don't a have wm, the cursor is hidden. So its sometimes
handy to unhide the cursor.

BUG=none
TEST='xsetroot -cursor_name left_ptr'

Change-Id: I9ac056ad88a92d961ddb39bd7fdc44bdbfabeeee
Reviewed-on: https://gerrit.chromium.org/gerrit/42273
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Anush Elangovan <anush@google.com>
Commit-Queue: Mandeep Singh Baines <msb@chromium.org>
Tested-by: Mandeep Singh Baines <msb@chromium.org>
2013-01-30 17:08:25 -08:00
Gabe Black
0d7b85aacd Add the --include-masked flag when calling the equery which command.
When setting up a new ebuild, the process I've used in the past was to
create a 9999 ebuild and, to test it, cros_workon it so emerge can
choose that version to build. cros_workon uses equery in its
canonicalize_name function, and if it fails then it aborts the call to,
in my case, cros_workon start.

The problem is that equery ignores masked packages by default,
apparently, and because no stable version exists, it can't see the lone
9999 ebuild. Because that fails you can't cros_workon the package, and
because of that you can't build it because you've still only got the
unstable version.

To work around this new behavior, I added the --include-masked option I
found while digging around in equery's source. This option seems to
allow it to see the otherwise unavailable package, and the cros_workon
succeeds.

BUG=None
TEST=Saw that this allowed cros_workon-ing a new ebuild which only had a
9999 version. Ran cros_workon-link start and stop on an existing ebuild
and saw the command complete successfully.

Change-Id: Icfb271ed671b118bbd4ebfa1c3341353e203162a
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/42276
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
2013-01-30 14:25:44 -08:00
Peter Mayo
45ebc4c9fc Copy the netrc into the chroot at entry.
This seems to be needed for acessing some of the chrome repositories.
Without it we get git clone hangs trying to sync.

BUG=chromium-os:38303
TEST=local entry into chroot

Change-Id: Ia68a6486022e8d230572bad0f9031c3e5d36197c
Reviewed-on: https://gerrit.chromium.org/gerrit/42140
Commit-Queue: Peter Mayo <petermayo@chromium.org>
Reviewed-by: Peter Mayo <petermayo@chromium.org>
Tested-by: Peter Mayo <petermayo@chromium.org>
2013-01-28 14:01:37 -08:00
Vic Yang
e72689e500 make_netboot: Fix path to netboot firmware
Now that netboot firmware is named 'nv_image-xxx.bin', let's change it
in make_netboot.sh.

Also, update_firmware_vars.py is already included in factory_setup.
There is no need to copy it to factory_shim. Remove it.

BUG=chrome-os-partner:17471
TEST=Run make_netboot and see nv_image copied.

Change-Id: I513c0377d63e2088b36275ab79ea06c6652e4bb4
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/42093
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
2013-01-28 08:16:31 -08:00
Denis Glotov
61772d46aa Add 2gb-rootfs-updateble disk layout.
This is to be used with build_image and image_to_vm by cros buildbots
that need more rootfs size.

Unlike 2gb-rootfs, it has both ROOT-A and ROOT-B enlarged to 2gb, so
that image update test (1_update in SimpleTestsUpdateAndVerify) is possible.

BUG=chromium-os:38088
TEST=cbuildbot x86-generic-asan amd-64-generic-asan --remote -g I6f497214 -g I07d31d8b

Change-Id: I6f497214f54f4457cf2b40610beb9272622d1a47
Reviewed-on: https://gerrit.chromium.org/gerrit/41814
Tested-by: Denis Glotov <glotov@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Commit-Queue: Denis Glotov <glotov@chromium.org>
2013-01-28 08:16:28 -08:00
Mike Frysinger
cf7a09344b setup_board: make sure /usr/local/bin exists
We currently rely on the fact some package happens to install into
/usr/local/bin and creates the dir for us.  If that doesn't happen,
then we fail when generating local wrappers.  So run mkdir first to
make sure everything is sane.

BUG=chromium-os:31039
TEST=`cbuildbot chromiumos-sdk` works

Change-Id: I42f9122e1a8aa7aa19a7efb17deaa6dd28e58582
Reviewed-on: https://gerrit.chromium.org/gerrit/41929
Reviewed-by: David James <davidjames@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
2013-01-24 14:21:20 -08:00
Mike Frysinger
79ae5b4a06 use new status=none with dd
The latest coreutils introduces a status=none option which suppresses
all information which is more than the current status=noxfer.

BUG=None
TEST=`./build_image` no longer spews any dd info

Change-Id: I3cfefed1d38e7e5ff52342c98e6a306d9a48950a
Reviewed-on: https://gerrit.chromium.org/gerrit/41930
Reviewed-by: David James <davidjames@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
2013-01-24 13:58:27 -08:00
Anush Elangovan
87933c73cf Remove chromeos-[dev|test]-init deps
Now that chromeos-dev-init and chromeos-test-init are explicitly
specified in chromeos-dev and chromeos-test remove the hardcoding
in build_packages

BUG=None
TEST=build and run on daisy and trybots on a variety of x86/arm
paladin/full builders
CQ-DEPEND=CL:Iaceab4dbc2c215ba899d17e78c6c22e60c0802c8

Change-Id: I3064117ecf5bbafbc0f340f46cc07d4f6c959559
Reviewed-on: https://gerrit.chromium.org/gerrit/41943
Reviewed-by: David James <davidjames@chromium.org>
Commit-Queue: Anush Elangovan <anush@chromium.org>
Tested-by: Anush Elangovan <anush@chromium.org>
2013-01-24 13:58:22 -08:00
Paul Taysom
5e39bb6cd1 Configure the serial port for debugging
Enable the serial port from the build_image command line.
Currenly, you have to edit build_kernel_image.sh to enable
the serial port for kernel debugging. Now:

./build_image --board=${BOARD} --enable_serial=ttyS0

Will enable sending printks to the specified serial port.

BUG=chromium-os:38026
TEST=built images with and without serial enabled

Change-Id: I9ef4f2a20f0d451e132371339c4eba1faf4c94de
Reviewed-on: https://gerrit.chromium.org/gerrit/41638
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Paul Taysom <taysom@chromium.org>
Tested-by: Paul Taysom <taysom@chromium.org>
2013-01-23 17:44:43 -08:00
Vic Yang
3239b1aacd Add TPM and I2C device USE flags when building initramfs kernel
This is to match the refactoring of kernel eclass.

BUG=chrome-os-partner:17368
TEST=Build factory install shim and install.

Change-Id: Ia47f1c9632f82c127a818ca69fbcc91feacbfdcd
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/41755
Reviewed-by: Mike Frysinger <vapier@chromium.org>
2013-01-22 18:57:41 -08:00
chrome-bot
f844a35af0 Marking set of ebuilds as stable
regen cache

Change-Id: I35ba4abc3936f922657d59399a65be59a18a6d24
2013-01-22 09:46:39 -08:00
Mike Frysinger
27d8e073b7 tcpdump: upgrade to latest upstream stable
This includes cross-compiling fixes from upstream.
We no longer need the local copy in chromiumos-overlay.

BUG=chromium-os:36866
TEST=`emerge-x86-alex tcpdump` works
TEST=`emerge-stumpy tcpdump` works
TEST=`emerge-daisy tcpdump` works
TEST=`emerge-x32-generic tcpdump` works

Change-Id: Ia0ea93c0464174fd5dfbe469e49885ff313cbe86
Reviewed-on: https://gerrit.chromium.org/gerrit/41734
Reviewed-by: Matt Tennant <mtennant@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
2013-01-22 09:46:23 -08:00
Mike Frysinger
60618e4083 virtual/modutils: pull in from upstream
This moves us from our local copy to the upstream verison.  Shouldn't
be any functional difference.

BUG=None
TEST=`cbuildbot chromiumos-sdk` still works (which also builds arm/amd64/x86 boards)

Change-Id: I9c1a683726ba2eb27586d7bc238571a47043a16b
Reviewed-on: https://gerrit.chromium.org/gerrit/41661
Reviewed-by: Matt Tennant <mtennant@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
2013-01-22 09:19:53 -08:00
chrome-bot
bf4c24469c Marking set of ebuilds as stable
regen cache

Change-Id: Ic708b56894bf7b3bb0828b5268e1f05540e6ebe0
2013-01-21 20:26:08 -08:00
Vic Yang
6691e6f392 cherrypy: add 'arm' to keywords
BUG=chrome-os-partner:17299
TEST=emerge for arm-generic and daisy. Install and run on Snow.

Change-Id: Ibb6e0be211c219f8494d86129df8e6274064bc48
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/41522
Reviewed-by: Mike Frysinger <vapier@chromium.org>
2013-01-21 20:25:50 -08:00
David James
4cae07382d Add pylint hook to src/scripts.
BUG=chromium-os:11550
TEST=Verify presubmit hook catches when there are pylint errors.

Change-Id: I6b3d3f7c93d7188dd3edaea56a795567200adea2
Reviewed-on: https://gerrit.chromium.org/gerrit/41620
Reviewed-by: Chris Sosa <sosa@chromium.org>
Commit-Queue: David James <davidjames@chromium.org>
Tested-by: David James <davidjames@chromium.org>
2013-01-18 11:40:40 -08:00