26840 Commits

Author SHA1 Message Date
Matt Tennant
f7b35e7a1c Update the eselect-vi package to the latest version.
Update the eselect-vi package to the latest version, which should also
fix the vim symlinks under /usr/bin to use relative paths.

BUG=chromium-os:14291
TEST=emerge vim and verify that /usr/bin/vi is a symlink to vim, not //usr/bin/vim (or any other rooted path)

Change-Id: Ie1e180d62f7f78e098e449d8762c74f196ef26f9

Review URL: http://codereview.chromium.org/6879117
2011-04-21 11:11:42 -07:00
Olof Johansson
8488f5a3c5 update_kernel: be smarter
Auto-detect use of verity, and if verity is not used, copy over modules and firmware.

Also, while I was at it, I added a --noreboot argument.

And also copy over vmlinux.uimg on ARM if on non-verity.

Change-Id: Ida9d3fbf4f342db65ebd0002a8b1a528440ea7fe

BUG=chromium-os:13321
TEST=Build kernel, try updating on x86 and ARM, both with and without verity

Review URL: http://codereview.chromium.org/6881029
2011-04-20 17:27:37 -07:00
Mandeep Singh Baines
95026958c1 cros_make_image_bootable: default to verity_depth=0
Verity only supports a depth of 0. Passing anything other than 0 will
cause a verity failure.

BUG=14314
TEST=Verified that verity does not fail when do depth is passed.
     Before this change, verity would fail with the error message
     reported in the bug.

Change-Id: I68495c4486284744ee0779b6c9cdc0ef214519c7

R=gauravsh@google.com,scottz@google.com,drewry@google.com

Review URL: http://codereview.chromium.org/6873134
2011-04-20 16:28:54 -07:00
Che-Liang Chiou
dc2cb4b8f6 Install VbNvContext storage file
R=rongchang@chromium.org
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/6883046

Change-Id: I8818938f9e40120c0e88d80a9452641518a6ba44
2011-04-20 15:08:48 +08:00
Simon Que
d9d4bbef96 Add xset-1.2.1-r1
BUG=chrome-os-partner:3118
TEST=emerge and make sure xset-1.2.1-r1 is built.  Do 'ldd xset' on the
built executable and make sure it does not have dependency on fontcache.

Change-Id: Ic486863eed0523de009dc2546f33338d655da8b6
Signed-off-by: Simon Que <sque@chromium.org>

Review URL: http://codereview.chromium.org/6879044
2011-04-19 11:11:14 -07:00
Diego Elio Pettenò
865db6193e dev-libs/opensc: update to newest version in Portage
Drops static archives, .la files, headers, drivers, ...

R=cmasone@chromium.org
BUG=none
TEST=requires update to chromiumos-overlay to keyword this

Change-Id: I122527514085f755db2e68ec5a4fbab27a39aac2

Review URL: http://codereview.chromium.org/6881025
2011-04-19 07:01:03 +02:00
Chris Sosa
c894a0a0a0 Add combine_stdout_stderr as well as make success less verbose.
Change-Id: If46fd1558a00498ce4721dd756532e916f49bc19

BUG=chromium-os:12950
TEST=Ran with autestharness and ran unittests.

Review URL: http://codereview.chromium.org/6877015
2011-04-18 17:19:10 -07:00
Zdenek Behan
8160f70835 sys-apps/acl: import 2.2.49-r1 to address gentoo #265425
BUG=chromium-os:4760
TEST=below
- build_packages on x86-generic, install, boot, run BVT's
- NOTE: the ebuild is ~keyword, so this will require further commit to cros-overlay

Change-Id: I3ec642332822cb753391b33a734828928dfd7284

R=flameyes@chromium.org,jimhebert@chromium.org,anush@chromium.org

Review URL: http://codereview.chromium.org/6870011
2011-04-15 23:07:53 +02:00
J. Richard Barnette
eb5246f8d9 Standardize invocations of emerge in build_image.
Also includes a style nit fix:  don't quote arguments to numeric
comparison test operators.

