audit: do not remove file installed by netplug
authorCarlos Santos <casantos@datacom.com.br>
Tue, 5 Jun 2018 02:08:42 +0000 (23:08 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 5 Jun 2018 07:49:15 +0000 (09:49 +0200)
commit49844baf2f4c0d89954ccd0c138aea39f23c51f1
treee135c7c12d7fa2c5816f1b16b175cb67f761fd80
parentbd30292bd3b6a979e43095079d13fb94d74bdb34
audit: do not remove file installed by netplug

The package recipe uses a post-install hook to remove useless files from
$(TARGET_DIR)/etc/rc.d/init.d and $(TARGET_DIR)/etc/sysconfig. This may
damage packages that install useful files on those directories (such as
netplug, which installs $(TARGET_DIR)/etc/rc.d/init.d/netplugd).

In the future[1] we will reorganize the init scripts and possibly get
rid of /etc/rc.d and /etc/sysconfig but for the moment let's restrict
the file removal to those installed by audit.

1. http://lists.busybox.net/pipermail/buildroot/2018-May/221549.html

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/audit/audit.mk