Commit Graph

982 Commits

Author SHA1 Message Date
Brian C. Lane 3934066303 - Set serial flag when encountering console argument (#823861) (msivak) 2012-05-22 09:18:00 -07:00
Brian C. Lane 2bcb28f9ce - Partially revert "We have a grub2 theme now, so say to use it." (#822123)
(pjones)
2012-05-16 13:35:56 -07:00
Brian C. Lane 7260a044b0 - anaconda-cleanup: umount /run/media too (#820750) (bcl)
- Disable md /boot and /boot/efi on EFI. (#816823) (dlehman)
- dracut: use nfs3 by default (#811242) (wwoods)
- script.py error message needs gettext (bcl)
- We have a grub2 theme now, so say to use it. (pjones)
2012-05-14 11:21:12 -07:00
Brian C. Lane 8822315eef - dracut: automatic updates.img for http/ftp (#809647) (wwoods)
- Install grub2 /before/ writing the config file (re: rhbz #809111) (pjones)
- makeupdates: ignore most of data directory (bcl)
- handle 'cdrom' methodstr (#817084) (bcl)
- Simplify what we dump in device.map for grub2-2.0-0.24.beta4.fc17 . (pjones)
- be more clear about kickstart keyboard errors (#789725) (bcl)
- Fix suggestDeviceName to correctly avoid in-use lv names. (#812528) (dlehman)
- Notify the kernel/udev after creating swap space. (#818352) (dlehman)
2012-05-09 16:37:54 -07:00
Brian C. Lane e714f9b5fb - lower minimum memory requirements by 256M (#708966) (bcl)
- liveinst/gnome: Add a welcome screen for use by the Desktop spin
  (kalevlember)
- Fix anaconda not finding CD when booting without root=live:<CD> (wwoods)
- Fix anaconda not finding CD for kickstart with 'cdrom' (#817084) (wwoods)
- dracut parse-kickstart: don't write empty "nameserver=" (wwoods)
- dracut: fix "repo=cdrom" (also kickstart with "cdrom") (wwoods)
- dracut: fix kickstarting with 'network --device=MAC' (wwoods)
- check treeinfo retrieval for stage2 (#790348) (bcl)
2012-05-04 15:44:55 -07:00
Brian C. Lane 488a79e603 - dracut: add anaconda_auto_updates() (product.img/updates.img) (#800107) (wwoods)
- dracut: support updates=hd:... (#807982) (wwoods)
- dracut: add copytree, rename dev_is_mounted->find_mount (wwoods)
- dracut: fix typo (stray '\n' in anaconda.rules) (wwoods)
- Configure Mac bootloader (mjg)
- Activate devices as needed when parsing /etc/fstab. (#813120) (dlehman)
- We support resizing ntfs even though it is not supported. (#756319) (dlehman)
- Fix the permissions on one of the files we write out. (#817171) (pjones)
- Fix twisty logic around forcing text mode (#811868) (wwoods)
- s390 systems are always headless (wwoods)
- default to msdos disk labels (#816701) (bcl)
- Wrong kickstart bootloader written (hamzy)
2012-05-01 15:29:57 -07:00
Brian C. Lane b5598e8280 - Check /run/initramfs/live/ for packages (#806166) (bcl)
- Add 'cms' dracut module on s390 (wwoods)
2012-04-26 08:39:03 -07:00
Brian C. Lane 6e48671eb0 - anaconda displays conflicting information when using vnc (hamzy)
- run fetch-kickstart-net.sh after setup_net (#804846, #811851) (wwoods)
- remove now-unused 'loadkeys' stub (wwoods)
- fix 'text' or 'cmdline' in kickstart (#814108) (wwoods)
2012-04-23 11:57:08 -07:00
Brian C. Lane 7bda48385e - Fix a variable reference (#813923) (jkeating)
- Complain about "serial" but don't assume ttyS0 (wwoods)
- Remove double quotes in nvram (hamzy)
- add a dialog while running convertfs (#812144) (bcl)
- mount before resizing live image (#811706) (bcl)
- check for valid mountpoints (#748209) (bcl)
2012-04-18 16:54:18 -07:00
Brian C. Lane 8fb835afdf - make dev_is_mounted more reliable (wwoods)
- fix failure to run multiple udev-triggered jobs (#811008) (wwoods)
2012-04-09 20:46:44 -07:00
Brian C. Lane 3fdab6e156 - copy installer image to RAM during upgrades (#810391) (wwoods)
- fix repo={hd,cdrom}:DEV:PATH (#810136) (wwoods)
- read flags using filename globs (bcl)
- Fix repo={http,ftp,nfs} (#810005) (wwoods)
- Fix "memcheck=0" (and other store_true boot args) (wwoods)
- write new options to zipl.conf (dan)
2012-04-06 06:44:43 -07:00
Brian C. Lane 1edaa4479d - Revert "Wait for device activation / "online" hook if rd.neednet is set" (bcl)
- Add missing os import to platform.py (bcl)
2012-04-03 19:21:38 -07:00
Brian C. Lane bbc96b6f7f - Don't allow /usr as a separate partition (#804913) (clumens)
- use /sys/class/dmi instead of dmidecode (bcl)
- restore the GPT blacklist code (bcl)
- add virtio rsyslogd logging to anaconda (bcl)
- dracut/parse-kickstart: handle network --device=link (or none) (wwoods)
- dracut: fix kssendmac/inst.ks.sendmac (wwoods)
- Set ONBOOT=yes for at least one wired netdev by default (#806466) (wwoods)
- detect live backing device (#809342) (dlehman)
- Wait for device activation / "online" hook if rd.neednet is set (wwoods)
- Fix kickstart failure if ks is on the same disk as stage2 (wwoods)
- fix 'mount: Too many levels of symbolic links' error message (wwoods)
- support {stage2,repo}=.../path/to/file.img (#808499) (wwoods)
- dracut when_diskdev_appears: only run cmd once per device (wwoods)
- dracut: don't do kickstart twice, don't use root.info (wwoods)
- Don't use the bootloader config path to find the splash image (#807510)
  (pjones)
2012-04-03 17:15:25 -07:00
Brian C. Lane 10d6b7ceeb - makeupdates: install liveinst to /usr/sbin (bcl)
- liveinst: adjust updates path (#807397) (bcl)
- dracut: add missing spaces for module loading (#804522) (bcl)
- Don't set MALLOC_PERTURB_ when calling grub2-install. (workaround #806784)
  (pjones)
2012-03-28 16:10:52 -07:00
Brian C. Lane d03a62b7a9 - make ks=file:... parse kickstart earlier (#806931) (wwoods)
- Let "root=..." override "repo=..." (wwoods)
- dracut cleanup: use consistent filenames for cmdline.d files (wwoods)
- fix "strsep: command not found" error with repo:hd:.. (#806966) (wwoods)
- load modules needed by Anaconda (#804522) (bcl)
- Fix nfs/nfsiso (NM handover problems / empty net.ifaces) (wwoods)
- Format PReP partition (hamzy)
2012-03-27 16:55:27 -07:00
Dan Horák a7bace5391 add ppc patch by Mark Hamzy 2012-03-27 20:54:53 +02:00
Brian C. Lane 70a985dd05 - Revert "dracut: use /run/install/source for repodir" (bcl)
- Disable creation of btrfs filesystems aside from kickstart. (#787341)
  (dlehman)
- fix text mode KeyError crash (#804483) (wwoods)
- Default to text-mode if 'console=XXX' was provided (#804506) (wwoods)
- dracut startup: "Loading $product $version $arch installer..." (wwoods)
- fix nfsiso:...:/path/to/filename.iso (#804515) (wwoods)
- fix typo in makeupdates (bcl)
- makeupdates: add support for updating systemd services/targets (wwoods)
- disable warnings about boot options needing 'inst.XXX' (wwoods)
- Create default ifcfg-* for each interface (#804504, #804716) (wwoods)
- save ifcfg for every interface we bring up (wwoods)
- Let systemd handle terminal setup, fix possible race with NM (wwoods)
- Migrate PPC from Yaboot to Grub2 for Anaconda (hamzy)
- dracut: fix anaconda-netroot for inst.repo=nfsiso:.. (wwoods)
- dracut: accept inst.updates or updates for live.updates (wwoods)
- makeupdates: put files the right places (wwoods)
- dracut: use /run/install/source for repodir (wwoods)
- read args from 80kickstart.conf (bcl)
2012-03-22 21:59:34 -07:00
Brian C. Lane a43dd3f1c8 - Merged noloader branch (wwoods)
(snipped a long list of commits)
- Schedule (no-op) btrfs format create actions. (#799154) (dlehman)
- intelligently choose the window size (#800609) (bcl)
- fix text upgrade bootloader dialog (#742207) (bcl)
2012-03-16 15:54:19 -07:00
Brian C. Lane d9affcb66f - only allow GPT boot flag on EFI System partition (#746895) (bcl)
- Add dracut args for /usr to bootloader (#787893) (bcl)
- Make sure all kickstart partition reqs get appropriate weight setting.
  (dlehman)
- Fix test for unsupported format type in kickstart. (dlehman)
- Update the fs size limit for ext3/ext4 from 8TB to 16TB. (dlehman)
- Don't allow /boot on logical partition except for grub. (dlehman)
- empty versions shouldn't be upgradable or traceback (#791317) (bcl)
- Don't crash when broken md devices are present. (#731177) (dlehman)
- Add missing definition of BTRFSError. (#796013) (dlehman)
2012-03-06 06:45:06 -08:00
Brian C. Lane 4730ddf07b - import using the right path to iutil (bcl) 2012-02-21 10:13:12 -08:00
Brian C. Lane 6ae1f61a2a - use a dracut shutdown hook to eject media (#787461) (bcl)
- add dracut shutdown eject hook function (#787461) (bcl)
- The createSuggested methods have changed name (#791204, #795058). (clumens)
- Generate repo= ks command only for repos added by user (#738577) (rvykydal)
- Use libpwquality to check root password strength (#755883) (mgracik)
- Generate connection UUID in inital ifcfg files created by anaconda (#705328)
  (rvykydal)
- Take in change of a binary name (brcm_iscsiuio -> iscsiuio) (#731761)
  (rvykydal)
- Set ONBOOT=yes for FCoE devices (#755147) (rvykydal)
- Fix a typo (#794504). (clumens)
- Add support for network --device=link in stage2 kickstart (#790332)
  (rvykydal)
- Set default lang and create default locale files early (wwoods)
- Add 'traceback' boot option for python-meh and libreport testing (vpodzime)
2012-02-20 15:54:31 -08:00
Brian C. Lane 4e0c893303 - Don't set the pmbr bootable flag on Macs, whether booted via EFI or not (mjg)
- Don't set GPT HFS+ partitions as bootable (mjg)
- Mark HFS+ as fsckable (mjg)
- fix setattr in set_cmdline_bool (pschindl)
- Add _mounttype to HFSPlus (mjg)
- Add support for UEFI Mac installs (mjg)
- Add support for HFS+ partitions (mjg)
2012-02-16 13:16:00 -08:00
Brian C. Lane 49ad1fd058 - Clear partitions' metadata when 'clearpart --initlabel' used. (#783841)
(cherry picked from commit 15307cc091212cc69b599b90c239492c9c9586ec)
  (dlehman)
- Fix support for detecting existing mirrored lvs. (#734128) (dlehman)
- fix potential EFIGRUB infinite loop (bcl)
- finish ROOT_PATH changes in bootloader (#789169) (bcl)
- Be more verbose about upgrade failures (#735060) (bcl)
- Skip setting PMBR boot flag on EFI (#754850) (mjg)
- Updated transifex config for f17-branch (bcl)
2012-02-13 15:53:28 -08:00
Brian C. Lane cff99715e1 - anaconda_optparse.py: a new OptionParser that also reads boot args (wwoods)
- Add flags.set_cmdline_bool and flags.read_cmdline (wwoods)
- flags.py: add new BootArgs() object for dealing with boot args (wwoods)
- flags.py: rework/cleanup Flags object (wwoods)
- fix serial console option parsing (#767745) (wwoods)
- run convertfs on upgrade (#787893) (bcl)
- check if stdout and stderr are the same in execWithRedirect and open the file
  only once in such cases (mmatsuya)
- Disable ipv6 on target system when using noipv6 option (#735791) (rvykydal)
2012-02-08 11:14:29 -08:00
Brian C. Lane d460568bf3 - Set the boot flag on the GPT PMBR (#754850) (bcl)
- Add missing _boot_description values for dasd and zfcp (#739620) (dcantrell)
- Select the same device for ksdevice=link in loader and stage2 (#760250)
  (rvykydal)
2012-02-06 14:11:56 -08:00
Brian C. Lane 44ab893b16 - Add a separate function to get an LV's VG name. (dlehman)
- util-linux-ng is now util-linux (bcl)
2012-02-01 16:51:26 -08:00
Brian C. Lane dbca1df5e8 - liveinst: canonicalize live-baseloop symlink (bcl)
- Fixup getDeviceBy* methods (bcl)
- Ignore dm devs when scanning for mpath members (#761278) (hamzy)
- Don't set the system's hostname during disk image installs. (dlehman)
- Fix error handling in the case of no live block device. (dlehman)
- Force simple filter for disk image installs. (#784560) (dlehman)
- Check for live install before doing live-specific umounts. (dlehman)
- DM_VG_NAME tells an LV's VG, not the VG a PV belongs to. (#772878) (dlehman)
2012-01-31 16:15:36 -08:00
Tomas Bzatek dc69419bf0 Rebuilt for new libarchive 2012-01-26 13:25:17 +01:00
Brian C. Lane 0817922264 - Add missing log import to platform.py (bcl)
- liveinst: Check for live-baseloop LIVE_BLOCK (bcl)
- Add Storage.autoPartType to indicate lvm/btrfs/neither. (dlehman)
- Add full support for btrfs via kickstart's btrfs command. (dlehman)
- Show btrfs vols/subvols but don't allow editing them. (dlehman)
- Add support for btrfs to the devicetree. (dlehman)
- Remove an old hack with action registration. (dlehman)
- Add support for btrfs automatic partitioning. (dlehman)
- Add new field to PartSpec to indicate btrfs reqs. (dlehman)
- Add btrfs convenience methods to Storage. (dlehman)
- Handle device name generation and checking in a more generic way. (dlehman)
- Add btrfs base class along with classes for volume, subvolume. (dlehman)
- btrfs volumes/subvolumes are created by devicelibs.btrfs. (dlehman)
- Scan for btrfs while looking a new devices. (dlehman)
- Add backend module for operating on btrfs volumes. (dlehman)
- Fix default hostname function to never return '(none)'. (dlehman)
- Revert "Put bios boot partitions on all gpt disk on bios systems. (#738964)"
  (dlehman)
- Put NoSuchGroup and DispatchError back, but not in errors.py. (#760786)
  (dlehman)
- Clean up BootLoader.writeKS to account for no bootloader. (dlehman)
- Fix sense of disklabel size check and add some logging. (dlehman)
- Handle v0.90 md metadata in preexisting arrays. (dlehman)
- style cleanups for ppc SMS bios patch (wwoods)
- Update ppc SMS bios after installation (hamzy)
- report more detail about yum failure (bcl)
- Add a script mode that exits instead of looping (bcl)
- Add 'sound-and-video' to Fedora install class for 'Software Development'
  task. (#643786) (notting)
- Unmount the image file (bcl)
- Disable yum log file handling (bcl)
- Setup storage config when kickstart is parsed (bcl)
2012-01-23 17:39:46 -08:00
Dennis Gilmore 797c9fa0a9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 15:15:29 -06:00
Peter Robinson ddceadd043 update util-linux-ng -> util-linux 2011-12-29 16:13:27 +00:00
Chris Lumens bb01b2746e ARCHIVE_DEFAULT_BYTES_PER_BLOCK no longer exists in libarchive-3.0.0
(clumens)
Don't use the rpmdb to figure out upgrade target arch (#748119). (clumens)
Remove obsolete error handling left over from the old storage code. (dlehman)
Update to the FC16_VolGroupData so reserving space works. (dlehman)
Remove unused import of gzip from task_gui.py (dlehman)
Cap new /boot/efi partitions at 200MB. (#748274) (dlehman)
Fix root device specification in zipl.conf. (#740576) (dlehman)
Add --boot-drive option to kickstart bootloader command. (dlehman)
Include disklabel type in grub2 device names. (dlehman)
use 800x600 as minimal mainWindow size (vpodzime) (mgracik)
Use an atexit handler for shutting down and ejecting media (#750809).
(clumens)
Fix a dumb error when canceling previous migration actions (#744034).
(clumens)
Document iscsi and multipath implementations. (akozumpl)
Don't load forcefully load pcspkr.  The kernel doesn't (#750830). (clumens)
Gray out "Configure Network" button in live installations (#749929)
(rvykydal)
Support prefix length in kickstart network --ipv6 option. (rvykydal)
Support prefix length in ipv6= cmdline option (#679108) (rvykydal)
Remove snarffont, which is no longer needed. (clumens)
Change what the third column of lang-table means. (clumens)
And stop attempting to load our own fonts, since we no longer ship them.
(clumens)
Remove our own screen fonts (#742613, #743429). (clumens)
Don't use GPT disklabels on Lenovo BIOS systems. (#749325) (dlehman)
Fix typo in call to opt.isdigit (#743787) (pjones)
Don't allow disks containing the live media as boot disk. (#748587) (dlehman)
Honor fsprofile argument even for existing devices. (#747417) (dlehman)
Regenerate tasklist when a repo is removed. (akozumpl)
Do a better job of remembering if 'review and modify partitioning' was
checked. (akozumpl)
Be more convincing in eradicating errant temp vg paths. (#722952) (dlehman)
Resize: Update format size if aligning partition shrinks it. (#689179)
(dlehman)
Copy all of live filesystem to target (#746844) (bcl)
Fix autopart shrink of existing system. (#746605) (dlehman)
cryptsetup returns positive nonzero when activating by different than the
first keyslot (msivak)
do more logging in findExistingRootDevices() (akozumpl)
Add 'nogpt' cmdline arg to disable creation of gpt disklabels. (dlehman)
Show cleardisks gui always to allow selecting a boot disk. (#744088)
(dlehman)
mpath: flush more eagerly in filter_gui. (akozumpl)
debugging: log boot arguments. (akozumpl)
2011-11-15 10:22:47 -05:00
Dennis Gilmore 845c75fd2b - Rebuilt for glibc bug#747377 2011-10-26 18:35:26 -05:00
Chris Lumens c03c6e852d Revert "Be more convincing in eradicating errant temp vg paths. (#722952) (dlehman)"
This reverts commit 1e5f3f3da9.  This was meant to
go onto f16-branch.
2011-10-19 14:20:17 -04:00
Chris Lumens 1e5f3f3da9 Be more convincing in eradicating errant temp vg paths. (#722952) (dlehman)
Copy all of live filesystem to target (#746844) (bcl)
Fix autopart shrink of existing system. (#746605) (dlehman)
cryptsetup returns positive nonzero when activating by different than the
first keyslot (msivak)
Add 'nogpt' cmdline arg to disable creation of gpt disklabels. (#735733)
(dlehman)
Show cleardisks gui always to allow selecting a boot disk. (#744088)
(dlehman)
2011-10-19 14:19:14 -04:00
Chris Lumens b1a0deff24 Pull grub-efi and efibootmgr into the package list as needed. (#742042)
(pjones)
analog: properly log user.info where NetworkManager (also) communicates.
(akozumpl)
analog: bump the version to rsyslog 5 (akozumpl)
partitioning.py: reference to list of free regions is shadowed by a double.
(akozumpl)
Handle strange lang boot argument values. (akozumpl)
LANG_DEFAULT lives in lang.c. (akozumpl)
Include docs/transifex.txt in release dist. (dcantrell)
fcoe: modprobe the VLAN layer module. (akozumpl)
Remove some raid error checking pykickstart can do for us. (clumens)
Set default BOOTPROTO=dhcp for network service (minimal installs) (#741199)
(rvykydal)
remove argument ROOT_PATH from getDefaultKeyboard() calls (removed from
method with 3e8d08cac6aa89f001c5b32dba251a62a45ed7f4) (vpodzime)
Default to an active network device after reboot on Fedora (ONBOOT) (#498207)
(rvykydal)
Fix: Allow EFI slot_ids in hexdecimal (#742141). (fabian.deutsch)
Move the fedora logo to the left. (akozumpl)
fcoe: fix detecting FCoE NIC (mcb30)
Do not show loop devices in the filtering UI. (akozumpl)
dispatcher: do not request "group-selection" with "tasksel". (akozumpl)
upgrade: do not insist on running the "bootloader" step. (akozumpl)
Fix sigsegv in setKickstartNetwork() (strdup() from a NULL). (akozumpl)
dracut args: "rhgb quiet" should come last. (akozumpl)
Add nfsiso: handling to parseNfsHostPathOpts (bcl)
Only check relevant devices for dirty filesystems. (#741206) (dlehman)
Make sure storage is reset just before partitioning, always. (dlehman)
Move selection of default boot drive into bootloader. (dlehman)
Show error dialog instead of traceback on fstab type mismatch. (#649171)
(dlehman)
Try a test mount and keep fstab mismatches if it succeeds. (#649171)
(dlehman)
Check the return value of get_file_list (#741466) (bcl)
imount.c: include fcntl.h before ext2fs/ext2fs.h. (akozumpl)
Write the grub.conf after setting up the new EFI bootloader (#741994)) (bcl)
botoloader: write 'ip=eth0:dhcp,auto6' instead of 'ip=eth0:dhcp
ip=eth0:auto6' (akozumpl)
gitingore: ignore po/*.po.new files. (akozumpl)
Put bios boot partitions on all gpt disk on bios systems. (#738964) (dlehman)
Change default bootloader timeout from 20sec to 5sec. (#727831) (dlehman)
Bootloader stage1_drive is more than a suggestion. (#738964) (dlehman)
Mark the live device's parent devices protected. (#738964) (dlehman)
it is anaconda-shell (akozumpl)
Improve the clarity of the missing bios boot partition error. (#731549)
(dlehman)
Remove tmp.mount (systemd handles this for us now) (wwoods)
Move dependency info into the unit files (wwoods)
move anaconda-shell.service to the correct filename (wwoods)
make anaconda-shell.service a template, put it on tty2 & hvc1 (wwoods)
Return after writing log message, not before. (rvykydal)
Do not reactivate network device needlessly on s390 (#739846) (rvykydal)
Start NM in loader on s390 until we have systemd init here too (#733680)
(rvykydal)
Revert "Set debug_package to %{nil} so we don't strip our binaries."
(akozumpl)
Fix createUser and createGroup to work with kickstart defaults (#739428)
(bcl)
Update test for createUser and createGroup (#739428) (bcl)
fcoe: handle Broadcom fcoe devices correctly. (akozumpl)
fcoe: the control path in sysfs is now /sys/module/libfcoe (akozumpl)
fcoe: load bnx2fc if relevant. (akozumpl)
Fix post-commit lookup of extended partitions. (#737532) (dlehman)
Don't reboot when closing the live installer via the window decoration.
(clumens)
Use the luks format's mapName when creating temp LUKSDevice. (#722952)
(dlehman)
Reset device attr after using temp dev. (#722952) (dlehman)
Make sure there are no tempvg paths even if formatting. (#737916) (dlehman)
2011-10-11 14:52:40 -04:00
Chris Lumens af7fff4dc1 Sort partitioning commmands in anaconda-ks.cfg. (#736527) (dlehman)
Install grub2 when upgrading on bios x86. (#735730) (dlehman)
Default to installing a new bootloader on upgrade. (dlehman)
Add a Reboot button to the congrats screen on live (#705189). (clumens)
Add support for reserving space in lvm vgs via kickstart. (dlehman)
iutil: make getArch() return ppc64 on ppc64 (#736721) (wwoods)
iutil: add 'bits' arg to isPPC (like isX86) (wwoods)
nfsiso: handle mismatching .iso architecture gracefully. (akozumpl)
systemd: anaconda.target wants rsyslog.service (akozumpl)
Improve checking if new biosboot partition is needed. (akozumpl)
mpath: create /etc/multipath/bindings if we are using friendly names.
(akozumpl)
isolate localeInfo and expandLangs() from langauges.py into a separate
module. (akozumpl)
Make sure we teardown root candidates in all cases. (#693095) (dlehman)
Update parted partition by sector, not name, after create. (#733449)
(dlehman)
Determine existing md arrays' metadata version. (#731266) (dlehman)
Don't check mountable before obtaining actual/existing fs size. (#733808)
(dlehman)
Fix traceback when installing over a system with broken rpm db. (akozumpl)
kickstart: use 'bootloader --timeout' even if it is zero. (akozumpl)
Fix some things using old bootloader/platform stuff. (dlehman)
Fix traceback when validating unallocated partition requests. (#733670)
(dlehman)
Require BIOS boot partition for GPT bootdisk on BIOS systems. (dlehman)
Prevent grub2 from trying to access floppy drives. (dlehman)
Limit grub stage2 md members' device type and metadata version. (dlehman)
Remove unnecessary ROOT_PATH constant passing. (akozumpl)
Moving anaconda.rootPath to constants.ROOT_PATH. (akozumpl)
Remove deprecated --rootPath and --test. (akozumpl)
Tidy warnings.showwarning into anaconda_log.py. (akozumpl)
cosmetic: remove trailing whitespace in timezone_test.py (akozumpl)
ut: cleanup after firewall_test.py (akozumpl)
ut: move tests/fw_test.py to tests/pyanaconda_test/firewall_test.py
(akozumpl)
Close out the yum history before running %post scripts (#730857). (clumens)
Remove unused attribute 'bootable' from DeviceFormat classes. (dlehman)
Allow btrfs stage2 with grub2. (#732594) (dlehman)
Clean up return values of GRUB2._gpt_disk_has_bios_boot. (dlehman)
Force grub2 install to partition's boot block. (#727679) (dlehman)
Don't crash because we don't have support for linear md. (#646157) (dlehman)
Clean up obsolete extended partitions if partitioning fails. (#672010)
(dlehman)
Convert a None from libiscsi.discover() to an empty list. (akozumpl)
Honor kickstart 'autopart --nolvm' option (jlaska)
Allow answering the uninitialized disk question more than once. (akozumpl)
2011-09-15 14:21:37 -04:00
Chris Lumens 332665368c Change IsBeta to IsFinal (mgracik)
edd: do not traceback with cciss devices. (akozumpl)
edd: do not traceback when can not find the respective pci device. (akozumpl)
Use unsigned long long type in doTotalMemory() (dcantrell)
Do not traceback on mpath errors caused by faulty hardware. (akozumpl)
Fix a bunch of stupid little errors pylint caught. (clumens)
There's no more booty module, so don't bother checking it. (clumens)
Ignore false positives in kickstart.py. (clumens)
Ignore reimport warnings from pylint. (clumens)
Handle any amount of whitespace between keyword and rhbz reference.
(dcantrell)
dispath -> dispatch in kickstart.py. (clumens)
2011-07-26 16:01:19 -04:00
Chris Lumens 28f4f8f8d3 progressWindow takes a bunch of new arguments for pulsing (#723345).
(clumens)
request_step -> request_steps in anaconda. (clumens)
Add a writeKS method for encrypted partitions. (clumens)
Don't associate LVs' formats with their parent VG. (dlehman)
Use os-prober to generate GRUB2 dual-boot menu entries. (dlehman)
Fix GRUB2 password handling and GRUB1 kickstart password handling. (dlehman)
changes needed to have per-connection ifcfg files for wifi connections
(vpodzime)
do not care about wifi connections in kickstart (already active from stage1)
(vpodzime)
do not take anaconda's netdevices into account while searching for APs
(vpodzime)
remove key-files writing in loader (no more needed, NM does it itself)
(vpodzime)
do not write default ifcfg files for wireless devices (vpodzime)
Remove the 11.x history from anaconda.spec. (clumens)
2011-07-20 13:41:04 -04:00
Chris Lumens 20fa8f0e45 Remove hasFreeDiskSpace and related code. (dlehman)
Use protected for pvs of incomplete vgs and get rid of immutable. (dlehman)
Use mdadm's default metadata format instead of hardcoding 1.1. (dlehman)
Only show warning about no biosboot on gpt on gpt. (dlehman)
Plumb the cleanupOnly= option through to Storage.reset(). (clumens)
i18n: Maintain the translated repo name upon modifying. (akozumpl)
Log errors during dependency resolution. (clumens)
Fix a bug where language names aren't translated to native. (clumens)
Remove things from utils/ that lorax obsoletes. (clumens)
Remove things from scripts/ that lorax obsoletes. (clumens)
Handle systems with more than 2147483647 kB of memory (#704593). (dcantrell)
Remove support for the ext4migrate option (#712195). (dcantrell)
edd: refactor and enhance the edd module. (akozumpl)
unit tests: provide 'glob.glob' and 'os.listdir' in the DiskIO class.
(akozumpl)
Pulsing progress bar instead of the static popup during device discovery.
(akozumpl)
yum: handle PackageSackErrors separately in AnacondaYum._run. (akozumpl)
We need a later version of pykickstart with the wpakey parameter. (clumens)
Remove KillMode= from systemd control files. (clumens)
Add a property to Platform for accessing boot stage1 constraints. (dlehman)
Simplify lvm growing by using units of pesize instead of MB. (dlehman)
Move platform-specific boot-related data into Platform. (dlehman)
Make /home autoreq grow a bit faster in relation to root. (dlehman)
Update upd-bootiso for F16 (bcl)
Allow a .iso file to be specified instead of a directory (#707846) (bcl)
Fix typo from 573ef017. (akozumpl)
Keep dracut settings in sets instead of many long strings. (akozumpl)
2011-07-11 13:42:11 -04:00
Chris Lumens 0969255897 be more defensive -- check values for nonsenses (vpodzime)
enable netmask setting for wireless connections (vpodzime)
enable dns settings of wireless connection (vpodzime)
enable gateway settings of wireless connection (vpodzime)
enable wpa in kickstart (vpodzime)
enable establishing wpa connection in "early networking" (vpodzime)
ut: remove trailing whitespace in language_test.py (akozumpl)
'part' command checks if the disk is partitionable. (akozumpl)
Correct and simplify handling of "bootable" partition requests. (dlehman)
Don't check the fstype for /boot req weight. (dlehman)
Freeze the lvm button when custom partitioning is selected. (dlehman)
Use the same code for growing lvs that we use for growing partitions.
(dlehman)
Fix check for whether new lv size will fit in vg's free space. (dlehman)
Sun disklabel hacks. (#697100) (dlehman)
Maximize extended partition even when logical reqs' sizes are capped.
(dlehman)
Don't magically adjust fstype when mountpoint is set to "/boot". (dlehman)
Handle partition allocation failures due to alignment adjustments. (dlehman)
Include protected attribute in StorageDevice.__str__. (dlehman)
Log results of protected device spec resolution. (dlehman)
Implement an option that lets anaconda name mpath devices by the wwid.
(akozumpl)
In kickstart, specify multipaths by their wwids. (akozumpl)
multipath: allow mpath<X> specfifications in kickstart. (akozumpl)
multipath: do not set any mpath aliases explicitly. (akozumpl)
Use global proxy setting if no repo proxy is set (#712926) (bcl)
Remove duplicate code. (rvykydal)
Fix typo (DispatcherError->DispatchError). (dlehman)
Allow autopart without lvm. (dlehman)
2011-06-22 15:47:03 -04:00
Chris Lumens 2bd00c7958 Update to the latest pykickstart version. (clumens)
Fix a typo to make encrypted installs get farther. (clumens)
Fix the filter UI to sort capacity as numbers, not characters (#614504).
(clumens)
Fix up swap unmount logic (#708966) (bcl)
Use read-only locking for lvm commands in udev rules. (dlehman)
Check if LVs still fit when removing a PV from a VG. (#682276) (dlehman)
Don't get tripped by partial fstab option matches. (#699167) (dlehman)
RAID gui: fix how the "Number of spares" spin button is manipulated.
(akozumpl)
imount.c: first wait() for mount then close its stdin/stdout. (akozumpl)
Fix a couple of action obsoletes bugs. (dlehman)
Schedule an action when destroying the old format on an encrypted lv.
(dlehman)
Revert "Make sure new devices' formats have their device attr set." (dlehman)
Set formats' device attr when associating the format with a device. (dlehman)
cosmetic, iscsi: make the 'no credentials' string more general. (akozumpl)
2011-06-08 10:39:41 -04:00
Chris Lumens 4c813e76dd Add kickstart support for biosboot. (dlehman)
Make sure new devices' formats have their device attr set. (dlehman)
Don't crash if is_valid_foo methods are called with None. (dlehman)
Unit tests cleanups (akozumpl)
Remove trailing whitespace in file tests/mock/mock.py. (akozumpl)
Remove erronious (vestigial?) call to Platform.isEfi (pjones)
Remove upgrade_swap_gui from POTFILES.in (akozumpl)
ut: if _isys is not available dispatch_test and indexed_dict_test are
failing. (akozumpl)
Cherry-pick from rhel5-branch, by Will Woods. (wwoods)
Pythonize some code from network.py for pleasure. (rvykydal)
Honor DEFROUTE=no when inferring system-wide GATEWAY (rvykydal)
Get rid of overrideDHCPHostname. (rvykydal)
HOSTNAME is not per-device/ifcfg setting. (rvykydal)
Do not set hostname in stage 1. (rvykydal)
Do not write out /etc/sysconfig/network in stage 1. (rvykydal)
ut: make pyanaconda_test/backed_test.py pass (akozumpl)
dispatch: break out step initialization into a separate method. (akozumpl)
dispatch: implement method of saving/restoring all steps scheduling.
(akozumpl)
upgrade: there are no "checkdeps" and "dependencies" steps. (akozumpl)
ut: make upgrade_test pass. (akozumpl)
cosmetic: dispatch.request_step is dispatch.request_steps. (akozumpl)
cosmetic: dispatch.skipStep is dispatch.skip_steps (akozumpl)
cosmetic: move the dir property in dispatch.py with other public methods.
(akozumpl)
dispatch: fix remaining places using the old dispatch interface. (akozumpl)
dispatch: remove "upgradeswapsuggestion" and "addswap" steps. (akozumpl)
dispatch: Fix rules for running the bootloader and instbootloader steps.
(akozumpl)
dispatch: Fix rules for running the partitioning step. (akozumpl)
dispatch: clean up step skipping manipulations in kickstart. (akozumpl)
dispatch: All skips are permanent now. (akozumpl)
Cleanup how an installer interface can declare steps it does not implement.
(akozumpl)
Throw away the dispatcher 'skipList' and give Step a state. (akozumpl)
dispatch: use IndexedDict objects instead of a list of tuples. (akozumpl)
IndexedDict class for storing the installer steps (akozumpl)
Add a shortcut for Configure Network (#705022) (mgracik)
vgreduce now activates some lvs, which I do not understand. (dlehman)
Audit storage log statements' log levels and clean up some things. (dlehman)
Convert Device, DeviceFormat __str__ to __repr__ and add __str__. (dlehman)
2011-05-23 13:24:05 -04:00
Chris Lumens b711493eed Relabel /var/lock as well (#701575). (clumens)
filled in hasFreeDiskSpace (#683632) (hamzy)
Add a python program to record memory usage during installation. (clumens)
Add a timestamp to every line in install.log/upgrade.log. (clumens)
storage: add SparseFileDevice (wwoods)
FileDevice._create: don't alloc memory equal to file size, close fd (wwoods)
Text mode upgrade should default to upgrade (#704588) (bcl)
Trim "/dev/" correctly in list-harddrives (#702430). (dcantrell)
Include missing parentheses in lvm/md device map names. (dlehman)
Make sure stage1 and stage2 devices are in device.map in case of md,lvm.
(dlehman)
Only do redundant mbr installation for mirrored stage2. (dlehman)
Allow growable md member requests but only for RAID0. (dlehman)
Let blkid/udev tell us which devices contain disklabels. (dlehman)
Move selection of new disklabel's type from DiskLabel to Platform. (dlehman)
Fix an omission from the integration of the new bootloader module. (dlehman)
Rework bootloader constraint checking routines. (dlehman)
Include a BIOS boot partition in X86 autopart on GPT. (dlehman)
Add format class for BIOS boot partition. (dlehman)
Update dracut kernel args (#702711) (bcl)
Add btrfs min size of 256 MB. (#702603) (dlehman)
Update the requirements for memory.. (dlehman)
fix resuce_test.py (akozumpl)
remove references to "zfcpconfig". (akozumpl)
Turn sshd setup, kicstart execution and the rescue mode into dispatch steps.
(akozumpl)
2011-05-17 16:22:53 -04:00
Chris Lumens c8e44e3714 Make grub2 the default bootloader on x86. (dlehman)
Make sure bootloader stage1 device stays current through partitioning.
(dlehman)
Remove unused Platform.validBootLoaderPartSize method. (dlehman)
Check that there is a stage1 req before validating it otherwise. (dlehman)
set_preferred_stage2_type -> set_preferred_stage1_type (dlehman)
Allow unsetting of stage1_device. (dlehman)
Add a "boot drive" concept to the bootloader since stage1 types vary.
(dlehman)
Consistently refer to stage1 and stage2 device as such. (dlehman)
Fix handling of missing boot device in doPartitioning. (dlehman)
Finish removing bootloadersetup step. (dlehman)
Add grub2 class, fix packages for some classes. (dlehman)
Don't change bootloader names for various configurations. (dlehman)
Add encrypted attribute to StorageDevice. (dlehman)
iscsi: disable the 'Login' button with no nodes selected. (akozumpl)
nuke: InstallControlWindow.busyCursor*() (akozumpl)
iutil: remove excess imports. (akozumpl)
Get rid of interface's entryWindow() and EntryWindow. (akozumpl)
Allow DeviceFormat.cacheMajorminor to fail without an exception. (akozumpl)
Don't check /boot fs when no bootloader is installed (#698312) (bcl)
yuminstall.py: self.pulseWindow is not used anywhere. (akozumpl)
2011-05-03 14:06:08 -04:00
Chris Lumens aee04a8897 Do not recreate the ssh keys if they exist already. (akozumpl)
Display a banner when (re)starting Anaconda. (akozumpl)
Most viewers of tty1 do not care about xrandr stderr output. (akozumpl)
restart-anaconda: no need to redownload the updates. (akozumpl)
Write 'edd' instead of 'ethX' for fcoe= dracut parameter. (dcantrell)
When checking for allowing an upgrade, trim off any "-Alpha" or "-Beta".
(clumens)
Make text for failed upgrade dialog clearer (#697193) (bcl)
Fix a grammar error in the upgrade message (#697244). (clumens)
If there are no RAID arrays, do not write an mdadm.conf (#696907). (clumens)
loader: always call klogctl to disable kernel logging in the console.
(akozumpl)
Set mainWindow size request to current res reported by xrandr (#694760)
(dcantrell)
Fix SIGSEGV for netwowrk --device=<MAC> which is not found (#697432)
(rvykydal)
Use correct interface to obtain HwAddress property (#693614) (rvykydal)
Revert "Don't write HWADDR into ifcfg files (#690589)" (rvykydal)
analog: turn off another harmful feature of rsyslogd. (akozumpl)
analog: cleanup whitespace in the file. (akozumpl)
Fix building with --disable-selinux (mark (clumens)
Don't include system virtual filesystems in /etc/fstab (#693926). (clumens)
Set ANACONDA=1 in the udev environment early in anaconda. (clumens)
findFirstIsoImage needs to return a filename, so fix it. (clumens)
Fix unmounting in anaconda-cleanup to deal with /mnt/sysimage as well.
(clumens)
Remove the second upgrade check from yuminstall.py. (clumens)
Cache the value of Format.majorminor(). (akozumpl)
And call anaconda-cleanup from restart-anaconda. (clumens)
Unmount everything in /mnt/install from anaconda-cleanup. (clumens)
Move most anaconda mount points to be under /mnt/install. (clumens)
Fix the initialization of LUKS device, we have to add the first keyslot (also
add key_file arguments for compatibility) (msivak)
Add "quiet" to the x86-64 and i386 boot arguments. (clumens)
Update restart-anaconda to work with systemd. (clumens)
Remove init.[ch]. (clumens)
Move debugging features into loader.c. (clumens)
We no longer need to get the PID of init from loader. (clumens)
Move serial console handling code out into its own file. (clumens)
Make reboot/halt/shutdown decisions in anaconda instead of loader. (clumens)
Remove all the custom shutdown/reboot/halt code in loader and init. (clumens)
Move syslog starting into loader. (clumens)
loader doesn't support arguments except from /proc/cmdline. (clumens)
Don't build our own init anymore. (clumens)
Remove the duplicate backtrace setup code in init.c. (clumens)
Remove from init.c/loader.c things that systemd does for us. (clumens)
Add the unit files necessary to have systemd start loader. (clumens)
2011-04-21 15:40:39 -04:00
David Lehman 9041e76ff8 Try again at this fedpkg thing. 2011-04-11 20:23:04 -05:00
David Lehman 4e5c2cf165 Remove maximum limit on EFI partition (#684860) (bcl)
Changes for NetworkManager API 0.9 (rvykydal)
Fix network --device=bootif value processing in stage2. (vpodzime)
Ignore --device=ibft in stage 2 kickstart handling (#638131) (vpodzime)
Don't write HWADDR into ifcfg files (#690589) (rvykydal)
Fix network --device=<MAC> for static configurations (#693302) (rvykydal)
Fix bad indentation from 026dacc3. (akozumpl)
If we change language during Python, build the new locale files. (clumens)
If we're not given a language on the command line, set up English. (clumens)
No longer log that we're resetting the file context. (clumens)
Do filesystem-specific sync operation after writing configuration. (dlehman)
Add sync method to force data onto disk and/or journal. (dlehman)
Update ui screens to use new bootloader module. (dlehman)
Update remaining parts of anaconda to use new bootloader module. (dlehman)
Update storage module for new platform and bootloader modules. (dlehman)
Update platform.py for new bootloader module. (dlehman)
Update kickstart.py for new bootloader module. (dlehman)
Replace booty with a new bootloader module. (dlehman)
Add "disks" attr to StorageDevice to list disks a device depends on.
(dlehman)
Prevent debug and kdump kernels from becoming the default (#693702)
(dcantrell)
Use znet_cio_free to clear network devices from cio_ignore. (dcantrell)
Remove deprecated targets from top level Makefile.am (dcantrell)
Remove languages not available from Transifex. (dcantrell)
Add Transifex instructions for anaconda developers. (dcantrell)
Update Makefile.am to work with new translation system. (dcantrell)
BuildRequires transifex-client (dcantrell)
Ignore po/*.po files (dcantrell)
Remove translation files. (dcantrell)
Add transifex-client configuration file. (dcantrell)
Fix syntax error from commit 9e696b62. (akozumpl)
Rewrite nfs url parsing in loader (bcl)
Fix order of nfs mountOpts in promptForNfs (bcl)
timeout= in yaboot.conf is in tenths of seconds (#692409) (dcantrell)
Install dracut-fips package when fips=1 is specified (#692350) (dcantrell)
unicode-linedraw-chars.txt is no longer useful. (clumens)
mkctype is no longer useful. (clumens)
Fix a typo in swap upgrade strings (yurchor (clumens)
2011-04-11 20:17:59 -05:00
Chris Lumens d4c9cb8fef Fix a syntax error from the previous translation commit. (clumens)
crypttab should not be world-readable (#692254). (clumens)
Improve the translatability of strings with more than one format specifier.
(clumens)
Stop user if we have no /boot and / is an LV (dcantrell)
Prevent singlePV lv requests from being > the size of any pv (dcantrell)
Do not print out traceback when localedef is not present (msivak)
Update our storage/crypto interface to use new cryptsetup API (msivak)
Fix the logic surrounding use of the filterfunc for get_file_list (#691880).
(clumens)
mount needs to be told "nfs" or it assumes any argument is a device
(#678414). (clumens)
Fix rebooting after a kickstart error is detected. (akozumpl)
2011-03-31 11:03:30 -04:00
Chris Lumens 6f90962b91 Use a more general EnvironmentError to catch timezone-file errors. (akozumpl)
Add shell command to upd-bootiso (bcl)
Set debug_package to %{nil} so we don't strip our binaries. (pjones)
Return values, not strings (bcl)
Use proper store types for DataComboBoxes. (akozumpl)
Fixup rindex usage (#678086) (bcl)
Ensure new kernel is default in zipl.conf on upgrade installs (#683891)
(dcantrell)
shutdown: kill processes in the anaconda process group. (akozumpl)
After 17233a16, vncS is no longer a global. (akozumpl)
shutdown.c: pidof and killall5 are in /sbin on rawhide. (akozumpl)
Check size limits on pre-existing partitions (bcl)
gui.py: nuke createRepoWindow() (akozumpl)
gui.py: nuke titleBar*() (akozumpl)
Fix --mtu option to kickstart network command (#689081) (icomfort)
Implement a general version of InstallInterfaceBase.methodstrRepoWindow().
(akozumpl)
Update icons and add a new 256x256 version (#689014). (clumens)
Fix the filesystem migration dialog in text mode (#688314). (clumens)
Don't fatal_error if required mounts are already mounted (wwoods)
Don't fatal_error if remounting root read-write fails (wwoods)
Align lv sizes when adding to vg total space used. (dlehman)
Clean up display of free space in partitioning gui. (dlehman)
Fix a syntax error in my last upgrade-related commit. (clumens)
Remove some more xutils-related code. (clumens)
Prevent Platform from importing storage stuff until it's necessary. (clumens)
Restore stats from original mount on livecd (#683682) (bcl)
Properly filter out new mounts for livecd install (#683682) (bcl)
Mount livecd filesystems under /mnt (#683682) (bcl)
Fix order of opts and host when processing kickstart nfs lines. (clumens)
Rework the upgrade swap suggestion (#684603). (clumens)
Log running version number as soon as possible (bcl)
Collect LUKS passphrases to avoid making users enter them repeatedly.
(dlehman)
Don't include incomplete md arrays in the devicetree. (dlehman)
Detect live environment if no args passed to anaconda-cleanup. (dlehman)
2011-03-28 11:07:49 -04:00