New version.
Merge branch 'f17-branch' of git+ssh://git.fedorahosted.org/git/anaconda into f17-branch
default to msdos disk labels (#816701)

It appears that Lenovo systems aren't the only ones that have problems
booting from GPT labeled disks. This patch does the following:
 * default to msdos labeled disks
 * remove the GPT blacklist
 * remove nogpt cmdline argument
 * add gpt cmdline argument to force use of GPT disklabel
default to msdos disk labels (#816701)

It appears that Lenovo systems aren't the only ones that have problems
booting from GPT labeled disks. This patch does the following:
 * default to msdos labeled disks
 * remove the GPT blacklist
 * remove nogpt cmdline argument
 * add gpt cmdline argument to force use of GPT disklabel
Add initial support for ARM based systems.

Signed-off-by: David A. Marlin <dmarlin@redhat.com>
s390 systems are always headless

loader used to set 'headless' unconditionally for s390 systems, so do
that here.
Fix twisty logic around forcing text mode (#811868)

The existing logic forces text-mode if /usr/bin/Xorg is missing. Except
it doesn't check if you're using VNC first, which caused problems on
certain POWER systems where we're not including Xorg anymore.

We could just add 'and not flags.usevnc' to the if statement but it's
already really, *really* hard to understand what's going on there.

So: this patch cleans up the logic in a way that should be equivalent,
*and* fixes the bug.

A couple notes, if you're checking my work:

- The flags.livecdInstall check was to avoid starting X during liveinst
  (assuming it'd already be running on a live system), so the intent
  there was:
  flags.livecdInstall == flags.preexisting_x11

- The 'isS390' check in the first block was added in commit 4d42471, way
  back in 2004: "enable GUI/VNC installs on mainframe again, there's no
  Xorg binary". So the intent there was:
  isS390 == (flags.preexisting_x11 or flags.usevnc)

Knowing that, you can replace the conditions and do a little juggling
and come up with what I have here. Or something like it.
Fix the permissions on one of the files we write out. (#817171)

The users file should not be og+rx, and the data it's using should be
exported.
Fix the permissions on one of the files we write out. (#817171)

The users file should not be og+rx, and the data it's using should be
exported.
We support resizing ntfs even though it is not supported. (#756319)
Activate devices as needed when parsing /etc/fstab. (#813120)

Any non-root device that appears in /etc/fstab and requires activation
(eg: lvm, md) must be active prior to instantiating an FS instance
for an existing filesystem on that device due to current/minimum size
calculations triggered by the FS constructor.
We support resizing ntfs even though it is not supported. (#756319)

(cherry picked from commit 41f9a52d2ce0ab58535f6245859c165358030999)
Activate devices as needed when parsing /etc/fstab. (#813120)

Any non-root device that appears in /etc/fstab and requires activation
(eg: lvm, md) must be active prior to instantiating an FS instance
for an existing filesystem on that device due to current/minimum size
calculations triggered by the FS constructor.
(cherry picked from commit a8464f82866a19f33443082d9a0710036cc0a6db)
Configure Mac bootloader

mactel-boot-setup needs to be run after install in order to ensure that
Mac-specific bootloader configuration occurs. Make sure this happens.
Bug 816288.
dracut: fix typo (stray '\n' in anaconda.rules)
dracut: add copytree, rename dev_is_mounted->find_mount

copytree() is a function for copying/merging directory trees - useful
for stuff like updates images.

dev_is_mounted is confusingly similar to dracut-lib's 'ismounted', so
it's been renamed for clarity.
dracut: support updates=hd:... (#807982)

Since we've removed all UI from initramfs, plain 'updates' no longer
works if you want to load an updates image from disk.

This adds support for fetching updates images, much the same way as we
do with kickstarts.

Note that I'd really like to merge all the *-genrules.sh / fetch-*-disk
junk, but time is short..
dracut: add anaconda_auto_updates() (product.img/updates.img) (#800107)

So, loader used to look for updates.img/product.img/RHUpdates under
whatever path it was given for the stage2 image. We need product.img for
variant installers (like the RHEL installer) so we need to look for
these things.

Add the anaconda_auto_updates() function to look for these things and
put them in the appropriate places. Also add unpack_updates_img() as a
helper for cleanly unpacking updates images.
Configure Mac bootloader

mactel-boot-setup needs to be run after install in order to ensure that
Mac-specific bootloader configuration occurs. Make sure this happens.
Bug 816288.
New version.