summaryrefslogtreecommitdiffstats
path: root/loader
Commit message (Collapse)AuthorAgeFilesLines
* Completely remove loader/Will Woods2012-02-1564-15024/+0
| | | | IT IS ACCOMPLISHED.
* move linuxrc.s390 out of harm's wayWill Woods2012-02-151-994/+0
| | | | | 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 networking configuration steps from linuxrc.s390 (#783227)David Cantrell2012-02-141-2114/+29
| | | | | | | | | dracut does this now by using the ip= and rd.znet= parameters when booting the system, thus rendering everything linuxrc.s390 does in this area pointless. Some support code is there to ensure that NetworkManager does not drive over the already-configured interface.
* ARCHIVE_DEFAULT_BYTES_PER_BLOCK no longer exists in libarchive-3.0.0Chris Lumens2011-11-141-2/+1
|
* Don't load forcefully load pcspkr. The kernel doesn't (#750830).Chris Lumens2011-11-021-1/+1
|
* Support prefix length in kickstart network --ipv6 option.Radek Vykydal2011-11-011-0/+7
| | | | e.g. network --ipv6=2001:aaaa::1/48
* Support prefix length in ipv6= cmdline option (#679108)Radek Vykydal2011-11-013-12/+29
| | | | | | e.g. ipv6=2001:aaaa::1/48 Related: rhbz#679108
* Change what the third column of lang-table means.Chris Lumens2011-10-312-7/+8
| | | | | | | | It now means "is text mode supported for this language?". It used to store which font we'd use to display the language, where "none" meant that text mode didn't work in that language. However, we don't ever set the font based upon that column and we shouldn't really ever be setting the font ourselves anyway.
* And stop attempting to load our own fonts, since we no longer ship them.Chris Lumens2011-10-312-2/+0
|
* Handle strange lang boot argument values.Ales Kozumplik2011-10-103-3/+33
| | | | | | | | | | First, internally translate '.utf8' to '.UTF-8' so it matches the lang-table. Second, if a language missing from the lang-table is used with lang=, fallback on en_US. Resolves: rhbz#731356
* LANG_DEFAULT lives in lang.c.Ales Kozumplik2011-10-103-4/+7
| | | | Related: rhbz#731356
* Set default BOOTPROTO=dhcp for network service (minimal installs) (#741199)Radek Vykydal2011-10-061-0/+2
| | | | | NM assumes this default but network service (initscripts) won't start the device without the BOOTPROTO value set.
* Fix sigsegv in setKickstartNetwork() (strdup() from a NULL).Ales Kozumplik2011-10-041-14/+10
| | | | | | See also 88eaea1d9e3811e08e56174f93d9362e95494e77. Resolves: rhbz#734967
* Add nfsiso: handling to parseNfsHostPathOptsBrian C. Lane2011-09-301-2/+4
| | | | | This was causing the wrong url to be used when looking for RHUpdates/, updates.img and product.img on an nfs .iso install.
* Check the return value of get_file_list (#741466)Brian C. Lane2011-09-293-5/+6
| | | | | | get_file_list can return a NULL, or a NULL terminated array (which could have the NULL in the first element) so both conditions need to be checked when using the result.
* Return after writing log message, not before.Radek Vykydal2011-09-211-1/+1
|
* Do not reactivate network device needlessly on s390 (#739846)Radek Vykydal2011-09-211-0/+4
| | | | | | | | | | | | | | | | On s390, the device is activated when NM is started due to ifcfg file generated by linuxrc.390. There is no need to reactivate it with the same parameters (it would even lead to fail). This condition (2nd part) from kickstartNetworkUp was causing (or perhaps to put it better - not preventing) the ractivation in case of already having been connected: if ((is_nm_connected() == TRUE) && (loaderData->netDev != NULL) && (loaderData->netDev_set == 1)) return 0; To satisfy it, just set the values properly in readNetInfo (the patch).
* Start NM in loader on s390 until we have systemd init here too (#733680)Radek Vykydal2011-09-211-0/+6
| | | | | This is exactly how we used to do it before systemd took over starting NM for anaconda - commit 4acfadedb038744e6b47af74fe584188f82e44aa.
* Restart NetworkManager to use anaconda's initial ifcfg config (#727951)Radek Vykydal2011-08-101-3/+4
| | | | | | | NM is started by systemd before anaconda writes out initial ifcfg files which results in creating of automatic default connections (e.g. "Wired connection 1"). The settings of auto connections are not persistent so we are ok just restarting the NM.
* ssl: 'noverifyssl' kernel boot argument.Ales Kozumplik2011-08-053-3/+7
| | | | | | | | | | | | Prevents Anaconda from verifying the ssl certificate for all https connections with an exception of the additional repos (where --noverifyssl can be set per repo). For instance, this allows downloading kickstart specified as ks=https://... where the server is using a self-signed certificate. Resolves: rhbz#696696 Related: rhbz#728562
* Don't raise Retry dialog in loader kickstart networking (#722276)Radek Vykydal2011-08-041-4/+1
| | | | | | | | | Instead, fail silently as in RHEL 5 and RHEL 6.0. Depending on whether the network is up, user can be asked for networking later in UI step. Offer the Retry dialog only in the UI step where it actually works (don't for early networking, when fetching ks, or in kicktart). Resolves: rhbz#722276
* Honor linksleep boot option (#713991)Radek Vykydal2011-08-041-3/+4
| | | | | | As in rhel 5. Resolves: rhbz#713991
* don't build functions not used on s390(x)Dan Horák2011-08-021-0/+2
| | | | | There are functions in serial.c that are not used on s390(x) causing problems when -Werror is used, so we add #ifdef/#endif around them.
* variable 'i' ununsed on s390(x)Dan Horák2011-08-021-3/+7
| | | | Variable 'i' is not used on s390(x) causing a build failure with -Werror.
* use macro name instead of valueVratislav Podzimek2011-08-011-2/+2
|
* Remove dogtail support. No one uses it anyway.Chris Lumens2011-07-282-9/+1
|
* Change IsBeta to IsFinalMartin Gracik2011-07-261-1/+1
| | | | | | | When doing composes pungi (and lorax) uses a flag --isfinal, to set a final release, otherwise it is considered a beta release by default. This patch makes the final vs beta more consistent with the composes.
* remove key-files writing in loader (no more needed, NM does it itself)Vratislav Podzimek2011-07-181-50/+0
|
* do not write default ifcfg files for wireless devicesVratislav Podzimek2011-07-181-3/+3
|
* be more defensive -- check values for nonsensesVratislav Podzimek2011-06-223-15/+47
|
* enable netmask setting for wireless connectionsVratislav Podzimek2011-06-223-12/+20
|
* enable dns settings of wireless connectionVratislav Podzimek2011-06-223-10/+27
|
* enable gateway settings of wireless connectionVratislav Podzimek2011-06-223-12/+19
|
* enable wpa in kickstartVratislav Podzimek2011-06-221-3/+55
|
* enable establishing wpa connection in "early networking"Vratislav Podzimek2011-06-224-2/+302
|
* Remove duplicate code.Radek Vykydal2011-06-091-18/+0
| | | | The else branches are doing exactly the same as the if branches.
* HOSTNAME is not per-device/ifcfg setting.Radek Vykydal2011-05-191-2/+2
|
* Do not set hostname in stage 1.Radek Vykydal2011-05-191-9/+0
| | | | | We will do it in stage 2 ks handling. Removed code code is in path that is obsoleted with recent kickstart networking changes.
* Do not write out /etc/sysconfig/network in stage 1.Radek Vykydal2011-05-191-50/+0
| | | | | | | | | These system-wide setting were written for activated device/ifcfg file, which does not make sense now when we allow to activate more than one device in stage 1. We will write its NETWORKING, IPV6_NETWORKING, GATEWAY, IPV6_DEFAULTGW, HOSTNAME in stage2, or even let NM do the job (there is new method SaveHostname in NM dbus API 9.0).
* Revert "Don't run localedef in loader if we're just doing English."Chris Lumens2011-05-171-52/+48
| | | | This reverts commit 7f3b8c939f8a51f70a1ac628ed7997290079441b.
* Don't run localedef in loader if we're just doing English.Chris Lumens2011-05-161-48/+52
| | | | | This change only wraps all the localedef running in an if statement. There's no need to run localedef for English since we ship that pre-compiled.
* Update the requirements for memory..David Lehman2011-05-051-10/+1
| | | | | | | | New minimum for physical memory is 768MB. New minimum memory for us to not require swap space is 1152MB. Related: rhbz#696805 Related: rhbz#699770
* Display a banner when (re)starting Anaconda.Ales Kozumplik2011-04-211-6/+8
| | | | Also do restart-anaconda a bit sooner.
* restart-anaconda: no need to redownload the updates.Ales Kozumplik2011-04-211-11/+5
| | | | | | | | | Now when the method is called so early in loader the updates are downloaded as a part of the normal process. Doing otherwise in fact triggers rhbz#698202 (a rather convoluted NM problem) and we end up stuck in loader trying to bring up network. Related: rhbz#698202
* loader: always call klogctl to disable kernel logging in the console.Ales Kozumplik2011-04-191-2/+2
|
* Fix SIGSEGV for netwowrk --device=<MAC> which is not found (#697432)Radek Vykydal2011-04-181-3/+2
| | | | | | | | | We ended up with netDev_set == 1 and netDev == NULL in the case which resulted in SIGSEGV later. The patch sets netDev to value of --device option which leads to asking in UI as in other similar cases. Resolves: rhbz#697432
* Revert "Don't write HWADDR into ifcfg files (#690589)"Radek Vykydal2011-04-181-0/+4
| | | | | | This reverts commit 6f7ccb89bf9f99f7f0bb4503c9f73a65ce69b841. HWADDR is required for BOOTPROTO=ibft, and more importantly ifcfg-rh/NM needs it when activating devices.
* Fix building with --disable-selinux (mark@foresightlinux.org).Chris Lumens2011-04-151-3/+4
|
* Set ANACONDA=1 in the udev environment early in anaconda.Chris Lumens2011-04-151-0/+3
| | | | | | We need this so udev will trigger all our special rules, since we are no longer starting udev ourselves and there's no clean way to add this into the systemd service file.
* Move most anaconda mount points to be under /mnt/install.Chris Lumens2011-04-137-113/+113
| | | | | | | /mnt/sysimage stays where it is because that's fairly widely established and known outside anaconda, whereas all these other mount points are private anaconda knowledge. /mnt/source is somewhat widely used, but I have cautioned people about getting used to that.