Re: [PATCH 2/5] Remove some udev hackery that was only needed for two-stage env.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/anaconda b/anaconda
> index 8c75205..78bda9a 100755
> --- a/anaconda
> +++ b/anaconda
> @@ -727,23 +727,6 @@ if __name__ == "__main__":
>      from pyanaconda import users
>      from pyanaconda import kickstart
>  
> -    # FIXME: we should be able to get rid of this now that there is only
> -    #        one stage -- dwl
> -    # the following makes me very sad. -- katzj
> -    # we have a slightly different set of udev rules in the second 
> -    # stage than the first stage.  why this doesn't get picked up
> -    # automatically, I don't know.  but we need to trigger so that we
> -    # have all the information about netdevs that we care about for 
> -    # NetworkManager in the udev database
> -    from pyanaconda.baseudev import udev_trigger, udev_settle
> -    udev_trigger("net")
> -    udev_trigger("block") # trigger the block subsys too while at it
> -    udev_settle()
> -    # and for added fun, once doesn't seem to be enough?  so we 
> -    # do it twice, it works and we scream at the world "OH WHY?"
> -    udev_trigger("net")
> -    udev_settle()
> -
>      import gettext
>      _ = lambda x: gettext.ldgettext("anaconda", x)

I think this took us an entire day to come up with.  Good riddance to
bad memories.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux