Limit customizations for mere Ubuntu localization packages
Bug #881371 reported by
Martin Pitt
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-defaults-builder (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt | ||
Precise |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
defaults-builder can change a lot of settings which go beyond mere localization and are meant for derivatives or OEM projects, such as changing the wallpaper, adding bookmarks, or changing the browser startpage.
dh_ubuntu_defaults should fail if any of these settings are changed and the package name starts with "ubuntu-". There can possibly be a --force flag for testing.
Related branches
Changed in ubuntu-defaults-builder (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Martin Pitt (pitti) |
status: | Triaged → In Progress |
Changed in ubuntu-defaults-builder (Ubuntu): | |
status: | In Progress → Triaged |
Changed in ubuntu-defaults-builder (Ubuntu Precise): | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
It's been a while since we discussed this, but it occurred to me that we didn't really drill it down to the specifics.
So I think the following should be allowed for ubuntu-defaults-* packages:
- Additional dependencies (depends. txt/recommends. txt) radiostations. txt) searchengine. txt) {menu,toolbar} .txt)
- Arbitrary code to customize stuff on the CD (hooks/chroot); e. g. the Chinese image uses this to remove the English LibreOffice translations and pinyin ibus module, i. e. stuff that becomes redundant.
- All i18n settings (i18n/*)
- Default radio stations (multimedia/
- webbrowser search engine (webbrowser/
- Additional default bookmarks (bookmarks-
The following should only be allowed for packages which are not named ubuntu-defaults-*, i. e. OEM projects:
- Desktop background (desktop/ background. jpg) default- applications. txt) default- session. txt), e. g. ubuntu-2d or xubuntu
- Preferred applications to open documents (desktop/
- Session (desktop/
The following are not quite clear, and they might or might not be appropriate:
- Additional starters in the unity launcher (unity/ launchers. txt and desktop/*.desktop) www.hao222. com/index. htm?tn= ubuntuu_ hao_pg, which was requested by the OEM team back then, but might not be what we want?
- webbrowser start page; the French image uses our layout and ubuntu client ID, but adds an additional link to the French shop; the current Chinese ISO uses http://