← Back to team overview

ubuntukylin-members team mailing list archive

[Bug 1243321] Re: sed hacks in chroot hook script

 

** Changed in: ubuntukylin
    Milestone: None => trusty-alpha1

-- 
You received this bug notification because you are a member of Ubuntu
Kylin Members, which is subscribed to ubuntukylin-default-settings.
https://bugs.launchpad.net/bugs/1243321

Title:
  sed hacks in chroot hook script

Status in Ubuntu Kylin:
  New
Status in Default settings for UbuntuKylin:
  New
Status in “ubuntukylin-default-settings” package in Ubuntu:
  Triaged

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntukylin/+bug/1243321/+subscriptions