Commit Graph

4592 Commits

Author SHA1 Message Date
Tom Wai-Hong Tam
0635a240d2 Sync after dd to disk in image_to_usb script.
Fix the bug happened to me that the script completed but the data haven't completely been written to disk.

Review URL: http://codereview.chromium.org/2831001
2010-06-15 10:29:05 +08:00
Tom Wai-Hong Tam
fe3d8268f9 Pack firmware into an image and do update in factory install (separated git).
Since different platforms have different instructions to update their firmware.
In order not to depend on the install shim, we pack all firmware update files
into a single file, i.e. an executable shell script with embedded files.

The original CL (http://codereview.chromium.org/2366001) is reviewed and is
broken down into 5 CLs. This is one of them.

Review URL: http://codereview.chromium.org/2792013
2010-06-14 09:55:41 +08:00
Frank Swiderski
eccb3a945c Update with note.
Review URL: http://codereview.chromium.org/2795008
2010-06-11 17:34:06 -07:00
Nick Sanders
9e305dbae0 Add alternate grub setting for some systems
Review URL: http://codereview.chromium.org/2735017
2010-06-11 15:18:35 -07:00
Bill Richardson
fc752ffdfa Use new cgpt tool when creating images and the pack/unpack scripts.
Review URL: http://codereview.chromium.org/2792011
2010-06-11 09:16:09 -07:00
Zdenek Behan
6f17b5e5fe enter_chroot: when preparing chroot, mount devpts filesystem as well
* This also adds reverse sort into the umount list, because of cascading mounts, so that /foo/anything is always before /foo, and as such is always unmounted first. If the list were not sorted, "mount point busy" errors might occur, depending on various conditions.

TEST=
 1) With a previously created chroot, I ran enter_chroot.sh, and got the correct prompt. After logging out of that prompt, everything else was correctly unmounted, without any error messages. When entering chroot twice from two different shells, everything was correctly unmounted after the last shell exited.
 2) Repeat 1 but with cleanly created chroot just for this purpose.
 3) In the chroot, make packages for one board (x86-generic) using build_packages
 4) The messages "openpty failed: 'out of pty devices'" whenever trying to emerge anything (or other commands looking up pts) have disappeared.

Review URL: http://codereview.chromium.org/2714010
2010-06-10 16:50:52 -07:00
Anush Elangovan
587d7498a1 Use git rev-parse --short=8 to get rev
Change-Id: I842fd7c76597a3cadacdfaa3de6b61fa7cb87703

Review URL: http://codereview.chromium.org/2762011
2010-06-10 15:39:19 -07:00
Anush Elangovan
8a27d99a57 Update WATCHLISTS and CRR 2010-06-10 01:36:40 -07:00
Kevin Degi
87336bdef6 Add scripts to update an existing image 2010-06-09 23:52:01 -07:00
Amol Kher
cd129ad232 Added a script to upload debug symbols to breakpad
Review URL: http://codereview.appspot.com/1647041
2010-06-09 17:43:07 -07:00
Paul Stewart
7b7ccc7b0b Create a remote upgrade server to serve up images as a "proxy devserver". Uses devserver in "archive mode". This is useful in situations like the wireless test lab where the development machine is not accessible from the test machines.
Review URL: http://codereview.chromium.org/2724009
2010-06-09 16:22:23 -07:00
Daniel Erat
0db85ef360 Make run_remote_tests.sh support --results_dir_root.
Patch author: Andy Chan <andyc@codeaurora.org>
Original issue: http://codereview.chromium.org/2128016/show
Reviewed by sosa@chromium.org.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/2728006
2010-06-09 15:55:03 -07:00
Daniel Erat
362944a873 scripts: Update .gitignore with entries from main repo.
BUG=none
TEST=none
TBR=anush

Review URL: http://codereview.chromium.org/2724012
2010-06-09 15:49:20 -07:00
Paul Stewart
ed903f64fd s/connman/flimflam/ to match other changes throughout the tree.
Review URL: http://codereview.chromium.org/2731001
2010-06-08 09:49:11 -07:00
rginda
e58b86fdcf remove dev-mode aterm related changes
aterm will be going back into every build for now, so we can revert these dev-mode only changes

BUG=chromium-os:3884
TEST=none yet

Review URL: http://codereview.chromium.org/2669004
2010-06-07 17:50:54 -07:00
Tan Gao
3f4529c375 fix for issue 2610
- add shell script to populate payload partition of a recovery image
    (i.e. copying partition A of a pristine Chrome OS image to partition B
     of a recovery image)

