← Back to team overview

ubuntukylin-members team mailing list archive

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

 

** Also affects: ubuntukylin-default-settings
   Importance: Undecided
       Status: New

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

Title:
  sed hacks in chroot hook script

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

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-default-settings/+bug/1243321/+subscriptions