← Back to team overview

ubuntukylin-members team mailing list archive

[Bug 1869450] Re: ubuntukylin-default-settings modifies /etc/os-release

 

Hi, Hayden,

this has been approved by the desktop team:

https://bugs.launchpad.net/ubuntukylin/+bug/1331873

** Changed in: ubuntukylin-default-settings (Ubuntu)
       Status: New => Invalid

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

Title:
  ubuntukylin-default-settings modifies /etc/os-release

Status in ubuntukylin-default-settings package in Ubuntu:
  Invalid

Bug description:
  The preinst script in ubuntukylin-default-settings overwrites Ubuntu
  in /etc/os-release:

      sed -i 's/\(NAME="Ubuntu\)"/\1 Kylin"/' /etc/os-release
      sed -i 's/\(PRETTY_NAME="Ubuntu\) 1/\1 Kylin 1/' /etc/os-release

  This results in:

  $ cat /etc/os-release
  NAME="Ubuntu Kylin"                                                                                                     VERSION="20.04 LTS (Focal Fossa)"                                                                                       ID=ubuntu                                                                                                               ID_LIKE=debian                                                                                                          PRETTY_NAME="Ubuntu Focal Fossa (development branch)"

  I am not aware of other flavors that edit /etc/os-release and this is
  out of the ordinary.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntukylin-default-settings/+bug/1869450/+subscriptions


References