Review URL: http://codereview.chromium.org/2568003
2010-06-07 16:49:39 -07:00
Eric Li
fb80d32861 add fsx and hackbench into the pre-build suite.
Now it is passed build for both x86 and arm generic board type.

Review URL: http://codereview.chromium.org/2644003
2010-06-07 15:15:49 -07:00
David James
c373e2457a Teach mod_image_for_test to disable idle-suspend features.
This prevents the machine from suspending while it is being tested.

TEST=Modified an image for test and verified that powerd did not suspend.
BUG=chromium-os:3694

Review URL: http://codereview.chromium.org/2620008
2010-06-07 14:54:18 -07:00
Tammo Spalink
8d43b4bf8c Add support for sequences of fully automated tests.
Paired with CL: http://codereview.chromium.org/2322004

Review URL: http://codereview.chromium.org/2367001
2010-06-07 16:37:55 +08:00
Tom Wai-Hong Tam
7e12aadbbd Fix missing path of factory files.
Review URL: http://codereview.chromium.org/2562001
2010-06-07 16:11:24 +08:00
Nick Sanders
fc9d6961ce patch upstart for test
Review URL: http://codereview.chromium.org/2675005
2010-06-04 20:19:18 -07:00
Bill Richardson
3fefd2ad79 Only sign kernel for x86 for now. Leave ARM unsigned.
The signing work is being tested and developed on x86, and ARM isn't ready
to use it. Signing the ARM kernel is disruptive. We'll enable it for ARM
later.

Review URL: http://codereview.chromium.org/2599001
2010-06-03 11:03:27 -07:00
Tan Gao
a40ed448fc fix for issue 2610:
- add recovery installer config file (which invokes chromeos-install with
   --recovery flag)
 - update build_image to install recovery_installer pkg and changed base image
   name to recovery_image.bin

Review URL: http://codereview.chromium.org/2081018
2010-06-02 15:45:19 -07:00
Kelly Lucas
761980d21b Added change to include creating a pdf file.
Added CreateDocs.py so that html docs will be created when this script runs.

Review URL: http://codereview.chromium.org/2366003
2010-06-02 13:06:07 -07:00
Chris Sosa
d02af025b2 Enables saving of chromium mini/core dumps
BUG=3283
TEST=Tested by running mod_image_for_test and checking the stateful partiton
on the resulting image and verifying that these files exist in the correct
locations.

Review URL: http://codereview.chromium.org/2107013
2010-06-02 12:30:04 -07:00
Zelidrag Hornung
1d12c1a01d RootFS size customization params added
Review URL: http://codereview.chromium.org/2440005
2010-06-02 10:20:29 -07:00
Paul Stewart
b227081ef5 Fixed size quotation (size is in 512 bytes blocks)
TEST=Verified against known device size and fdisk output
BUG=none

Review URL: http://codereview.chromium.org/2429004
2010-06-02 09:35:14 -07:00
Vincent Scheib
64fbe96184 Developer version number change, includes underscores for increased readability.
BUG=3356
TEST=Run memento_updater.sh and update from chrome about page successfully from developer builds.

Review URL: http://codereview.chromium.org/2114007
2010-06-01 10:12:29 -07:00
Bill Richardson
6795622ce9 Make build_image create a bootable kernel partition.
Modify build_image to use the kernel_utility and the inline bootloader
to generate a bootable kernel partition.

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

Review URL: http://codereview.chromium.org/2377003
2010-05-28 15:38:56 -07:00
Paul Stewart
5337440620 Print out disk manufacturer and product while asking user to confirm write to disk
Review URL: http://codereview.chromium.org/2363002
2010-05-28 13:43:48 -07:00
Bill Richardson
2517edabb7 TBR: davidjames 2010-05-27 22:59:41 -07:00
Bill Richardson
c86f88fc44 Start generating a bootable kernel partition as part of build_image
Modify build_image to use the create_blob utility and the inline bootloader
to generate a bootable (but still unsigned) kernel partition.

Review URL: http://codereview.chromium.org/2112013
2010-05-27 21:44:17 -07:00
Sean O'Connor
07eec0a9c2 Make stateful_update use ping_omaha's flags. small devserver cleanups.
TEST=Tested this by running it locally on my workstation and calling both stateful_update and memento_updater on a ToT build of chromiumOS on an eee1008HA.

Review URL: http://codereview.chromium.org/2283003
2010-05-27 17:53:32 -07:00
Paul Stewart
66dc143902 Add a few more safeguards to image_to_usb.sh so we don't accidentally overwrite a hard drive. Also without the --to option, list USB drives
I've updated the CL to remove the space in the "] ;".  I'm not sure I understand your "size != 0" comment as if the device is just attached for charging, it won't go through the trouble of becoming a USB storage device.  Will chat in person.

