diff options
author | Daniel Baumann <daniel@debian.org> | 2012-12-12 11:43:39 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-12-12 11:43:41 +0100 |
commit | 8fd30d15b34ad04867f233a52cdc190a6cbba713 (patch) | |
tree | cfa75a590236518ff32d096881a20f27ec476254 /share | |
parent | f55ff084be6db41a0ef9bfd53172a68f710aaaff (diff) | |
download | vyos-live-build-8fd30d15b34ad04867f233a52cdc190a6cbba713.tar.gz vyos-live-build-8fd30d15b34ad04867f233a52cdc190a6cbba713.zip |
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.
Diffstat (limited to 'share')
-rwxr-xr-x | share/hooks/0110-remove-mdadm-configuration.chroot | 7 |
1 files changed, 7 insertions, 0 deletions
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 |