| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | | |
(cherry picked from commit 080a99e3c6e6b615374733bb3cca93dd78d10294)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This depends only on the block size, which can only be overridden
by someone selecting an fsprofile with a smaller block size.
(cherry picked from commit 8c98f0e06c738b6ebcbced798de43c350ac9dd42)
Related: rhbz#767727
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(cherry picked from commit dc8e4f7bc99cdfef9c53734ba7a9757c2d6bf3cd)
Related: rhbz#725418
|
| | | |
| | | |
| | | |
| | | | |
Also don't use float to compare 2 numbers. Use Decimal instead.
|
| | | |
| | | |
| | | |
| | | | |
(cherry picked from commit 28d457a7f5d21d8dcb2618d8fbb3ee02dfff4d52)
|
| | | |
| | | |
| | | |
| | | | |
(cherry picked from commit 9abd1142cad7b79773c7bec65ca7dd2db61d3875)
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now that we are running from the squashfs.img on the install media
we cannot eject it until shutdown.
Anacona now uses a dracut shutdown hook to handle ejecting any media
that needs to be ejected.
|
| | | |
| | | |
| | | |
| | | | |
dracut runs these from the initramfs just before shutdown/reboot
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Don't generate it for base repo which corresponds to kickstart
install url/nfs/cdrom command.
Don't generate if for addon repos from media, which would fail.
Resolves: rhbz#738577
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Prevents using the same UUIDs for multiple installations when NM creates
UUID for already existing ifcfg file based on hashing of configuration
file name.
Resolves: rhbz#705328
|
| | | |
| | | |
| | | |
| | | | |
brcm_iscsuio is symlink to iscsiuio currently.
|
| | | |
| | | |
| | | |
| | | | |
Resolves: rhbz#755147
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Without it we hit KickstartValueError in stage 2.
|
| | | |\
| | | | |
| | | | |
| | | | | |
into f17-branch
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If you import locale before the file(s) get created, you end up with a
traceback from locale that says:
Error: unsupported locale setting
And this happens no matter what the locale is.
We used to create the locale files for the default lang in loader, so
now let's have anaconda declare a default locale and build its locale
data before we import locale.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Macs object to seeing the active flag set in the pmbr, even if they're
booting via BIOS. Avoid doing that.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Setting a GPT partition as bootable changes it to the EFI system partition
type, which is defined as FAT. Doing this for HFS+ confuses the firmware.
Skip setting it bootable in this scenario - the firmware is fine with that.
|
| | | |/
| | | |
| | | |
| | | |
| | | | |
HFS+ filesystems will be mounted read-only if they're not clean, so get
fstab set up correctly.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It was missing an argument.
Signed-off-by: Brian C. Lane <bcl@redhat.com>
|
| | | |
| | | |
| | | |
| | | | |
hfs+ is called hfsplus in-kernel, so it's needed.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Macs are slightly special in terms of their UEFI implementation. The
easiest way to handle boot choice is via the firmware boot picker menu,
which doesn't make use of EFI boot variables. In order for something to
show up here, the filesystem needs to be HFS+ and have some magic done
to it. Handle this case by detecting that we're on a Mac and using an HFS+
/boot/efi partition rather than a FAT one. That lets us then install the
mactel-boot package which will deal with configuring the bootloader.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
We'll want to actually create HFS+ partitions, so add the missing bits
for that.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
(cherry picked from commit 15307cc091212cc69b599b90c239492c9c9586ec)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We switched from using the lvs command to the pvs command in our
udev rules, so now we have to count the _mimage_XX volumes to
determine the number of stripes in a mirrored lv.
(cherry picked from commit a61db25a98baae3cc56e5b6ede693ba887662ba6)
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When an installed system cannot be upgraded it may be helpful to know if
it was the product, version or arch that didn't match. This propagates
that info up from productUpgradable so that it can be show to the user.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Macs won't boot with the PMBR boot flag set, and EFI systems won't need
it set so skip it when the system is an EFI system.
Signed-off-by: Brian C. Lane <bcl@redhat.com>
|
| | | | |
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merge the noloader branch into master. Hooray!
Conflicts:
data/systemd/Makefile.am
data/systemd/anaconda.target
data/systemd/fedora-import-state
loader/loader.c
loader/net.c
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If you're booting from a CD but using a kickstart for other stuff, we
still need to set up / retrigger block stuff *even though you don't have
a repo defined by the kickstart*.
The problem was two things: first, we were leaving $root set to
"anaconda-kickstart", so parse-anaconda-repo.sh didn't change anything.
Second, when root was set to "anaconda-auto-cd" because there wasn't a
inst.repo arg, we never triggered the disk magic. So we never found the
CD.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
So yeah, re-parsing the whole commandline just makes us emit error
messages and doesn't write out the ifcfg lines we wanted, so let's not
do that.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(note that the one for the ksdevice will get overwritten by dracut,
but that's OK)
update comments to reflect current limitations etc.
oh, and AFAICT loader just uses DHCP for BOOTP, so handle BOOTP like
DHCP if we see that. (which we won't.)
|
| | | | |
| | | | |
| | | | |
| | | | | |
I guess some people might want this?
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
First, cleanup: don't bother with /tmp/ks.info, export "$ksdevice".
Next: we need to specify which net interface is the bootdev if we've got
more than one. So:
- if we get a specific ksdevice from the cmdline, set "bootdev=$ksdevice"
- otherwise (ksdevice=link etc.) set $ksdevice when a device comes up..
- ..and set "bootdev=$ksdevice" from parse-kickstart if needed.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Re-running the cmdline hook will cause the 'network' module to write out
the network config files, which should make the 'ifcfg' module write
ifcfg-eth* files, which should fix the kickstart 'network' command.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently anaconda will crash if we don't set rd.luks=0. The others
anaconda can *mostly* handle but historically they would have been set
to 0, so it's more reliable if we do it that way.
Someday soon we'll make sure anaconda can handle already-active devices
and we'll remove this block of code. Really.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The options are stored without "inst." so when parsing boot arguments
we need to first strip the "inst." if present.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Was missing a comma. Whoops.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
udev properties need to be set when udev is running. As it turns out,
that's basically what the pre-trigger hook exists for.
|