| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
This service operated under the assumption that the initramfs would be
saved at /run/initramfs. Otherwise, it doesn't do anything.
And initramfs doesn't get saved to /run/initramfs anymore. So this
service no longer does anything.
This patch removes it.
|
|
|
|
|
|
|
|
|
|
|
| |
The idea here is that by adding a gradient up top, the "Done" button looks
more like it belongs with the header than with the widgets down in the
spoke. It also subtly makes the spoke look like a subpart of the hub.
Adding this required adding an additional internal widget, which means also
changing all existing glade files to include this internal widget. Make sure
to build new glade support and install locally (or use the proper makefile
targets) before editing.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Specifically:
anaconda.src:183: W: unversioned-explicit-obsoletes booty
anaconda.src:262: E: hardcoded-library-path in /lib/systemd/system/*
anaconda.src:263: E: hardcoded-library-path in /lib/systemd/system-generators/*
anaconda.src:287: E: files-attr-not-set
anaconda.src:288: E: files-attr-not-set
anaconda.src:289: E: files-attr-not-set
anaconda.src:290: E: files-attr-not-set
anaconda.src:293: E: files-attr-not-set
anaconda.src:294: E: files-attr-not-set
anaconda.src:295: E: files-attr-not-set
anaconda.src:296: E: files-attr-not-set
anaconda.src:299: E: hardcoded-library-path in /usr/lib/dracut/modules.d/80%{name}
anaconda.src:299: E: files-attr-not-set
anaconda.src:300: E: hardcoded-library-path in /usr/lib/dracut/modules.d/80%{name}/*
anaconda.src:300: E: files-attr-not-set
anaconda.src:624: W: macro-in-%changelog %packages
anaconda.src:1234: W: macro-in-%changelog %include
anaconda.src:1680: W: macro-in-%changelog %{nil}
anaconda.src:1733: W: macro-in-%changelog %post
anaconda.src:2160: W: macro-in-%changelog %{nil}
anaconda.src:2325: W: macro-in-%changelog %includes
anaconda.src:2564: W: macro-in-%changelog %packages
anaconda.src:2565: W: macro-in-%changelog %post
anaconda.src:2592: W: macro-in-%changelog %pre
anaconda.src:2788: W: macro-in-%changelog %pre
Updated data/ and data/systemd/ to install to /usr/lib rather than
/lib since the UsrMove thing happened.
Removed the newt and slang BuildRequires since we do not use those
anymore.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
When installing on s390x, we just want to run pure anaconda on the tty.
This will either detect s390x and print out ssh details for the user to
ssh in to continue the install (and get tmux), or if a kickstart was
provided and the RUNKS option was used it will just blast through the
kickstart in cmdline mode. Tmux doesn't work in x3270, the terminal for
s390x, so we have to avoid using it.
|
|
|
|
|
|
| |
Give up on getting cute with payload data to set required or not, just
always make the user visit it. Also don't default the kickstart data to
locked, that can confuse the UI
|
| |
|
|
|
|
|
| |
Since the log copy script copies script logs, we want it to run as late
as possible.
|
| |
|
| |
|
|
|
|
|
|
| |
This goes with a lorax patch that keeps the file around. Since dracut
doesn't expose these files via /run/ anymore we have to keep around the
file(s) we want to use from stage2 environment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
liveinst:
use /dev/mapper/live-osimg-min as the install source. This is the original
filesystem before changes made by the live boot scripts.
updates overwrite unconditionally
anaconda:
handle livecd: method, set method to 'livecd' and partition to the path.
packaging:
Move new-kernel-pkg creation into a helper method, _recreateInitrds
Add a flag to prevent running new-kernel-pkg more than once
livepayload:
mount the install source on INSTALL_TREE and rsync it to the ROOT_PATH
Don't use verbose with rsync, results in huge program.log and slows
down install. Error will be logged.
Ignore rsync errors. It has problems with selinux xattrs. Log the
return value, but continue.
Call _recreateInitrds to create the initrd (#853988)
|
|
|
|
|
| |
We no longer use lang-table for anything. localeinfo.py is module for
accessing data from lang-table.
|
|
|
|
|
|
| |
The mainframe no longer needs an overly complicated shell script to
bring up the complicated installation environment. It boots the way
other architectures do, except on punch cards and lab coats.
|
|
|
|
| |
This is all handled by lorax now, and having it in two places is confusing.
|
|
|
|
|
|
| |
We need this to see tracebacks that happen before exception handling is set
up. This includes a fair number of tracebacks, as we are very sloppy with
our importing.
|
|
|
|
|
|
|
|
|
| |
It's up to firstboot to set up the first user as the admin. Or, the user
can go through with a kickstart install.
This requires an updated version of pykickstart that understands the rootpw
command doesn't need a password argument if it's just going to lock the
account.
|
|
|
|
|
|
| |
Otherwise, it won't start and thus anaconda won't start. The other way to
fix this would be to add stuff to lorax to move the file into place, but I
don't want to make lorax changes.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
Makefile.am
anaconda
data/systemd/anaconda.target
pyanaconda/bootloader.py
pyanaconda/constants.py
pyanaconda/iutil.py
pyanaconda/kickstart.py
pyanaconda/network.py
pyanaconda/vnc.py
scripts/makeupdates
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Having a shell on tty2 or hvc1 is convenient.. if you have tty2 or hvc1.
But not everyone does - think s390, or POWER, or remote virt guests.
Instead, let's run anaconda inside a tmux session, with windows
pre-configured with a shell, anaconda.log, program.log, and storage.log.
We set this up by using two services: anaconda.service, and
anaconda-tmux@.service.
anaconda.service starts anaconda (and starts watching the logs) inside a
detached tmux session, on screen 1. It also starts a shell on screen 2,
and 'tail -F' on anaconda.log, storage.log, and program.log on screens
3, 4, and 5.
anaconda-tmux@.service will be instantiated on the default console
(tty1, hvc0, ttyS0, whatever) and connect to the running tmux session,
which will show screen 1 - and thus the text UI (if any) appears.
Exiting tmux just restarts anaconda-tmux@.service, which reconnects to
the existing session, so you can't accidentally kill the installer by
leaving tmux.
|
| |
| |
| |
| |
| | |
Commit c8c14c9 deleted these two files, but they got resurrected in some
merge somehow. Delete them again, since we don't need them.
|
| |
| |
| |
| |
| |
| |
| | |
Rule #1 of Computing: It Works Better When You Turn It On.
Make anaconda.target request anaconda-cleanup-initramfs.service so it
actually gets started.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds a new logfile for packaging (/tmp/packaging.log) which will
contain everything related to yum and rpm as well as other package
systems when they are added. This also re-adds logging of the rpm
scriptlet output.
The 'Installing ...' messages end up being logged twice. Because rpm
only logs to a file we capture the scriptlet output along with the
package install message so that you can associate scriptlet problems
with their package. This adds this file's log to our logs after the
transaction is complete (or fails).
|
| |
| |
| |
| |
| |
| | |
Kickstart and interactive installs differ in certain default settings. This
allows loading those differences from somewhere without having to complicate
the code with lots of conditionals.
|
| |
| |
| |
| |
| | |
Without gui.py and iw/, they're not useful anymore except as examples of
what not to do on newui.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Rule #1 of Computing: It Works Better When You Turn It On.
Make anaconda.target request anaconda-cleanup-initramfs.service so it
actually gets started.
(cherry picked from commit d0ca82e99bc817bbe18ed8c06cb5c957c72e0f7a)
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
Apparently systemd/udev no longer create units for tty* devices; without
those units anaconda-shell@.service wouldn't start.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| |
| |
| |
| |
| |
| |
| |
| | |
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 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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Imported from https://github.com/cosimoc/fedora-welcome
This is for Fedora 17 only. It will be moved into its own package
for Fedora 18.
|
| | |
| | |
| | |
| | | |
Resolves: rhbz#735857
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* f17-branch:
Add 'cms' dracut module on s390
New version.
anaconda displays conflicting information when using vnc
run fetch-kickstart-net.sh after setup_net (#804846, #811851)
remove now-unused 'loadkeys' stub
fix 'text' or 'cmdline' in kickstart (#814108)
New version.
Fix a variable reference (#813923)
Complain about "serial" but don't assume ttyS0
Remove double quotes in nvram
add a dialog while running convertfs (#812144)
mount before resizing live image (#811706)
check for valid mountpoints (#748209)
|
| | |
| | |
| | |
| | |
| | |
| | | |
Lorax f17-branch commit 3859368 removes the 'loadkeys' stub from the
installer image; it's not used for anything else so we can delete it
here.
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This brings in the 'noloader' changes from f17-branch.
The changelogs have been dropped from the specfile, but that
was somewhat intentional.
Conflicts:
anaconda
anaconda.spec.in
configure.ac
data/linuxrc.s390
data/systemd/Makefile.am
data/systemd/anaconda.service
data/systemd/anaconda.target
data/systemd/anaconda@.service
data/systemd/loader.service
dracut/Makefile.am
dracut/anaconda-lib.sh
dracut/anaconda-netroot.sh
dracut/kickstart-genrules.sh
dracut/module-setup.sh
dracut/parse-anaconda-kickstart.sh
dracut/parse-anaconda-options.sh
dracut/parse-anaconda-repo.sh
dracut/parse-kickstart
dracut/repo-genrules.sh
po/anaconda.pot
|
| | |
| | |
| | |
| | | |
For F17 updates images are now relative to /
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add a systemd-generator script that puts anaconda on the correct console
tty, then puts shells on tty2 and the first virtualization console
(unless we're using it for anaconda).
Adding "TTYPath" to the systemd services means systemd takes care of
setting up all the terminal stuff - picking the right TERM value,
setting the keyboard mode to K_UNICODE, and all that esoteric weirdness.
Also, move anaconda's dependencies into anaconda.target, and make
anaconda start *after* anaconda.target, just so we can be sure that e.g.
NetworkManager is active before anaconda starts.
(as a bonus, it also shuts off plymouth correctly, just in case we ever
want to have a anaconda-specific bootsplash)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If we brought up any interfaces in stage1, we need NetworkManager to
take them over before anaconda starts.
We *could* do this conditionally and delay NM startup until needed, but
this is the simplest fix for now.
|
| | |
| | |
| | |
| | |
| | | |
initscripts-9.35-1 contains fedora-import-state.service, so we can drop
this from here.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
following getty@.service, make sure we run the shell after plymouth
quits, etc.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
dracut writes out an ifcfg-ethX file and a dhclient lease file for the
interface used to mount the runtime. We need to pass that along to
NetworkManager so it won't bring down the interface we're using for our
root device.
This service copies the contents of the /run/initramfs/state directory
into its intended place, as would normally be done in fedora-readonly
for NFS readonly-root systems.
|
| | |
| | |
| | |
| | |
| | | |
We still need linuxrc.s390 (that's a project for another year), so move
it out of loader/ while we warm up the orbital lasers.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
EVERY LAST REFERENCE TO LOADER MUST BE ELIMINATED RARRRR:
- remove references to loader in analog and makeupdates.
- change the default progname in isys/log.c from loader to anaconda.
- reword comments here and there that refer to loader.
|