BUG=chromium-os:13582
TEST=setup_board --force && build_packages && build_image; boot the result

Review URL: http://codereview.chromium.org/6801027

Change-Id: I689ca9697a05cf93a789fde1242fb2fa50f21612
2011-04-08 10:34:31 -07:00
Olof Johansson
dd5e04a875 fix factory scripts based on nvrm changes
Change-Id: Iaa0d1d8325894d3e300275bab99a04e4f83ec9b4

BUG=chromium-os:13971
TEST=Run mod_image_for_test -f, make sure it doesn't break.

Review URL: http://codereview.chromium.org/6826001
2011-04-08 10:00:01 -07:00
Diego Elio Pettenò
6503340efc app-i18n/zinnia: import 0.06-r1 from main Gentoo tree.
This version includes fixes for building the Perl extension (unneeded) but
also to use the proper CFLAGS during build (most likely desired).

R=yusukes@chromium.org
BUG=none
TEST=emerge-{arm,x86}-generic and build log check

Change-Id: Ie8769b67a2b5bc2845264627ab0fc44312c29954

Review URL: http://codereview.chromium.org/6814030
2011-04-08 17:19:11 +02:00
Olof Johansson
24e10cb3db remove quiet and loglevel=1 from arm cmdline for now
It makes debugging system boot issues harder, so let's re-enable console
output for a while. It will be quieted down again later.

Change-Id: I7c543c09818c0152470c9f5e54d36c614d05bf3a

BUG=chrome-os-partner:3199
TEST=Boot a system, check for console output before login screen

Review URL: http://codereview.chromium.org/6801045
2011-04-07 15:08:08 -07:00
Mandeep Singh Baines
de162521ed build_image: hard-code verity_depth to 0
Plan is to eventually deprecate depth as a configurable parameter.
depth=0 means compute the depth based on a regular trie with a
single block of hashes at the root node.

BUG=chromium-os:9752
TEST=platform_DMVerity

Change-Id: I5c5f1b1f2c2079d7e1ef6c7a55c859b463a59aee

R=wad@chromium.org,taysom@chromium.org,ups@chromium.org,gauravsh@chromium.org,jimherbert@chromium.org

Review URL: http://codereview.chromium.org/6810006
2011-04-07 10:12:08 -07:00
Diego Elio Pettenò
f5da14a6a8 linux-info.eclass: import from main tree.
This version includes the fix for building from a host running a stable
kernel like 2.6.38.1 without having kernel sources available.

Change-Id: Ie32a2faae9a8d2567d21711eef79ebfaad6e204c

BUG=chromium-os:13616
TEST=./setup_board and ./build-packages --nousepkg for arm-generic and x86-generic

Review URL: http://codereview.chromium.org/6792005
2011-04-07 16:54:17 +02:00
Zdenek Behan
e28239d294 enter_chroot: introduce a sync process that synchronizes given files between chroot and host
Currently used for resolv.conf and hosts, because these files can
change during the lifetime of a chroot, for example on computers
with more dynamic network (laptops).

While this creates a persistent process in the background for the
sole purpose of syncing files, the performance impact is negligible.

BUG=12316
TEST=below
1) enter_chroot once+quit, many times + quit, verify correct exit
behaviour
2) enter_chroot, modify host resolv.conf, see chroot being updated

Change-Id: I26573570c027acc2c214a00838a6f982a7585b13

R=robotboy@chromium.org,dparker@chromium.org,sosa@chromium.org

Review URL: http://codereview.chromium.org/6720005
2011-04-07 00:37:20 +02:00
Diego Elio Pettenò
608b3c626f dev-libs/libpcre: import 8.12 version from main tree.
R=cmasone@chromium.org
BUG=none
TEST=./build_packages --nousepkg on x86-generic/arm-generic

Change-Id: I7625063fdd0785b27291a5428c26b2f3eb27bd88

