Merge lp:~sergiusens/phablet-tools/package_install into lp:phablet-tools

Proposed by Sergio Schvezov
Status: Needs review
Proposed branch: lp:~sergiusens/phablet-tools/package_install
Merge into: lp:phablet-tools
Diff against target: 13 lines (+1/-2)
1 file modified
phablet-config (+1/-2)
To merge this branch: bzr merge lp:~sergiusens/phablet-tools/package_install
Reviewer Review Type Date Requested Status
Paul Larson (community) Needs Fixing
Ricardo Salveti (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+215777@code.launchpad.net

Commit message

phablet-config: always apt-get update if packages need to be installed after writable image is set

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Good, thanks.

review: Approve
Revision history for this message
Paul Larson (pwlars) wrote :

If I'm reading this correctly, this would cause every writable image to also run apt-get update. As asac mentioned on IRC, that would not be good, since it could cause unwanted updates to come in when autopilot debs are installed for those packages that still use debs for their tests.

review: Needs Fixing
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

I don't think this is an issue, but indeed it might cause other side effects we're not yet able to handle.

The problem of not updating the archive index is that it might not be able to find the desirable packages, which is also a problem. If the testing tool really want to make sure a specific version is installed, it should for that instead.

Unmerged revisions

266. By Sergio Schvezov

phablet-config: always apt-get update if packages need to be installed after writable image is set

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'phablet-config'
2--- phablet-config 2013-12-12 23:45:16 +0000
3+++ phablet-config 2014-04-14 23:30:54 +0000
4@@ -154,8 +154,7 @@
5 for ppa in args.ppa:
6 adb.shell('add-apt-repository -y %s' % ppa, False)
7
8- if args.package_dir or args.ppa:
9- adb.shell('apt-get update -qq')
10+ adb.shell('apt-get update -qq')
11
12 if args.package:
13 package = ' '.join(args.package)

Subscribers

People subscribed via source and target branches