]> git.proxmox.com Git - mirror_spl-debian.git/commit
Handle the case /etc/hostid is being wrongly marked as conffile
authorAron Xu <aronxu@gnome.org>
Tue, 27 Sep 2016 18:47:26 +0000 (02:47 +0800)
committerAron Xu <aronxu@gnome.org>
Tue, 27 Sep 2016 20:47:41 +0000 (04:47 +0800)
commitc932eac93e3022588e41b15c5416694443eceffc
treec84b6f25518d99eba7f592710139ea92c080c704
parent635ac71365e64fc802aed6a1a546cf73899341c1
Handle the case /etc/hostid is being wrongly marked as conffile

There are packages distributed with /etc/hostid file installed as conffile,
which is going to cause problem when the package is purged. Here we detect
such case and migrate it to an ordinary file that preserves during purge.

Also replace the endianness detection code to use od(1) from coreutils
instead of requiring gcc
debian/spl.postinst
debian/spl.postrm [new file with mode: 0644]
debian/spl.preinst [new file with mode: 0644]