Review URL: http://codereview.chromium.org/6793049
2011-04-06 01:00:34 +02:00
Zdenek Behan
b3cf233d4c build_image: provide USE flags when installing chromeos-dev
This fixes an issue where passing USE= to build_packages would always
cause build_image to fail.

BUG=none
TEST=create a USE-inconsistent package, run build_image, observe it working

Change-Id: Id9eb3891d9c292423c837a0d097a33155f03b794

R=davidjames@chromium.org,kliegs@chromium.org

Review URL: http://codereview.chromium.org/6677163
2011-04-05 23:20:16 +02:00
Diego Elio Pettenò
9572a63302 dev-libs/libp11 import from Gentoo main tree.
This version has the libtool dependency fixed.

R=petkov
BUG=none
TEST=./build_packages on {x86,arm}-generic and check on version built.

Change-Id: I0d90089dc75d91b327558ace89e16cdbc61ddea5

Review URL: http://codereview.chromium.org/6693059
2011-04-05 12:44:39 +02:00
Diego Elio Pettenò
d33e5de0e4 Update m17n packages from Gentoo's main tree.
These versions include all (or better) changes that were applied on
ChromiumOS:

 - the X USE flag for m17n-lib controls GUI without the "false" warning
   about --without-gui;
 - m17n-lib also builds in parallel;
 - m17n-contrib no longer depends on m17n-db at build-time and also skips
   the check for m17n-db;
 - m17n-db includes the patch missing upstream.

R=penghuang@chromium.org
BUG=none
TEST=./build_packages and checked content on {x86,arm}-generic, and
upstream Gentoo tests.

Change-Id: I3ab34ee58e5453c93b11e79fbfd2b84fde33f399

Review URL: http://codereview.chromium.org/6717026
2011-04-05 12:41:35 +02:00
Diego Elio Pettenò
43cbb8d9b1 Import eclasses that are copied verbatim from upstream Gentoo to chromiumos-overlay.
BUG=none
TEST=./setup_board && ./build_packages for {x86,arm}-generic
R=anush,petkov

Change-Id: Ie3be8d96ddcad136aacdde7c1c1393682ac15cdb

Review URL: http://codereview.chromium.org/6691026
2011-04-05 12:32:25 +02:00
Jon Kliegman
dd4ac7ac18 Import xinput-1.5.3 from portage
Import ebuild file from http://gentoo-portage.com/x11-apps/xinput

Importing this ebuild also makes 1.5 the stable version for xinput (from 1.4)

R=davidjames@chromium.org
BUG=NONE
TEST=Manually emerge package
  Run build_packages
  Run xinput on board and observe correct behavior

Review URL: http://codereview.chromium.org/6720034

Change-Id: Ieaf28701be134d4a1b07d3367d2da378da0b0e15
2011-04-04 18:33:19 -04:00
Jon Kliegman
06a9860f20 Import xinput_calibrator
Import 0.7.5 from http://gentoo-portage.com/x11-apps/xinput_calibrator

R=davidjames@chromium.org
BUG=NONE
TEST=Manually emerged package
  Manually gmerged package
  Ran on target and confirmed correct behavior

Review URL: http://codereview.chromium.org/6691045

Change-Id: I304f06cbf79e823089c289aabf5b64112107c9a7
2011-04-04 18:32:56 -04:00
Darin Petkov
51256e2eab Add a brief README describing portage-stable.
Change-Id: Ia13b285e31c0cb0d63c8c0786598678bb5da667b

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/6756045
2011-04-04 12:30:01 -07:00
Diego Elio Pettenò
ad5ed869f0 app-crypt/tpm-tools: backport tpm-tools-1.3.5-r1 from main Gentoo
This version applies the gold patch directly, without ChromiumOS-specific
patching, and also fixes the automagic dependency problem on OpenCryptoki.

BUG=chromium-os:13728
TEST=emerge-{x86,arm}-generic (and misc test in Gentoo upstream)

Change-Id: I2fbec3fc722f9f307721d481db8873d2b3b62e93

