Merge lp:~gilir/update-manager/add-lubuntu-upgrade-support into lp:update-manager

Proposed by Julien Lavergne
Status: Merged
Merged at revision: 2350
Proposed branch: lp:~gilir/update-manager/add-lubuntu-upgrade-support
Merge into: lp:update-manager
Diff against target: 78 lines (+21/-2)
5 files modified
AutoUpgradeTester/profile/lubuntu/DistUpgrade.cfg (+4/-0)
DistUpgrade/DistUpgrade.cfg (+6/-1)
DistUpgrade/removal_blacklist.cfg (+1/-0)
UpdateManager/Core/utils.py (+2/-0)
debian/changelog (+8/-1)
To merge this branch: bzr merge lp:~gilir/update-manager/add-lubuntu-upgrade-support
Reviewer Review Type Date Requested Status
Michael Vogt Pending
Review via email: mp+95730@code.launchpad.net

Description of the change

* Add Lubuntu support for the DistUgrader, by adding reference to the lubuntu-desktop meta-package
* Try to not upgrade gnome-bluetooth and gnome-power-manager, previously on Lubuntu, but we don't want them in the upgrade process to avoid pulling many gnome depends (See bug 945215). I use PostUpgradeRemove for this purpose, I hope it's the right one.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'AutoUpgradeTester/profile/lubuntu'
2=== added file 'AutoUpgradeTester/profile/lubuntu/DistUpgrade.cfg'
3--- AutoUpgradeTester/profile/lubuntu/DistUpgrade.cfg 1970-01-01 00:00:00 +0000
4+++ AutoUpgradeTester/profile/lubuntu/DistUpgrade.cfg 2012-03-03 11:55:22 +0000
5@@ -0,0 +1,4 @@
6+[NonInteractive]
7+ProfileName = lubuntu
8+BasePkg = lubuntu-desktop
9+Components=main,restricted,universe
10
11=== modified file 'DistUpgrade/DistUpgrade.cfg'
12--- DistUpgrade/DistUpgrade.cfg 2011-10-19 14:19:43 +0000
13+++ DistUpgrade/DistUpgrade.cfg 2012-03-03 11:55:22 +0000
14@@ -10,7 +10,7 @@
15 # Distro contains global information about the upgrade
16 [Distro]
17 # the meta-pkgs we support
18-MetaPkgs=ubuntu-desktop, kubuntu-desktop, xubuntu-desktop, ubuntustudio-desktop, ichthux-desktop, mythbuntu-desktop, ubuntu-netbook, kubuntu-netbook
19+MetaPkgs=ubuntu-desktop, kubuntu-desktop, xubuntu-desktop, ubuntustudio-desktop, ichthux-desktop, mythbuntu-desktop, ubuntu-netbook, kubuntu-netbook, lubuntu-desktop
20 BaseMetaPkgs=ubuntu-minimal, ubuntu-standard
21 Demotions=demoted.cfg
22 RemoveEssentialOk=sysvinit, sysvutils, belocs-locales-bin
23@@ -71,6 +71,11 @@
24 [mythbuntu-desktop]
25 KeyDependencies=mythbuntu-artwork, mythbuntu-default-settings
26
27+[lubuntu-desktop]
28+KeyDependencies=lubuntu-desktop, lubuntu-default-settings
29+#Remove previous gnome component from lubuntu to avoid pulling gnome depends on upgrade (LP: #945215)
30+PostUpgradeRemove=gnome-bluetooth, gnome-power-manager
31+
32 [Files]
33 BackupExt=distUpgrade
34 LogDir=/var/log/dist-upgrade/
35
36=== modified file 'DistUpgrade/removal_blacklist.cfg'
37--- DistUpgrade/removal_blacklist.cfg 2012-03-02 21:10:52 +0000
38+++ DistUpgrade/removal_blacklist.cfg 2012-03-03 11:55:22 +0000
39@@ -4,6 +4,7 @@
40 ubuntu-desktop
41 kubuntu-desktop
42 xubuntu-desktop
43+lubuntu-desktop
44 # update-manager itself should not remove itself
45 update-manager
46 update-manager-core
47
48=== modified file 'UpdateManager/Core/utils.py'
49--- UpdateManager/Core/utils.py 2012-01-28 06:27:28 +0000
50+++ UpdateManager/Core/utils.py 2012-03-03 11:55:22 +0000
51@@ -368,6 +368,8 @@
52 return "kubuntu"
53 elif "xfce" in denv or "xubuntu" in denv:
54 return "xubuntu"
55+ elif "LXDE" in denv or "Lubuntu" in denv:
56+ return "lubuntu"
57 # default to ubuntu if nothing more specific is found
58 return "ubuntu"
59
60
61=== modified file 'debian/changelog'
62--- debian/changelog 2012-03-02 21:10:52 +0000
63+++ debian/changelog 2012-03-03 11:55:22 +0000
64@@ -16,7 +16,14 @@
65 - Only blacklist unity-2d, not all packages whose names start with
66 unity-2d. (LP: #940196)
67
68- -- Brian Murray <brian@ubuntu.com> Fri, 02 Mar 2012 13:09:08 -0800
69+ [ Julien Lavergne ]
70+ * DistUpgrade/DistUpgrade.cfg, DistUpgrade/removal_blacklist.cfg,
71+ UpdateManager/Core/utils.py,
72+ AutoUpgradeTester/profile/lubuntu/DistUpgrade.cfg:
73+ - Add Lubuntu support, and don't upgrade gnome-compoents which have been
74+ removed from Lubuntu installation (LP: #945215)
75+
76+ -- Julien Lavergne <gilir@ubuntu.com> Sat, 03 Mar 2012 12:45:09 +0100
77
78 update-manager (1:0.156.6) precise; urgency=low
79

Subscribers

People subscribed via source and target branches

to status/vote changes: