diff options
author | Daniel Baumann <daniel@debian.org> | 2012-12-12 11:43:39 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:02 +0200 |
commit | 0ad3b01c96072db50e562bf975cca75473b7a5d1 (patch) | |
tree | b9e474318dd372f8e5497de939a1ab1a6640e862 /share | |
parent | 5e75d12e6deb23013ac8d0293620bf60f6050788 (diff) | |
download | vyos-live-build-0ad3b01c96072db50e562bf975cca75473b7a5d1.tar.gz vyos-live-build-0ad3b01c96072db50e562bf975cca75473b7a5d1.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 |