[ovs-git] [openvswitch/ovs] 3e99b4: openvswitch-switch.postinst: Replace tabs by space...

GitHub noreply at github.com
Wed Jul 12 17:05:16 UTC 2017


  Branch: refs/heads/branch-2.6
  Home:   https://github.com/openvswitch/ovs
  Commit: 3e99b477bc8e872575780234a7b82a23cbd33999
      https://github.com/openvswitch/ovs/commit/3e99b477bc8e872575780234a7b82a23cbd33999
  Author: Gurucharan Shetty <guru at ovn.org>
  Date:   2017-07-12 (Wed, 12 Jul 2017)

  Changed paths:
    M debian/openvswitch-switch.postinst

  Log Message:
  -----------
  openvswitch-switch.postinst: Replace tabs by spaces

There was some inconsistency with some tabs and some spaces
used.

Signed-off-by: Gurucharan Shetty <guru at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>


  Commit: ec3c8dfa8b6e97ede24d8454e5d31097a8129100
      https://github.com/openvswitch/ovs/commit/ec3c8dfa8b6e97ede24d8454e5d31097a8129100
  Author: Gurucharan Shetty <guru at ovn.org>
  Date:   2017-07-12 (Wed, 12 Jul 2017)

  Changed paths:
    M debian/openvswitch-switch.postinst

  Log Message:
  -----------
  openvswitch-switch.postinst: Remove upstart files.

For a while, ubuntu used upstart scripts as an alternative
for sysv scripts. For e.g popular releases like ubuntu12.04
and ubuntu14.04 have upstart infrastructure. From Ubuntu16.04,
they have moved to systemd.

Ubuntu maintainers have a fork of openvswitch packages with
upstart scripts. When a user installs openvswitch-switch
package on a ubuntu 14.04 with 'apt-get install openvswitch-switch',
two upstart files are added to /etc/init directory.

Now, when the same user builds debian packages from this repo
and then installs them, the older upstart files don't get
deleted. What this means is that a command like
'invoke-rc.d openvswitch-switch restart' calls initctl scripts
instead of sysv script that this repo provides. In our sysv
scripts we have logic to carefully upgrade kernel module and
save openflow flows. This breaks the intent of the package from
this repo.

This commit deletes any stale upstart files that have remained
in the system.

Signed-off-by: Gurucharan Shetty <guru at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/b0a47d0d404f...ec3c8dfa8b6e


More information about the git mailing list