Review URL: http://codereview.chromium.org/6792011
2011-04-03 21:10:52 +02:00
Diego Elio Pettenò
b79b6e6772 Add repo_name and layout.conf for portage-stable.
The layout.conf fails declares portage, this overlay and chromiumos as the
reverse-ordered list of overlays to search for eclasses.

Change-Id: I5506c0ca03e9e7d0891f7c08f5463ba9512f74f7

BUG=none
TEST=./setup_board && ./build_packags for {x86,arm}-generic

Review URL: http://codereview.chromium.org/6758048
2011-04-01 13:04:28 +02:00
Hung-Te Lin
a05ed3172e mod_image_for_factor: never touch firmware for factory test images
we don't want any possibility for firmware to be changed in factory setup

BUG=none
TEST=build_image; image_to_usb --factory

Change-Id: Ibef767ea621193afb7fbca5ea96120a506891dcb

R=nsanders@chromium.org

Review URL: http://codereview.chromium.org/6764010
2011-04-01 15:31:02 +08:00
Jim Hebert
8a2e04fab6 Broaden jimhebert watchlist to include both sources of kernelparam changes
Change-Id: If1b04bd996161ace5da9e54d00c2b35dde6e42ba

BUG=chromium-os:13716
TEST=Ran watchlists.py build_image; watchlists.py build_kernel_image.sh; verified I show up.

Review URL: http://codereview.chromium.org/6670131
2011-03-31 14:15:46 -07:00
Darin Petkov
500c52b876 Upgrade libxml2 and its portage dependencies
Upgrade dev-libs/libxml2-2.7.3-r2 to dev-libs/libxml2-2.7.8
Upgrade app-admin/eselect-python-20091230 to app-admin/eselect-python-20100321
Upgrade sys-libs/readline-6.0_p4 to sys-libs/readline-6.1_p2
Upgrade sys-libs/zlib-1.2.3-r1 to sys-libs/zlib-1.2.5-r2

BUG=chromium-os:10373
TEST=x86 and arm: build_packages, build_image, ran suite_Smoke for x86

Change-Id: Ic36959dbd40fc4aed23dfc4c2072402617976638

Review URL: http://codereview.chromium.org/6776028
2011-03-31 09:44:06 -07:00
Chris Sosa
0d5e4ae006 Add better support for getting the path to crosutils.
Change-Id: I83a56ee38d8d666d3b71b4dc323e26076fab7d96

BUG=chromium-os:13498
TEST=Ran unittests.

Review URL: http://codereview.chromium.org/6765001
2011-03-30 11:22:17 -07:00
Mandeep Singh Baines
63ca269c69 build_image: set verity_depth default to 3
This is in preparation for moving to a level 0 count of 1.

Seems to give about 200ms boot speedup.

Before(verity_depth = 1):

  seconds_power_on_to_login                                       7.73
  seconds_power_on_to_login{1}                                    7.97
  seconds_power_on_to_login{2}                                    7.8
  seconds_power_on_to_login{3}                                    7.86
  seconds_power_on_to_login{4}                                    7.84
  seconds_power_on_to_login{5}                                    7.81
  seconds_power_on_to_login{6}                                    7.85
  seconds_power_on_to_login{7}                                    7.85
  seconds_power_on_to_login{8}                                    7.85
  seconds_power_on_to_login{9}                                    7.82

After(verity_depth = 3)

  seconds_power_on_to_login                                       7.57
  seconds_power_on_to_login{1}                                    7.89
  seconds_power_on_to_login{2}                                    7.54
  seconds_power_on_to_login{3}                                    7.56
  seconds_power_on_to_login{4}                                    7.53
  seconds_power_on_to_login{5}                                    7.56
  seconds_power_on_to_login{6}                                    7.79
  seconds_power_on_to_login{7}                                    7.58
  seconds_power_on_to_login{8}                                    7.56
  seconds_power_on_to_login{9}                                    7.62

BUG=chromium-os:9752
TEST=platform_BootPerfServer

