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

GitHub noreply at github.com
Wed Jul 12 17:04:29 UTC 2017


  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: 750041fd358992377dd2fd0a392b51c1fe383839
      https://github.com/openvswitch/ovs/commit/750041fd358992377dd2fd0a392b51c1fe383839
  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: e49a9a6ad0821599e28ce857cdebaef66cbb2fca
      https://github.com/openvswitch/ovs/commit/e49a9a6ad0821599e28ce857cdebaef66cbb2fca
  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/fec5f434747d...e49a9a6ad082


More information about the git mailing list