The postinst file used in the ubuntu package was auto-generated by debhelper command sequencer [1]. I will start the process of including your postinst and prerm scripts instead of relying on debhelper command sequencer auto generated ones.
[1] http://manpages.ubuntu.com/manpages/zesty/man1/dh.1.html ** Changed in: gce-compute-image-packages (Ubuntu) Assignee: (unassigned) => Philip Roche (philroche) ** Changed in: gce-compute-image-packages (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668327 Title: Startup scripts get run when guest packages are updated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gce-compute-image-packages/+bug/1668327/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs