Commit Graph

8 Commits

Author SHA1 Message Date
Chris Masone
3adf3f71e9 replace test -n ... && clauses with proper ifs
The version of this using test -n syntax didn't work in my chroot.

Review URL: http://codereview.chromium.org/2951007
2010-07-09 16:44:18 -07:00
Will Drewry
fb48fa3500 TBR: mount_gpt_image: fix missing guard for esp
Missing check during mkdir causes failure with -e empty.

The tree broke prior to this commit, but this will break the dev
build so bypassing hooks. sorry.

TEST=reran build_image
BUG=none
TBR=adlr
2010-07-02 16:35:27 -05:00
Will Drewry
61f39fb266 [PATCH 1/5] mount_gpt_image: mount the esp image
Adds support for mounting the esp image.
In the future, all legacy boot loaders will live on
the ESP partition (#12) to avoid modifying the rootfs
partition with bootloader changes in the configuration or
preamble.  This is needed.

TEST=manually reran mount_gpt_image.sh users.
BUG=chromium-os:327

Review URL: http://codereview.chromium.org/2811042
2010-07-02 16:15:22 -05: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
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
Chris Sosa
9673f3b92e Always build pristine image as well as dev/test image.
TEST=Tested build process.  Tested dev image, test image and base image by booting all three and logging in.

Review URL: http://codereview.chromium.org/2106009
2010-05-18 13:24:40 -07:00
Chris Sosa
702618ff2b Move to using chromeos-test to emerge test dependencies in mod_image_for_test.
In addition unifies changes in mount_gpt_image and one-offs in mod_image_for_test
to consolidate gpt / var mounting.

Review URL: http://codereview.chromium.org/2064001
2010-05-14 12:52:32 -07:00
Chris Sosa
fb78b42940 New helper script to mount (and umount) gpt image into image_dir/rootfs and mount /var, /usr/local
Review URL: http://codereview.chromium.org/1648018
2010-04-19 14:56:18 -07:00