Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Do not include wireless.h | David Cantrell | 2008-08-25 | 1 | -1/+0 | |
| | | | | File's gone, don't try to include it. | |||||
* | Rewrite isys.isWireless() to use D-Bus and NetworkManager | David Cantrell | 2008-08-25 | 5 | -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 Cantrell | 2008-08-25 | 2 | -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 Cantrell | 2008-08-25 | 4 | -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 Cantrell | 2008-08-25 | 6 | -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 Lumens | 2008-08-25 | 3 | -16/+31 | |
| | ||||||
* | Need to import rhpl for things like switching to pdb. | Chris Lumens | 2008-08-19 | 1 | -0/+1 | |
| | ||||||
* | lang: kill xen keymap hack | Mark McLoughlin | 2008-08-08 | 1 | -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 Cantrell | 2008-08-06 | 1 | -0/+2 | |
| | ||||||
* | Make it >= not > for the memory size comparison (#207573) | Peter Jones | 2008-08-06 | 1 | -1/+1 | |
| | ||||||
* | Allow float comparison between nic names in isys.py. (#246135) | Joel Andres Granados | 2008-08-06 | 1 | -2/+2 | |
| | ||||||
* | Don't traceback when trying to remove /mnt/sysimage (#227650). | David Cantrell | 2008-08-06 | 1 | -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 Cantrell | 2008-08-04 | 2 | -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 Lumens | 2008-07-23 | 1 | -3/+3 | |
| | ||||||
* | Offer physical NIC identification in stage 1 (#261101) | David Cantrell | 2008-07-22 | 2 | -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 console | Niels de Vos | 2008-07-17 | 1 | -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 Cantrell | 2008-07-16 | 2 | -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 Katz | 2008-07-02 | 1 | -2/+2 | |
| | ||||||
* | Check return value of asprintf() consistently | David Cantrell | 2008-06-27 | 3 | -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 Cantrell | 2008-06-27 | 3 | -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 Cantrell | 2008-06-26 | 3 | -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 Jones | 2008-06-26 | 1 | -3/+3 | |
| | ||||||
* | 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org) | Ján ONDREJ | 2008-06-04 | 1 | -7/+6 | |
| | | | | * po/sk.po: Typo fix. | |||||
* | Actually use the mount flags passed to isys.mount() | Peter Jones | 2008-04-09 | 1 | -2/+2 | |
| | ||||||
* | Merge branch 'master' of git+ssh://git.fedoraproject.org/git/hosted/anaconda | Peter Jones | 2008-04-08 | 1 | -0/+4 | |
|\ | ||||||
| * | Don't treat RAID devices as "disks" to avoid lots of odd behavior (#438358) | Jeremy Katz | 2008-04-08 | 1 | -0/+4 | |
| | | ||||||
* | | Use umask=0077,shortname=winnt on all vfat filesystems. | Peter Jones | 2008-04-08 | 1 | -2/+2 | |
|/ | | | | Pass mount options to isys.mount. | |||||
* | Print our mount commands to /dev/tty5 for easier debugging. | Chris Lumens | 2008-04-03 | 1 | -0/+4 | |
| | ||||||
* | Avoid AttributeError in HardDriveDict (#432362) | Peter Jones | 2008-04-01 | 1 | -2/+8 | |
| | ||||||
* | Handle fstype munging in isys.readFSType instead of in various other places. | David Lehman | 2008-03-28 | 1 | -0/+2 | |
| | ||||||
* | Fix SIGSEGV on all mounts without options | Jeremy Katz | 2008-03-26 | 1 | -2/+2 | |
| | ||||||
* | Don't prepend /dev/ on bind mounts either. | Chris Lumens | 2008-03-20 | 1 | -1/+2 | |
| | ||||||
* | The units for /sys/block/foo/size aren't bytes. Fixes finding some disks | Jeremy Katz | 2008-03-20 | 1 | -1/+1 | |
| | ||||||
* | Don't add /dev/ to LABEL= or UUID= devices either. | Chris Lumens | 2008-03-18 | 1 | -1/+1 | |
| | ||||||
* | Make sure we return the same kind of exception in all cases. | Chris Lumens | 2008-03-17 | 1 | -2/+7 | |
| | ||||||
* | Don't prepend /dev/ onto nfs devices. Also log mount errors to tty5. | Peter Jones | 2008-03-17 | 1 | -13/+14 | |
| | ||||||
* | Accept devices with or without a leading /dev/. | Chris Lumens | 2008-03-14 | 1 | -3/+9 | |
| | ||||||
* | More ext4 vs ext4dev nonsense. (#435517) | Jeremy Katz | 2008-02-29 | 1 | -0/+2 | |
| | ||||||
* | Add support for getting UUID using libblkid | Jeremy Katz | 2008-02-24 | 1 | -0/+7 | |
| | ||||||
* | Don't try to lock /etc/mtab, fix error detection when mount fails. | Chris Lumens | 2008-02-21 | 1 | -4/+4 | |
| | ||||||
* | the '-o' is appended to the mount command in imount.c | Joel Andres Granados | 2008-02-20 | 1 | -1/+1 | |
| | ||||||
* | This var can also be None. | Joel Andres Granados | 2008-02-20 | 1 | -1/+1 | |
| | ||||||
* | Mount flags should be an optional argument (#433279, #433280). | Chris Lumens | 2008-02-18 | 1 | -2/+2 | |
| | ||||||
* | Fix the build | Jeremy Katz | 2008-02-12 | 1 | -1/+1 | |
| | ||||||
* | Remove all our own mount code. | Chris Lumens | 2008-02-11 | 13 | -3009/+7 | |
| | ||||||
* | Use the mount program instead of our own code. | Chris Lumens | 2008-02-11 | 4 | -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 Cantrell | 2008-02-08 | 1 | -14/+14 | |
| | ||||||
* | Rename nl.c to iface.c and functions to iface_* | David Cantrell | 2008-02-08 | 4 | -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 Cantrell | 2008-02-07 | 1 | -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 /dev | Jeremy Katz | 2008-02-07 | 1 | -2/+2 | |
| |