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.
This commit is contained in:
parent
55c9617e61
commit
79fb672816
|
@ -609,7 +609,8 @@ Set_defaults ()
|
||||||
remove-openssh-server-host-keys \
|
remove-openssh-server-host-keys \
|
||||||
remove-python-py \
|
remove-python-py \
|
||||||
remove-udev-persistent-rules \
|
remove-udev-persistent-rules \
|
||||||
remove-linux-image-backups}"
|
remove-linux-image-backups \
|
||||||
|
remove-mdadm-configuration}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
kubuntu)
|
kubuntu)
|
||||||
|
@ -621,7 +622,8 @@ Set_defaults ()
|
||||||
remove-openssh-server-host-keys \
|
remove-openssh-server-host-keys \
|
||||||
remove-python-py \
|
remove-python-py \
|
||||||
remove-udev-persistent-rules \
|
remove-udev-persistent-rules \
|
||||||
remove-linux-image-backups}"
|
remove-linux-image-backups \
|
||||||
|
remove-mdadm-configuration}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Remove generated files
|
||||||
|
|
||||||
|
rm -f /etc/mdadm/mdadm.conf
|
Loading…
Reference in New Issue