~canonical-ci-engineering/jenkins-launchpad-plugin/autopilot-testrunner-touch-saucy

« back to all changes in this revision

Viewing changes to mediumtest_install_packages.sh

  • Committer: Francis Ginther
  • Date: 2013-10-15 18:07:36 UTC
  • mfrom: (103.2.1 fix-pin-priority)
  • Revision ID: francis.ginther@canonical.com-20131015180736-l26572uv0rzw4slr
Pin local packages with 1100 instead of 600 to allow downgrading when a higher version exists in a ppa or achive.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
HOME_DIR="/home/phablet"
8
8
 
9
 
echo 'Package: *' > /etc/apt/preferences.d/local-pin-900
10
 
echo 'Pin: origin ""' >> /etc/apt/preferences.d/local-pin-900
11
 
echo 'Pin-Priority: 600' >> /etc/apt/preferences.d/local-pin-900
 
9
echo 'Package: *' > /etc/apt/preferences.d/local-pin-1100
 
10
echo 'Pin: origin ""' >> /etc/apt/preferences.d/local-pin-1100
 
11
echo 'Pin-Priority: 1100' >> /etc/apt/preferences.d/local-pin-1100
12
12
 
13
13
sudo sh -c "echo \"deb file://$HOME_DIR/archive/work/output/ ./\" > /etc/apt/sources.list.d/00localrepo.list"
14
14
cd $HOME_DIR/archive/work/output