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
f55ff084be
commit
8fd30d15b3
|
@ -630,7 +630,8 @@ Set_defaults ()
|
|||
remove-openssh-server-host-keys \
|
||||
remove-python-py \
|
||||
remove-udev-persistent-rules \
|
||||
remove-linux-image-backups}"
|
||||
remove-linux-image-backups \
|
||||
remove-mdadm-configuration}"
|
||||
;;
|
||||
|
||||
kubuntu)
|
||||
|
@ -642,7 +643,8 @@ Set_defaults ()
|
|||
remove-openssh-server-host-keys \
|
||||
remove-python-py \
|
||||
remove-udev-persistent-rules \
|
||||
remove-linux-image-backups}"
|
||||
remove-linux-image-backups \
|
||||
remove-mdadm-configuration}"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Remove generated files
|
||||
|
||||
rm -f /etc/mdadm/mdadm.conf
|
Loading…
Reference in New Issue