[PATCH] Move udev rules generation to pre-trigger (#958924)

Samantha N. Bueno sbueno+anaconda at redhat.com
Mon May 13 12:59:05 UTC 2013


Ack.

On Fri, May 10, 2013 at 04:16:43PM -0700, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl at redhat.com>
> 
> driver-disk does its own udev trigger so we need to generate these rules
> after it runs. Otherwise it will try to run them twice.
> ---
>  dracut/module-setup.sh | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/dracut/module-setup.sh b/dracut/module-setup.sh
> index bea2da4..8e75e2c 100755
> --- a/dracut/module-setup.sh
> +++ b/dracut/module-setup.sh
> @@ -28,9 +28,9 @@ install() {
>      inst_hook cmdline 27 "$moddir/parse-anaconda-repo.sh"
>      inst_hook cmdline 28 "$moddir/parse-anaconda-net.sh"
>      inst_hook pre-udev 30 "$moddir/anaconda-modprobe.sh"
> -    inst_hook pre-udev 40 "$moddir/repo-genrules.sh"
> -    inst_hook pre-udev 40 "$moddir/kickstart-genrules.sh"
> -    inst_hook pre-udev 40 "$moddir/updates-genrules.sh"
> +    inst_hook pre-trigger 50 "$moddir/repo-genrules.sh"
> +    inst_hook pre-trigger 50 "$moddir/kickstart-genrules.sh"
> +    inst_hook pre-trigger 50 "$moddir/updates-genrules.sh"
>      inst_hook initqueue/settled 00 "$moddir/anaconda-ks-sendheaders.sh"
>      inst_hook initqueue/online 80 "$moddir/anaconda-netroot.sh"
>      inst "$moddir/anaconda-diskroot" "/sbin/anaconda-diskroot"
> -- 
> 1.8.1.4
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches


More information about the anaconda-patches mailing list