~ubuntu-branches/ubuntu/lucid/eucalyptus/lucid-updates

« back to all changes in this revision

Viewing changes to debian/eucalyptus-java-common.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland, Dustin Kirkland, Scott Moser
  • Date: 2010-03-22 17:22:48 UTC
  • Revision ID: james.westby@ubuntu.com-20100322172248-necpo3nto3114zrw
Tags: 1.6.2-0ubuntu20
[ Dustin Kirkland ]
* Continue fixing karmic -> lucid upgrades, LP: #519513
* debian/eucalyptus-java-common.postinst: ensure that the db dir exists
  before running euca_upgrade
* debian/eucalyptus-common.preinst: ensure that the local conf exists
* tools/euca_upgrade:
  - on upgrade, migrate eucalyptus.conf settings to eucalyptus.local.conf
  - on upgrade, migrated $NODES to nodes.list
* clc/modules/msgs/conf/scripts/startup.groovy: change m1.small to 192M
  such that we can actually boot the lucid uec image, LP: #544292

[ Scott Moser ]
* debian/source_eucalyptus.py: fix AttributeError, LP: #520775

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
        if dpkg --compare-versions "$2" lt-nl 1.6.2-0ubuntu1; then
5
5
                # Handled upgrades from Karmic; backup dir was prepared in eucalyptus-java-common.preinst
6
6
                # Do the upgrade
 
7
                mkdir -p -m 700 /var/lib/eucalyptus/db
 
8
                chown eucalyptus:eucalyptus /var/lib/eucalyptus/db
7
9
                /usr/lib/eucalyptus/euca_upgrade --db --new / --old /var/backups/eucalyptus/UPGRADE_IN_PROGRESS.eucalyptus-java-common
8
10
                rm -f /var/backups/eucalyptus/UPGRADE_IN_PROGRESS.eucalyptus-java-common
9
11
        fi