Review URL: http://codereview.chromium.org/2269003
2010-05-27 15:56:42 -07:00
David McMahon
d8d5fff361 Created branch 0.7.46.B. Update CHROMEOS_VERSION_BRANCH=47 2010-05-27 15:47:52 -07:00
Anush Elangovan
bb85f8f023 Revert "Teach build_image to pull from buildbot as necessary..."
This reverts commit 6e65e658ff51dc6f3444e8fddb17b3e2b0590661.

Review URL: http://codereview.chromium.org/2315001
2010-05-27 11:00:57 -07:00
Tammo Spalink
f726161e09 This goes together with:
http://codereview.chromium.org/1810006/show

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/1937002
2010-05-27 13:18:56 +08:00
Chris Sosa
b689577aa6 Adds symlink for aterm in /usr/local for xterm.
TEST=Tested with developer build and verified xterm shortcut works correctly

Review URL: http://codereview.chromium.org/2163004
2010-05-25 17:47:51 -07:00
Sean Parent
2898f75335 ACCESS DENIED workaround
Added chrome_root_mount option to specify the mount point to work around a permissions issue.

BUG=3464
TEST=none

Review URL: http://codereview.chromium.org/2126011
2010-05-25 15:06:33 -07:00
David McMahon
fafe98abfa Created branch 0.7.44.B. Update CHROMEOS_VERSION_BRANCH=45 2010-05-24 16:34:12 -07:00
Anush Elangovan
2991604b4e Teach build_image to pull from buildbot as necessary when the package is unavailable locally.
TEST=./build_package && ./build_image for x86-generic and voguet20

Review URL: http://codereview.chromium.org/2074019
2010-05-21 10:09:04 -07:00
Chris Sosa
bfabd932e9 Do not delete src_image if --notest_mod is set.
TEST=From an already built image dir, ran archive_build with --notest_mod
set and verified the image had chromiumos_base_image.bin and chromiumos_image.bin.

Review URL: http://codereview.chromium.org/2111015
2010-05-21 09:54:46 -07:00
Nick Sanders
5fa0950681 add optional facory builds to archive_build
Review URL: http://codereview.chromium.org/2084013
2010-05-20 20:37:14 -07:00
Tan Gao
6c84bea17d fix for issue 2610
- add --recovery flag to chromeos-installer script to install a recovery
    image from partition B onto a device's hard drive
  - add temporary workaround to populate partition B to make installer work
  - TODO(tgao): write a script to populate partition B and remove workaround

Review URL: http://codereview.chromium.org/2127010
2010-05-20 13:46:34 -07:00
robotboy
fa08140093 Create a tool to save a pinned dep file for the current sync.
Review URL: http://codereview.chromium.org/2112003
2010-05-20 10:18:55 -07:00
Chris Sosa
d44550272c Cleanup of adding pristine image and fixing of symlinks in developer image.
TEST=Tested with building a new image, looking in the output directory, running
the image and running vi.

Review URL: http://codereview.chromium.org/2075019
2010-05-20 10:14:06 -07:00
Nick Sanders
7c982f7398 Update factory installer, factory test
* Fix build breaks
* Update to work with EFI bios

Review URL: http://codereview.chromium.org/2132008
2010-05-19 22:17:08 -07:00
Amol Kher
9d2a7980cf Fixing DEFAULT and FACTORY mask to exclude usr/lib/debug folder
I verified that if I whack /usr/lib/debug folder and run build_image, it works fine. This is important since I plan to check in this issue first and then the fix to add debug flags.

Review URL: http://codereview.chromium.org/2113007
2010-05-19 17:30:29 -07:00
Tan Gao
6df5aeeebb fix for issue 2610
- add back in RECOVERY variable since we can't specify value "0" in place
    of boolean flag "--recovery"
  - for recovery image, make ROOT-B 1GB, KERN-B 16MB and stateful partition 1GB

Review URL: http://codereview.chromium.org/2133006
2010-05-19 14:19:55 -07:00
Girts Folkmanis
7a8a838350 Fix factory_install build.
- Don't run test image when building factory_image.
- Bump the size for factory_install image to 300MB, as the existing build_image
  overfills the current size.  The size does not really matter, as our SD card
  copying time depends on the size of the contents, not the disk size.

Review URL: http://codereview.chromium.org/2113013
2010-05-18 22:52:25 -07:00