summaryrefslogtreecommitdiffstats
path: root/data
Commit message (Collapse)AuthorAgeFilesLines
* remove anaconda-cleanup-initramfs.serviceWill Woods2013-02-114-51/+1
| | | | | | | | | | 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.
* Add a gradient background to spoke headers (mizmo, clumens).Chris Lumens2012-12-121-0/+0
| | | | | | | | | | | 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.
* In interactive installs, default to bootloader in the MBR (#885284).Chris Lumens2012-12-111-0/+1
|
* Fixes for PkgWrangler review.David Cantrell2012-11-302-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Rename icons for liveinst (conflict with redhat-logos) (#878037)Radek Vykydal2012-11-2113-7/+7
|
* liveinst should recognize inst.updates too (#865398).Chris Lumens2012-10-111-0/+6
|
* Add a service to run anaconda directly on the ttyJesse Keating2012-10-103-2/+26
| | | | | | | | | 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.
* Require root password spoke be visited (#859069)Jesse Keating2012-10-091-1/+0
| | | | | | 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
* copy-logs changed namesBrian C. Lane2012-10-031-1/+1
|
* Make the log copy script the last one to runJesse Keating2012-10-031-0/+0
| | | | | Since the log copy script copies script logs, we want it to run as late as possible.
* Copy ks script logs into the install root as wellJesse Keating2012-10-031-0/+2
|
* Fix the destination path for anaconda.xlog (#860041).Chris Lumens2012-09-241-1/+1
|
* Use the real path to dracut-lib.sh (#851362)Jesse Keating2012-09-061-1/+1
| | | | | | 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.
* fixup live install (#853988, #854962)Brian C. Lane2012-09-061-6/+2
| | | | | | | | | | | | | | | | | | | | | | 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)
* Remove lang-table and localeinfo.pyVratislav Podzimek2012-09-042-70/+1
| | | | | We no longer use lang-table for anything. localeinfo.py is module for accessing data from lang-table.
* Remove linuxrc.s390David Cantrell2012-08-162-3085/+1
| | | | | | 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.
* Remove the data/bootdisk directory tree.Chris Lumens2012-08-1624-655/+1
| | | | This is all handled by lorax now, and having it in two places is confusing.
* If the anaconda process crashes, don't delete its window.Chris Lumens2012-08-081-1/+1
| | | | | | 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.
* On interactive installs, default the root account to locked.Chris Lumens2012-08-081-0/+1
| | | | | | | | | 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.
* Correct the location of the tmux config file.Chris Lumens2012-08-031-1/+1
| | | | | | 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.
* Merge branch 'master' into newui-mergeChris Lumens2012-08-0311-41/+48
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Run anaconda inside tmuxWill Woods2012-08-028-11/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Re-remove fedora-import-stateWill Woods2012-08-022-27/+0
| | | | | | | | | | Commit c8c14c9 deleted these two files, but they got resurrected in some merge somehow. Delete them again, since we don't need them.
| * Actually start anaconda-cleanup-initramfs.serviceWill Woods2012-06-211-0/+1
| | | | | | | | | | | | | | 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.
* | Add packaging log and scriptlet loggingBrian C. Lane2012-08-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | Add support for loading defaults for an interactive install from a ks file.Chris Lumens2012-07-242-0/+7
| | | | | | | | | | | | 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.
* | Remove the old UI's glade files.Chris Lumens2012-07-1921-7570/+1
| | | | | | | | | | Without gui.py and iw/, they're not useful anymore except as examples of what not to do on newui.
* | Actually start anaconda-cleanup-initramfs.serviceWill Woods2012-07-181-0/+1
| | | | | | | | | | | | | | | | 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)
* | Merge branch 'master' into newui-mergeBrian C. Lane2012-06-2024-73/+3640
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * compress /run/initramfs/usr in initramfs cleanupWill Woods2012-06-192-0/+18
| | | | | | | | | | | | | | | | | | 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.
| * Add anaconda-cleanup-initramfs.serviceWill Woods2012-06-193-1/+39
| | | | | | | | | | | | | | | | | | 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.
| * Drop refs to dev-%i.device from anaconda-shell@.service (#826984)Will Woods2012-06-131-2/+1
| | | | | | | | | | Apparently systemd/udev no longer create units for tty* devices; without those units anaconda-shell@.service wouldn't start.
| * Move sshpw handling out of AnacondaJesse Keating2012-06-081-0/+1
| | | | | | | | | | | | | | | | 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.
| * Use systemd to startup sshd when desiredJesse Keating2012-06-083-1/+23
| | | | | | | | | | | | | | 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).
| * Set the python path within anacondaJesse Keating2012-05-301-1/+1
| | | | | | | | | | | | | | | | 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...)
| * Merge branch 'f17-branch'Will Woods2012-05-185-1/+219
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * liveinst/gnome: Add a welcome screen for use by the Desktop spinKalev Lember2012-05-045-1/+219
| | | | | | | | | | | | | | | | | | | | | 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.
| * | Add auto_vlan option for fcoe devices in UI (#735857)Radek Vykydal2012-05-041-0/+14
| | | | | | | | | | | | Resolves: rhbz#735857
| * | Merge branch 'f17-branch'Will Woods2012-04-241-41/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
| | * remove now-unused 'loadkeys' stubWill Woods2012-04-201-41/+0
| | | | | | | | | | | | | | | | | | 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.
| * | Merge 'f17-branch'Will Woods2012-03-307-46/+2172
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * liveinst: adjust updates path (#807397)Brian C. Lane2012-03-281-3/+6
| | | | | | | | | | | | For F17 updates images are now relative to /
| | * Let systemd handle terminal setup, fix possible race with NMWill Woods2012-03-215-12/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| | * anaconda.service Wants=NetworkManager.serviceWill Woods2012-03-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * fedora-import-state.service is in initscripts nowWill Woods2012-03-163-30/+1
| | | | | | | | | | | | | | | initscripts-9.35-1 contains fedora-import-state.service, so we can drop this from here.
| | * a couple small cleanups/fixes for fedora-import-state.serviceWill Woods2012-03-162-2/+7
| | |
| | * anaconda-shell service tweaksWill Woods2012-03-161-1/+1
| | | | | | | | | | | | | | | following getty@.service, make sure we run the shell after plymouth quits, etc.
| | * add fedora-import-state.service (fix NFS root: #799989)Will Woods2012-03-164-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * move linuxrc.s390 out of harm's wayWill Woods2012-03-162-0/+3084
| | | | | | | | | | | | | | | 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.
| | * Remove misc. references to loaderWill Woods2012-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | | 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.