| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Forgot to add it to the specfile, so builds failed. Whoops.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
Makefile.am
anaconda
anaconda.spec.in
loader/loader.c
loader/net.c
loader/unpack.c
po/POTFILES.in
pyanaconda/__init__.py
pyanaconda/bootloader.py
pyanaconda/cmdline.py
pyanaconda/constants.py
pyanaconda/dispatch.py
pyanaconda/errors.py
pyanaconda/flags.py
pyanaconda/iutil.py
pyanaconda/kickstart.py
pyanaconda/platform.py
pyanaconda/storage/__init__.py
pyanaconda/storage/devicetree.py
pyanaconda/storage/fcoe.py
pyanaconda/storage/formats/swap.py
pyanaconda/storage/iscsi.py
pyanaconda/storage/partitioning.py
pyanaconda/yuminstall.py
scripts/makeupdates
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We don't actually need the contents of /run/initramfs/usr while inside
anaconda, so we can compress it and stick it in /boot, saving ~28MB RAM.
To be able to shut down properly, we'll need dracut-shutdown.service
(and its dependencies) in the runtime; there should be an associated
lorax patch that accomplishes this.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds anaconda-cleanup-initramfs.service, so we can clean
unnecessary/redundant files out of /run/initramfs to save RAM.
The initial cleanup strategy is to remove kernel modules, firmware, and
the ssl certificate store, because the anaconda runtime has all these
things already. This saves about 40MB RAM.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In F15 we started removing the glibc locale files and locale-archive in
lorax, because they took up around 100MB RAM once anaconda started.
In F16 and later the runtime stays compressed, so those files would take
up around 4MB RAM. Running localedef takes much more RAM than that, so
it's not worth the added complexity anymore.
This basically reverts the following commits:
eb7732732d579af57d194131b61e75f5750e19a6
ad7adf6b6eb62af29e9819b6597d36332c90e853
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
https://bugzilla.redhat.com/show_bug.cgi?id=827116
The default on PowerPC machines is to change the boot order to boot into the
newly installed drive. There are install scenarios where this is not
preferable. So, I have added a new boot commandline and kickstart option
called leavebootorder.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Additionally, when RUNKS is provided, default to the "cmdline"
interface. On s390x if any other more advanced interface is used, the
console will get garbled. Other interface options provided in the
kickstart file will override this default.
|
| | |
| | |
| | |
| | |
| | | |
Apparently systemd/udev no longer create units for tty* devices; without
those units anaconda-shell@.service wouldn't start.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We weren't handling the "empty $ksdev" case, which (as it turns out) is
legit for 'ks=cdrom'.
Note that the old option was "ks=cdrom[:<path>]". Rather than trying
to cleverly detect the difference between a device and path, we're
making it "cdrom:<dev>:<path>", which matches the "hd:.." argument.
Thus if you want to specify a path for the kickstart but not the CDROM
device, do: ks=cdrom::<path>
<path> defaults to '/ks.cfg', as always.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Separate /usr was specifically disabled because dracut didn't know how
to mount /usr by itself; it does in the F17 final release, so this can
be removed.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
On s390x we want the user to ssh in to the install@ account. This way
they have a functioning terminal in which to run the curses text install
or jump to the vnc install. It also gives them a place where pdb will
work if they need to debug the install.
Some of the code here was grabbed from vnc.py to figure out the network
IP and name to prompt the user with.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This creates an ExecStartPre on the anaconda-sshd.service that will
check for a kickstart entry for sshpw. It will add/modify users
accordingly prior to launching the sshd service. Since now sshpw and
sshd bring up happens outside of and before anaconda starts, we can
remove sshd.py and any reference to it.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds another chunk to the anaconda-generator that will figure out
what services go where. In this case, we enable the sshd service when
inst.sshd or sshd is found as a command line option, or if we're on
s390x (because the console sucks there).
|
| | |
| | |
| | |
| | |
| | |
| | | |
In the case of clearpart we could be running pvremove on a pv that
is still associated with a vg, so lvm makes us do this for our own
protection.
|
| | |
| | |
| | |
| | | |
Related: rhbz#797065
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
NFS filesystems aren't mountable in anaconda, so it won't get mounted,
but it not being marked as existing causes the traceback before we
check if it's mountable.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This keeps the triggering to just the dasd devices, as apparently there
is a race condition with mpath stuff if we trigger everything this
early.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This change goes with dracut changes to consolidate syntax used for
rd.dasd=/rd_DASD=/DASD= dracut options. The syntax used is the syntax
supported by the dasd_mod itself.
|
| | |
| | |
| | |
| | |
| | | |
Since we're setting it ourselves, letting grub2-install do it will
just cause problems.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Before we'd return all the features, even the ones set to 0, now we only
return the ones that are set to 1. Having all the features returned can
lead to a zipl.conf file that has too long of lines.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of manipulating the path outside of anaconda, which can get
tricky when starting anaconda from ssh, instead update the path inside
anaconda itself. This means we can't get things like os, sys, etc..
from /tmp/updates/, but an updates image can replace these modules by
using the full path to them (e.g. /usr/lib/python...)
|
| | | |
|
| | |
| | |
| | |
| | | |
This furthers the work in 41f9a52d2
|
| | | |
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is probably the final merge from f17-branch, since we're at the RC
stage and nobody seems to be screaming for a new build.
* f17-branch:
New version.
Partially revert "We have a grub2 theme now, so say to use it." (#822123)
New version.
anaconda-cleanup: umount /run/media too (#820750)
Disable md /boot and /boot/efi on EFI. (#816823)
dracut: use nfs3 by default (#811242)
script.py error message needs gettext
We have a grub2 theme now, so say to use it.
New version.
dracut: automatic updates.img for http/ftp (#809647)
Install grub2 /before/ writing the config file (re: rhbz #809111)
makeupdates: ignore most of data directory
handle 'cdrom' methodstr (#817084)
Simplify what we dump in device.map for grub2-2.0-0.24.beta4.fc17 .
be more clear about kickstart keyboard errors (#789725)
Fix suggestDeviceName to correctly avoid in-use lv names. (#812528)
Notify the kernel/udev after creating swap space. (#818352)
New version.
lower minimum memory requirements by 256M (#708966)
liveinst/gnome: Add a welcome screen for use by the Desktop spin
Conflicts:
anaconda.spec.in
configure.ac
po/anaconda.pot
pyanaconda/bootloader.py
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This (partially) reverts commit 6171b868630afc2b7daaed149e4af6b561a3689f.
rhbz#822123 is looking pretty bad, so we're going to have to roll this
back :/. This version leaves the line in, but commented out for easier
discovery.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Desktop behavior has changed. We need to umount things under /run/media
now. This is further complicated by using the liveuser name in the
mountpoint. So we now:
skip any device with live in the devicename in order to preserve things
like /dev/mapper/live-rw
skip umounting anyting under /run/initramgs (eg. /run/initramfs/live)
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For some unknown reason, nfs-root installs will hang after a couple of
minutes if you're using nfs4. This doesn't happen with nfs3, so force
nfs3 by default.
This breaks the normal fallback to nfs2, so if nfs3 doesn't work you'll
need to change your repo arg to something like 'nfs:vers=2:SERVER:PATH'.
I'm told that nfs2-only servers should be pretty rare at this point, so
I think this is a reasonable requirement.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make anaconda-netroot.sh attempt to fetch updates.img and product.img
from $URL/images/{updates,product}.img, like loader used to do.
It will emit some "404 not found" error messages for the normal case
(i.e. when the images don't exist) but a) the messages should scroll
offscreen quickly and b) we don't really have time to fix that right
now.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As Mads said in the bug:
Anaconda, you should run grub2-install first, then grub2-mkconfig.
grub2-mkconfig might look in /boot/grub2 to see what grub2-install
placed there.
|
| | | |
| | | |
| | | |
| | | | |
Only a few specific items in data need to be updated.
|