diff options
Diffstat (limited to 'DistUpgrade')
| l--------- | DistUpgrade/DistInfo.py | 1 | ||||
| -rw-r--r-- | DistUpgrade/DistUpgradeCache.py | 2 | ||||
| -rw-r--r-- | DistUpgrade/DistUpgradeViewGtk.py | 2 | ||||
| -rw-r--r-- | DistUpgrade/TODO | 7 | ||||
| l--------- | DistUpgrade/aptsources.py | 1 | ||||
| -rwxr-xr-x | DistUpgrade/build-tarball.sh | 4 | ||||
| -rwxr-xr-x | DistUpgrade/dist-upgrade.py | 2 |
7 files changed, 13 insertions, 6 deletions
diff --git a/DistUpgrade/DistInfo.py b/DistUpgrade/DistInfo.py new file mode 120000 index 00000000..bdcd1ba6 --- /dev/null +++ b/DistUpgrade/DistInfo.py @@ -0,0 +1 @@ +../UpdateManager/Common/DistInfo.py
\ No newline at end of file diff --git a/DistUpgrade/DistUpgradeCache.py b/DistUpgrade/DistUpgradeCache.py index ab7e24a4..1711ef1b 100644 --- a/DistUpgrade/DistUpgradeCache.py +++ b/DistUpgrade/DistUpgradeCache.py @@ -19,7 +19,7 @@ class MyCache(apt.Cache): # turn on debuging apt_pkg.Config.Set("Debug::pkgProblemResolver","true") - fd = os.open(os.path.expanduser("~/dist-upgrade-apt.log"), os.O_RDWR|os.O_CREAT|os.O_TRUNC) + fd = os.open("/var/log/dist-upgrade-apt.log", os.O_RDWR|os.O_CREAT|os.O_TRUNC) os.dup2(fd,1) os.dup2(fd,2) diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py index 9bd55d24..3697a49e 100644 --- a/DistUpgrade/DistUpgradeViewGtk.py +++ b/DistUpgrade/DistUpgradeViewGtk.py @@ -235,7 +235,7 @@ class DistUpgradeViewGtk(DistUpgradeView,SimpleGladeApp): self._term.set_font_from_string("monospace 10") self._term.connect("contents-changed", self._term_content_changed) self._terminal_lines = [] - self._terminal_log = open(os.path.expanduser("~/dist-upgrade-term.log"),"w") + self._terminal_log = open("/var/log/dist-upgrade-term.log","w") return self._term def _term_content_changed(self, term): " called when the *visible* part of the terminal changes " diff --git a/DistUpgrade/TODO b/DistUpgrade/TODO index 9d26eefc..df64b54b 100644 --- a/DistUpgrade/TODO +++ b/DistUpgrade/TODO @@ -5,6 +5,11 @@ hoary->breezy (it will crash otherwise) - send a "\n" on the libc6 question on hoary->breezy +breezy->dapper +-------------- +- gnome-icon-theme changes a lot, icons move from hicolor to gnome. + this might have caused a specatular crash during a upgrade + general ------- - CDROM upgrades !!! @@ -42,4 +47,4 @@ Robustness: as possible. The problem here is that e.g. if libnoitfy0 explodes and evolution, update-notifer depend on it, continuing means to evo and u-n can't be upgraded and dpkg explodes on them too. This is not more worse - than what we have right now I guess.
\ No newline at end of file + than what we have right now I guess. diff --git a/DistUpgrade/aptsources.py b/DistUpgrade/aptsources.py new file mode 120000 index 00000000..2f041121 --- /dev/null +++ b/DistUpgrade/aptsources.py @@ -0,0 +1 @@ +../SoftwareProperties/aptsources.py
\ No newline at end of file diff --git a/DistUpgrade/build-tarball.sh b/DistUpgrade/build-tarball.sh index 57185c34..9f01b87c 100755 --- a/DistUpgrade/build-tarball.sh +++ b/DistUpgrade/build-tarball.sh @@ -16,7 +16,7 @@ if [ ! -h $DIST ]; then ln -s dist-upgrade.py $DIST fi -# create the tarbal -tar -c -z -v --exclude=$DIST.tar.gz --exclude=$0 -f $DIST.tar.gz . +# create the tarball, copy links in place +tar -c -h -z -v --exclude=$DIST.tar.gz --exclude=$0 -f $DIST.tar.gz . diff --git a/DistUpgrade/dist-upgrade.py b/DistUpgrade/dist-upgrade.py index 437be42d..632de54d 100755 --- a/DistUpgrade/dist-upgrade.py +++ b/DistUpgrade/dist-upgrade.py @@ -9,7 +9,7 @@ import sys if __name__ == "__main__": logging.basicConfig(level=logging.DEBUG, - filename=os.path.expanduser("~/dist-upgrade.log"), + filename="/var/log/dist-upgrade.log", format='%(asctime)s %(levelname)s %(message)s', filemode='w') |
