summaryrefslogtreecommitdiffstats
path: root/isys
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not include wireless.hDavid Cantrell2008-08-251-1/+0
| | | | File's gone, don't try to include it.
* Rewrite isys.isWireless() to use D-Bus and NetworkManagerDavid Cantrell2008-08-255-112/+30
| | | | | Removed the wireless.c and wireless.h code from isys, since isWireless() in isys.py communicates with NetworkManager now.
* Rewrite isys.getIPAddress() to use D-Bus and NetworkManager.David Cantrell2008-08-252-42/+36
| | | | | | Removed the doGetIPAddress() function from isys.c and have the Python getIPAddress() function talk to NetworkManager to get the IP address and return it to the caller.
* Rename isys/net.h to isys/ethtool.h, removed unnecessary typedefs.David Cantrell2008-08-254-21/+3
| | | | | Removed unnecessary typedefs from isys/net.h and renamed it to isys/ethtool.h. Updated source files accordingly.
* Use NetworkManager instead of libdhcp. (#458183)David Cantrell2008-08-256-391/+521
| | | | | | | | | | | Finally, no more libdhcp. This is the first set of changes to take anaconda over to the wonderful world of NetworkManager. We are no longer linking with libdhcp to do interface configuration. NM is started early in the installation and opens the door to things like WPA installation support and things like that.
* When mount fails, pass the error message up to the UI layer.Chris Lumens2008-08-253-16/+31
|
* Need to import rhpl for things like switching to pdb.Chris Lumens2008-08-191-0/+1
|
* lang: kill xen keymap hackMark McLoughlin2008-08-081-2/+0
| | | | | | | | No idea whether this code will work with current pv_ops xen kernels, but we don't have /proc/xen currently, so the workaround won't work anyway. Signed-off-by: Mark McLoughlin <markmc@redhat.com>
* Do not call _isys.vtActivate() on s390 or s390x platforms (#217563).David Cantrell2008-08-061-0/+2
|
* Make it >= not > for the memory size comparison (#207573)Peter Jones2008-08-061-1/+1
|
* Allow float comparison between nic names in isys.py. (#246135)Joel Andres Granados2008-08-061-2/+2
|
* Don't traceback when trying to remove /mnt/sysimage (#227650).David Cantrell2008-08-061-1/+4
| | | | | | | * isys/isys.py (umount): Don't traceback when trying to remove the /mnt/sysimage tree because we may have /var/lib/rpm data in there already. Occurs when users start a new install and then decide to cancel it and proceed with an upgrade (#227650).
* Display capslock status correctly (#442258)David Cantrell2008-08-042-1/+24
| | | | | | | | On the root password screen, display the status of the caps lock key correctly. The state is shown when the screen initially loads, rather than assuming it is off. The toggle also verifies the key state rather than just switching messages back and forth.
* MD_NEW_SIZE_BLOCKS no longer exists in newer kernel headers.Chris Lumens2008-07-231-3/+3
|
* Offer physical NIC identification in stage 1 (#261101)David Cantrell2008-07-222-0/+26
| | | | | | | | | | This has been requested for a while. Some people have wanted the ability to do an 'ethtool -p' from stage 1 so they can figure out what NIC port to use. I can understand arguments for this feature, but I have still tried to make it more or less non-invasive. A new button is on the dev selection screen called Identify. Self-explanatory from there.
* Fix loadkeys on serial consoleNiels de Vos2008-07-171-1/+1
| | | | | | | | | | | when running anaconda (kickstart) over a serial linedisplay (two line output device) loadkeys does not function. The output of anaconda is writing to /dev/console, which is achieved by kernel parameter "console=ttyS1". If user input is needed (ks.cfg-%pre) the layout of the keyboard does not match the settings in ks.cfg. Obviously the loadkeys of anaconda does not function correctly if the output is a serial port. This patch fixes this by not using /dev/console, but /dev/tty0 (the master-tty).
* Set interface MTU if user specified mtu= param (#435874)David Cantrell2008-07-162-0/+50
| | | | | If the user passed mtu=X as a boot parameter, set the interface MTU to that value before configuring the network.
* Get the rest of the psudo->pseudo changes (#453843)Jeremy Katz2008-07-021-2/+2
|
* Check return value of asprintf() consistentlyDavid Cantrell2008-06-273-19/+54
| | | | | | | | | For instances where the asprintf() was ignored, wrap it in a test to check if it failed. If it failed, log a message and abort. There may be some instances where abort may not be what we want to do, however, we were ignoring the return value completely so if we did get a failure, it would just SIGSEGV. Now it will SIGABRT instead.
* Per strtol(3) man page, set errno=0 before call.David Cantrell2008-06-273-3/+11
| | | | | | | | | | From the NOTES section of strtol(3): "Since strtol() can legitimately return 0, LONG_MAX, or LONG_MIN (LLONG_MAX or LLONG_MIN for strtoll()) on both success and failure, the calling program should set errno to 0 before the call, and then determine if an error occurred by checking whether errno has a non-zero value after the call."
* Use strtol() instead of atoi()David Cantrell2008-06-263-5/+51
| | | | | | | Code cleanup patch. Use strtol() to convert strings to ints, rather than atoi(). No error checking capability with atoi(). Also add error handling to detect strtol failures.
* Spell pseudo correctly.Peter Jones2008-06-261-3/+3
|
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-7/+6
| | | | * po/sk.po: Typo fix.
* Actually use the mount flags passed to isys.mount()Peter Jones2008-04-091-2/+2
|
* Merge branch 'master' of git+ssh://git.fedoraproject.org/git/hosted/anacondaPeter Jones2008-04-081-0/+4
|\
| * Don't treat RAID devices as "disks" to avoid lots of odd behavior (#438358)Jeremy Katz2008-04-081-0/+4
| |
* | Use umask=0077,shortname=winnt on all vfat filesystems.Peter Jones2008-04-081-2/+2
|/ | | | Pass mount options to isys.mount.
* Print our mount commands to /dev/tty5 for easier debugging.Chris Lumens2008-04-031-0/+4
|
* Avoid AttributeError in HardDriveDict (#432362)Peter Jones2008-04-011-2/+8
|
* Handle fstype munging in isys.readFSType instead of in various other places.David Lehman2008-03-281-0/+2
|
* Fix SIGSEGV on all mounts without optionsJeremy Katz2008-03-261-2/+2
|
* Don't prepend /dev/ on bind mounts either.Chris Lumens2008-03-201-1/+2
|
* The units for /sys/block/foo/size aren't bytes. Fixes finding some disksJeremy Katz2008-03-201-1/+1
|
* Don't add /dev/ to LABEL= or UUID= devices either.Chris Lumens2008-03-181-1/+1
|
* Make sure we return the same kind of exception in all cases.Chris Lumens2008-03-171-2/+7
|
* Don't prepend /dev/ onto nfs devices. Also log mount errors to tty5.Peter Jones2008-03-171-13/+14
|
* Accept devices with or without a leading /dev/.Chris Lumens2008-03-141-3/+9
|
* More ext4 vs ext4dev nonsense. (#435517)Jeremy Katz2008-02-291-0/+2
|
* Add support for getting UUID using libblkidJeremy Katz2008-02-241-0/+7
|
* Don't try to lock /etc/mtab, fix error detection when mount fails.Chris Lumens2008-02-211-4/+4
|
* the '-o' is appended to the mount command in imount.cJoel Andres Granados2008-02-201-1/+1
|
* This var can also be None.Joel Andres Granados2008-02-201-1/+1
|
* Mount flags should be an optional argument (#433279, #433280).Chris Lumens2008-02-181-2/+2
|
* Fix the buildJeremy Katz2008-02-121-1/+1
|
* Remove all our own mount code.Chris Lumens2008-02-1113-3009/+7
|
* Use the mount program instead of our own code.Chris Lumens2008-02-114-73/+68
| | | | | Also change isys's mount function to take its arguments as a string like would be passed to the mount program, instead of a handful of flags.
* Update error messages to match function names.David Cantrell2008-02-081-14/+14
|
* Rename nl.c to iface.c and functions to iface_*David Cantrell2008-02-084-17/+17
| | | | | | Rename the interface control functions to start with iface_ rather than nl_. The libnl API uses nl_ and it gets confusing if we use that here too.
* Correct nl_ip2str() cache iteration.David Cantrell2008-02-071-2/+7
| | | | | Need to call nl_cache_get_first() to get first object, then we can call nl_cache_get_next().
* Check for device existence rather than starting with /devJeremy Katz2008-02-071-2/+2
|