[rhel6-branch] Support dd'ing DVD to USB

Brian C. Lane bcl at redhat.com
Sat Jul 13 01:20:16 UTC 2013


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

We can boot the dd'd DVD, but we can't use the repos on it for 2 reasons:

1. The iso9660 on the USB gets ignored because it doesn't have partitions,
which doesn't add it to the protected list.

2. The repo=hd method only looks for iso's, not install trees (which nfs does,
which seems inconsistent).

So This patch fixes #1 by including the anaconda.protected list as part of the
storageInitialize check so that even if it is dropped from the devicetree it
won't stop it from setting up storage.

And it adds support for repo=hd: to point to an install tree so that the tree on
the USB will be used for the install.

I've tested this against a dd'd DVD USB, a normal iso KVM install and a 2 USB
install as described in the RHEL documentation.

Brian C. Lane (1):
  Use install tree from repo=hd (#818233)

 storage/__init__.py | 3 ++-
 yuminstall.py       | 9 +++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

-- 
1.8.3.1



More information about the anaconda-patches mailing list