Notify the kernel/udev after creating swap space. (#818352)
> diff --git a/pyanaconda/storage/formats/swap.py b/pyanaconda/storage/formats/swap.py
> index 860a551..aa169dc 100644
> --- a/pyanaconda/storage/formats/swap.py
> +++ b/pyanaconda/storage/formats/swap.py
> @@ -170,6 +170,7 @@ class SwapSpace(DeviceFormat):
> raise
> else:
> self.exists = True
> + self.notifyKernel()
> finally:
> if w:
> w.pop()
Looks fine.
- Chris
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|