| 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
| |
initscripts-9.35-1 contains fedora-import-state.service, so we can drop
this from here.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
Replace loader.service with anaconda.service, which starts anaconda
directly. Make necessary changes to related files.
|
| |
|
|
| |
see also 6239b2ddc9a595059d20f4672e0140391382a860.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Else systemd doesn't start rsyslogd and all the logs get dumped to ttys.
Resolves: rhbz#736125
|
| |
|
|
|
|
|
|
|
| |
A lot of the stuff loader.service currently requires (udev, syslog,
dbus, etc.) is started by basic.target, so let's have anaconda.target
start after basic.target (much like multi-user.target) and simplify
loader.service's requirements.
(also, there's no such thing as dbus.target)
|
| |
|
|
|
|
| |
This program only runs during installation if the "debug" command line option
is provided. It writes out a /tmp/memory.dat file which can be copied off the
system and processed with the provided gnuplot script to display a graph.
|
| |
|
|
|
|
|
| |
* We don't need to populate /dev.
* We don't need to mount filesystems.
* We don't need to start dbus or udevd.
* We don't need to start a shell in multiple places.
|
| |
|