sed hacks in chroot hook script

Bug #1243321 reported by Aron Xu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Kylin
Fix Released
High
Huan Peng
ubuntukylin-default-settings
Fix Released
High
Huan Peng
ubuntukylin-default-settings (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

There are several sed hacks in ubuntukylin-default-settings's chroot hook script, which is not being tracked by the packaging system and should be done more cleanly. They are:

1. Boot menu names (Grub):
sed -i "s/\`lsb_release -i -s 2> \/dev\/null || echo Debian\`/UbuntuKylin/g" /etc/default/grub

2. LSB distribution description:
sed -i "/DISTRIB_DESCRIPTION/s/Ubuntu/UbuntuKylin/g" /etc/lsb-release

3. Firefox distribution mark:
sed -i "s/Ubuntu/UbuntuKylin/g" /usr/lib/firefox/distribution/distribution.ini

4. Firefox vendor mark:
sed -i "s/canonical/UbuntuKylin/g" /usr/lib/firefox/distribution/distribution.ini

Tags: ubuntukylin
Aron Xu (happyaron)
Changed in ubuntukylin-default-settings (Ubuntu):
status: New → Triaged
Aron Xu (happyaron)
Changed in ubuntukylin:
milestone: none → trusty-alpha1
Jack Yu (jackyu)
Changed in ubuntukylin-default-settings:
assignee: nobody → Huan Peng (penghuanmail)
Changed in ubuntukylin:
assignee: nobody → Huan Peng (penghuanmail)
Changed in ubuntukylin-default-settings:
importance: Undecided → High
Changed in ubuntukylin:
importance: Undecided → High
Revision history for this message
Anthony Wong (anthonywong) wrote :
Jack Yu (jackyu)
Changed in ubuntukylin:
status: New → In Progress
Revision history for this message
Aron Xu (happyaron) wrote :

FYI, item 2 is now reverted:
https://bazaar.launchpad.net/~ubuntukylin-members/ubuntukylin-default-settings/trunk/revision/100

We'll continue research about how this could be done.

Jack Yu (jackyu)
Changed in ubuntukylin-default-settings:
status: New → In Progress
Changed in ubuntukylin-default-settings (Ubuntu):
status: Triaged → In Progress
Changed in ubuntukylin:
milestone: trusty-alpha1 → trusty-alpha2
tags: added: ubuntukylin
Aron Xu (happyaron)
Changed in ubuntukylin-default-settings (Ubuntu):
status: In Progress → Fix Released
Changed in ubuntukylin:
milestone: trusty-alpha2 → trusty-final-beta-freeze
Changed in ubuntukylin:
status: In Progress → Fix Released
Changed in ubuntukylin-default-settings:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.