Change-Id: I7f6e39ad2ed2c2e8ebc463860578c3f97b8295a2

R=wad@chromium.org,jrbarnette@chromium.org

Review URL: http://codereview.chromium.org/6759016
2011-03-30 10:47:48 -07:00
Hung-Te Lin
9cac2869c7 cros mod_image_for_factory: don't enable update engine for factory test images
To get best factory test image performance, we should disable update engine.

BUG=chromium-os:13613
TEST=image_to_usb --factory --to=FACTORY
     then verified /etc/init/update-engine.conf is disabled.

Change-Id: Ifb7b6c821f434ee68625ffea0eb7907c38d77315

R=nsanders@chromium.org

Review URL: http://codereview.chromium.org/6759023
2011-03-30 18:42:43 +08:00
Anush Elangovan
8b8c76b617 Remove deprecated cros_mark_branch_as_stable
Change-Id: Id372faf1f7b0fa8c552d458ca225e8d4e3df2d04
2011-03-29 15:01:27 -07:00
Mandeep Singh Baines
e46aa776a1 cros_workon_make: deprecate
BUG=11507
TEST=Ran and verified that an error is printed.

Change-Id: Icc494be4af8c5e3f462363280d5c17c12e16d24d

R=cmasone@chromium.org,anush@chromium.org

Review URL: http://codereview.chromium.org/6748008
2011-03-29 12:55:32 -07:00
Stéphane Marchesin
7e0b3d8d9f Use 1280x1024 resolution when running ChromeOS under qemu.
BUG=none
TEST=Run ChromeOS under qemu, the screen should be 1280x1024 not 800x600.

Review URL: http://codereview.chromium.org/6768009

Change-Id: I9a73025244a85d3b07e98136b373b00bb40cd9dd
2011-03-29 06:58:17 -07:00
Anush Elangovan
0ed5e34e45 Delete kernel_fetcher and tracker.sh
Change-Id: I68b6510c670e791cabf52c2f359a33f9f40c362a
2011-03-26 10:53:40 -07:00
Scott Zawalski
c1bb3c8bac Add in a gsutil_append_latest bool option to avoid appending ChromeOS-Hash-B#
to the output of images uploaded to Google Storage. This is a stop gap solution
until I migrate all builders to uploading with the new structure.

BUG=NA
TEST=Ran on a finished buildbot to ensure the proper behaviour

Review URL: http://codereview.chromium.org/6749018
2011-03-25 16:56:32 -07:00
Stéphane Marchesin
78bd46d457 Do not enable the use_tablet flag in qemu, as this breaks the mouse.
Change-Id: I52901180e962c463bdaacbc573f93700cf9ab4bd

BUG=None
TEST=Run Chrome OS in qemu, check that the mouse is back.

Review URL: http://codereview.chromium.org/6749020
2011-03-25 16:35:01 -07:00
Chris Sosa
37cccf3c33 Fix vm lib to work both in/out chroot.
Change-Id: I41ca87d7970ce59c7bbbc0e8cdaeaf5bedb43776

BUG=chromium-os:13498
TEST=Ran it both in/out

Review URL: http://codereview.chromium.org/6750012
2011-03-25 15:58:20 -07:00
Chris Sosa
e65e500f53 Restore ssh test as its a direct dep of cros_vm_lib.sh
Moved this incorrectly.  This is only used by
cros_vm_lib.sh and therefore should stay wherever it is.

Change-Id: Ib9cc02479f53184a85345288f6abd8fedffb563e

BUG=chromium-os:13948
TEST=NA

Review URL: http://codereview.chromium.org/6747015
2011-03-25 15:39:30 -07:00
Chris Sosa
e0e1427bd9 Remove unit test blacklist from old location.
Change-Id: Id0fa142e0e4705e0ec742dd2c926687140507dc4

BUG=chromium-os:13498
TEST=Ran other CL's without this file.

