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

[f17 master 0/2] fixup eject handling (#787461)

From: "Brian C. Lane" <bcl redhat com>

This patchset replaces my previous one. It depends on lorax creating images
with dracut --prefix=/run/initramfs/ so that we can access the dracut shutdown
hooks. This will be in the next lorax build (17.6)

Instead of ejecting the media out from under the install we will now write
a shutdown hook that handles the eject as one of the last things the system

during shutdown systemd uses the /run/initramfs/shutdown script from dracut,
this allows us to eject the media after everything had been unmounted so that
the installer doesn't crash.

Brian C. Lane (2):
  add dracut shutdown eject hook function (#787461)
  use a dracut shutdown hook to eject media (#787461)

 anaconda                    |    5 ++---
 pyanaconda/constants.py     |    2 ++
 pyanaconda/installmethod.py |    8 ++++----
 pyanaconda/iutil.py         |   24 ++++++++++++++++++++++++
 pyanaconda/yuminstall.py    |   34 +++++++++-------------------------
 5 files changed, 41 insertions(+), 32 deletions(-)


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