Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(461)

Issue 517003: Change install_packages.sh to run from outside of the target rootfs (Closed)

Created:
11 years ago by tedbo
Modified:
9 years, 7 months ago
Reviewers:
Bill Richardson
CC:
chromium-os-reviews_googlegroups.com
Visibility:
Public.

Description

Change install_packages.sh to run from outside of the target rootfs and install debs into the target rootfs. This will still run the maintainer scripts, but it is a step in the right direction to being able to create a cross-compiled image. This will allow us to experiment with disabling the maintainer scripts and attempt to get that working. It also makes it easier to modify the install_packages script since it now has access to shflags and the source tree properly. This CL also cleans up stuff doing in build_image.sh to bind mount the trunk into the target rootfs, set up packages for install there, etc. The next step is to experiment with disabling maintainer scripts. One possible way to do that would be to put a shim in place of dpkg so that when apt calls dpkg it install a package we call dpkg-deb with a simple unpack instead. This would allow us to continue to use the good nice features that apt provides.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -104 lines) Patch
M src/scripts/build_image.sh View 6 chunks +13 lines, -57 lines 0 comments Download
M src/scripts/install_packages.sh View 2 chunks +95 lines, -47 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
tedbo
11 years ago (2009-12-23 01:04:28 UTC) #1
Bill Richardson
11 years ago (2009-12-23 05:14:39 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698