From 0ad3b01c96072db50e562bf975cca75473b7a5d1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Dec 2012 11:43:39 +0100 Subject: Adding default hook to remove mdadm configuration. mdadm creates a /etc/mdadm/mdadm.conf configuration file on package installation which contains array information from the build system. --- share/hooks/0110-remove-mdadm-configuration.chroot | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 share/hooks/0110-remove-mdadm-configuration.chroot (limited to 'share') diff --git a/share/hooks/0110-remove-mdadm-configuration.chroot b/share/hooks/0110-remove-mdadm-configuration.chroot new file mode 100755 index 000000000..206b494da --- /dev/null +++ b/share/hooks/0110-remove-mdadm-configuration.chroot @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +# Remove generated files + +rm -f /etc/mdadm/mdadm.conf -- cgit v1.2.3