Review URL: http://codereview.chromium.org/6713120
2011-03-25 14:22:10 -07:00
Chris Sosa
7cf38f011a Fix archive_hwqual to point to non-py file.
Change-Id: I308680be52f5497dab6c970fcad6c5684e42c6b4

BUG=TreeCloser
TEST=Ran cp manually, confirmed target of symlink was copied correctly.

Review URL: http://codereview.chromium.org/6696097
2011-03-24 19:55:28 -07:00
Zdenek Behan
2ecf7d6ddd crosutils: remove some unused scripts
BUG=13499
TEST=none

Change-Id: I2f2475d4334e058d8ddefc80dbbe8dff6ceb88ad

R=anush@chromium.org,kmixter@chromium.org,gauravsh@chromium.org

Review URL: http://codereview.chromium.org/6730047
2011-03-25 02:29:56 +01:00
Zdenek Behan
7454a5e6f5 build_image: always specify filesystem type for mount
BUG=chromium-os:13221
TEST=Run build_images without ext2 loaded

Specifying a filesystem type explicitly for ext* filesystems will avoid
weird fallbacks like mounting ext2 filesystem as ext3 or even ext4.
Instead it attempts to autoload the given filesystem as a module if
available or fail right away.

Change-Id: I6be7f3f994babd8efc8eda97ea9c802e04d98be6

R=dgarret@chromium.org,sosa@chromium.org

Review URL: http://codereview.chromium.org/6696092
2011-03-25 01:25:41 +01:00
Zdenek Behan
aeb8352706 build_image: silence the "No space left on device" message
BUG=chromium-os:12219
TEST=run it, see the message gone

Change-Id: I54174c50dd38e74989e7d63a798dc7f9ea011933

R=thieule@chromium.org

Review URL: http://codereview.chromium.org/6696095
2011-03-25 01:19:16 +01:00
Chris Sosa
ca2d1d3328 Remove unused crosutils scripts.
Change-Id: I56b70a363426cd36edd81b6c3e12d98620a8a16e

BUG=chromium-os:11172
TEST=NA

Review URL: http://codereview.chromium.org/6732044
2011-03-24 17:06:36 -07:00
Chris Sosa
fd2cdec118 Remove testing utilities and fix symlinks.
For run_remote_tests this required "fixing" restart_in_chroot if required.  Right now that script ->only<- works if its run on a scripts being called from src/scripts.  This change makes it more generic by doing this for any script called from within our source tree.

I borrow reinterpret_path_for_chroot from image_to_live.  Other CL to remove it from there.

Change-Id: If717beccd777ac178366d58b91521b9a62d55d85

BUG=chromium-os:11172
TEST=Ran them

Review URL: http://codereview.chromium.org/6730012
2011-03-24 16:06:59 -07:00
Mandeep Singh Baines
afa1b4ca27 cros_workon: remove this file
The version of cros_workon has been deprecated for 3 weeks. Time to
remove.

BUG=11507
TEST=none

Change-Id: Ie843046ab616519109124b04c7b958f6c28020fb

R=robotboy@chromium.org,anush@chromium.org

Review URL: http://codereview.chromium.org/6676105
2011-03-24 14:04:37 -07:00
Chris Sosa
753977c09b Move some dev scripts into dev/host.
Change-Id: I8233aaab234eb6a3a7948abb1d311c4c9c162190

BUG=chromium-os:11172
TEST=Ran from new symlinks from previous locations.

Review URL: http://codereview.chromium.org/6731005
2011-03-23 14:34:53 -07:00
Darin Petkov
4d4ad01272 Inherit review settings.
BUG=chromium-os:13387
TEST=none
2011-03-22 21:52:21 -07:00
Chris Sosa
8d7caa720a Remove au_test_harness code and change symlinks to point to new location
Change-Id: I55a198e09ceac1e05b766864dbc920bfaedffb1f

BUG=chromium-os:11172
TEST=Tested ctest and cros_au_test_harness running from src/scripts
with buildbot params.

Review URL: http://codereview.chromium.org/6717011
2011-03-22 13:17:39 -07:00