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

Issue 6665047: Add an ebuild for the new factorytest-init package (Closed)

Created:
9 years, 9 months ago by jrbarnette
Modified:
9 years, 6 months ago
CC:
chromium-os-reviews_chromium.org, msb+crosoverlay_chromium.org, adlr+crosoverlay_chromium.org, anush
Visibility:
Public.

Description

Add the chromeos-base/factorytest-init package. BUG=chromium-os:13258 TEST=Build and boot a factory test image Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=289d459

Patch Set 1 #

Patch Set 2 : Exclude certain extraneous changes #

Total comments: 2

Patch Set 3 : Separate out changes to build_packages #

Total comments: 4

Patch Set 4 : Rename the factory_test repo to factory_test_init #

Patch Set 5 : Fixes based on review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -0 lines) Patch
A chromeos-base/factorytest-init/factorytest-init-9999.ebuild View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jrbarnette
This change creates a new factorytest-init package, and is the first step to moving function ...
9 years, 9 months ago (2011-03-17 22:38:45 UTC) #1
Nick Sanders
lgtm
9 years, 9 months ago (2011-03-17 23:19:52 UTC) #2
Nick Sanders
oooops NOT lgtm
9 years, 9 months ago (2011-03-17 23:21:07 UTC) #3
Nick Sanders
okay actually LGTM
9 years, 9 months ago (2011-03-17 23:23:29 UTC) #4
davidjames
http://codereview.chromium.org/6665047/diff/2001/chromeos-base/factorytest-init/factorytest-init-9999.ebuild File chromeos-base/factorytest-init/factorytest-init-9999.ebuild (right): http://codereview.chromium.org/6665047/diff/2001/chromeos-base/factorytest-init/factorytest-init-9999.ebuild#newcode27 chromeos-base/factorytest-init/factorytest-init-9999.ebuild:27: CROS_WORKON_PROJECT="factory_test" Can you add factory_test to the full manifest ...
9 years, 9 months ago (2011-03-17 23:55:33 UTC) #5
davidjames
http://codereview.chromium.org/6665047/diff/2001/chromeos/scripts/build_packages File chromeos/scripts/build_packages (right): http://codereview.chromium.org/6665047/diff/2001/chromeos/scripts/build_packages#newcode189 chromeos/scripts/build_packages:189: PACKAGES="${PACKAGES} chromeos-base/factorytest-init" Could you split this into a separate ...
9 years, 9 months ago (2011-03-18 00:03:12 UTC) #6
jrbarnette
On 2011/03/18 00:03:12, davidjames wrote: > http://codereview.chromium.org/6665047/diff/2001/chromeos/scripts/build_packages > File chromeos/scripts/build_packages (right): > > http://codereview.chromium.org/6665047/diff/2001/chromeos/scripts/build_packages#newcode189 > ...
9 years, 9 months ago (2011-03-18 00:23:39 UTC) #7
davidjames
LGTM
9 years, 9 months ago (2011-03-18 00:34:47 UTC) #8
Vince Laviano
LGTM with comments. http://codereview.chromium.org/6665047/diff/6003/chromeos-base/factorytest-init/factorytest-init-9999.ebuild File chromeos-base/factorytest-init/factorytest-init-9999.ebuild (right): http://codereview.chromium.org/6665047/diff/6003/chromeos-base/factorytest-init/factorytest-init-9999.ebuild#newcode18 chromeos-base/factorytest-init/factorytest-init-9999.ebuild:18: RDEPEND="\ Stylistic nit. The convention that ...
9 years, 9 months ago (2011-03-18 02:15:05 UTC) #9
jrbarnette
9 years, 9 months ago (2011-03-18 18:56:11 UTC) #10
I've uploaded fixes for the comments below.

http://codereview.chromium.org/6665047/diff/6003/chromeos-base/factorytest-in...
File chromeos-base/factorytest-init/factorytest-init-9999.ebuild (right):

http://codereview.chromium.org/6665047/diff/6003/chromeos-base/factorytest-in...
chromeos-base/factorytest-init/factorytest-init-9999.ebuild:18: RDEPEND="\
On 2011/03/18 02:15:05, Vince Laviano wrote:
> Stylistic nit. The convention that I've seen is for the first dependency to be
> on the same line as the open quote and for the close quote to be on the same
> line as the last dependency. An example is the "Ebuild with Dependencies"
> section of http://devmanual.gentoo.org/quickstart/index.html.

True.  I don't know what came over me here...

http://codereview.chromium.org/6665047/diff/6003/chromeos-base/factorytest-in...
chromeos-base/factorytest-init/factorytest-init-9999.ebuild:30: insinto
/etc/init
On 2011/03/18 02:15:05, Vince Laviano wrote:
> This may be overly paranoid, but we might want to precede this line with
"dodir
> /etc/init" to ensure that this directory exists before installing into it.

Ah.  Reading the relevant Gentoo docs, I see that we're not guaranteed
that the chromeos-init package will be merged before this package.
Which, sure enough, means we can't be guaranteed of the existence
of /etc/init...

Powered by Google App Engine
This is Rietveld 408576698