| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Resetting the package selections means the whole of Core does not get
installed.
|
| |
|
| |
|
|
|
|
|
| |
For now they're just placeholders, but it gives me a place to add method
calls as each objects is removed from instdata.
|
|
|
|
|
|
| |
This also removes the hack where upgrade can be True, False, or None in order
to test whether we've seen the upgrade screen or not. Instead, it introduces
a global value hack. I consider this the slightly cleaner approach.
|
| |
|
|
|
|
|
|
| |
anaconda.ksdata is only non-None if there's a kickstart file, just like
anaconda.isKickstart would be. Therefore, we don't need two variables
to test for the same condition.
|
|
|
|
|
| |
This method is what calls kickstart.selectPackages, so not running it means the
%packages section of the kickstart file will never be applied.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Commit 98504bcaad593f3271a76f1591120310c781049d, accidentally
removes a non related line, this patch restores this.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This is yet another way of running anaconda that gets extremely limited use,
no testing, and no consideration during development to making sure it still
works. Again, we need to stop pretending and get rid of modes that we don't
support.
|
|
|
|
|
|
| |
We are currently using the fs/mounpoint with the smallest amount of
freespace when install.img needs to be transferred to the harddisk. Use the
fs with the largest amount of freespace instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for storing an X.509 certificate used to encrypt the escrow
data, and a "create backup passphrase" flag, to storage.formats.LUKS,
and support for storing the same options of "autopart" globally to
storage.Storage.
While parsing kickstart directives, download the X.509 certificates
specified in thekickstart file (if any), enabling network access if
necessary, then store the data in the above-described storage objects.
While autopartitioning, copy the "autopart" escrow options into each
created LUKS volume.
Finally, as a part of doPostInstall, find all LUKS volumes with escrow
configured, create the escrow files and store them in /mnt/sysimage/root.
Changes since the previous version:
- Drop unused .encryptedDevice assignments
- Move writeEscrowPackets inside doPostInstall
- Fix bugs introduced while moving code to storage.formats.LUKS
Further changes:
- Don't pass escrow args to lvmpv format constructor.
- Move backup passphrase generation into storage.devicelibs.crypto.
- Use newer, clearer except syntax in storage.writeEscrowPackets.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the following methods and properties to class Storage which map
through to FSSet methods, modify existing calls to use the method on
class Storage:
turnOnSwap()
mountFilesystems()
umountFilesystems()
parseFSTab()
mkDevRoot()
createSwapFile()
fsFreeSpace()
mtab
mountpoints
migratableDevices
rootDevice
Callers no longer need to pass the Anaconda object to the FSSet methods
directly. The method on Storage takes care of that.
The mtab() method on FSSet is exposed as a property on Storage. The
same is true for fsFreeSpace().
|
|
|
|
|
| |
We have lots of strings that we display to users which are unclear or
contain poor usage and grammar. That's bad.
|
|
|
|
|
|
| |
Ensure that with live installs that the type of the rootfs matches what we
need it to. This used to be done behind the user's back in the livecd
code, but it's probably better to handle more generally like this
|
|
|
|
|
|
| |
This patch gets iscsi going with the new storage code. There are still
a few hicups left (such as NetworkManager downing the interface our / is on),
but I'll address those in separate patches.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch replaces the iscsi.py code with new code using libiscsi, getting
rid of the awefull configfile mangling to set auth info hack, and in general
making it much cleaner.
Fixes:
-Report error when we cannot add a disk instead of silently failing (461830)
-Report error when trying to use iscsi from kickstart without having an
iscsiname directive first (463156)
-Better feedback while scanning iscsi disks
-Make ibft work with chap and 2-way chap
-Make ibft configured disks available for upgrades and in rescue mode
-Make ibft boot work even when iscsi-initiator-utils is installed after the
kernel in the transaction
Note:
libiscsi is available in Fedora now
|
|
|
|
|
|
|
| |
Add a basic way to query a backend for how much space is needed on a
per-partition basis. This isn't always able to be known and if it's
unknown, then you'll get back 0. Add the implementation for / on
livecd
|
|
|
|
|
| |
Add a basic reset method to reset the set of installed packages to be
nothing. This is one part of fixing #457583
|
| |
|
|
|
|
|
|
|
|
| |
This fixes a bug where yum wants all the repos set up before it does sack
setup that only appears with the blacklist/whiteout plugins enabled. It
also brings us more in line with how yum really works - where the two are
completely separate steps. backend.doRepoSetup has also been renamed to
backend.doBackendSetup to sound a little less yum-specific.
|
|
|
|
|
|
| |
The only reason we copy the install.img over to the hard drive is because we
need to free up the CD/DVD device for switching media. If we don't need to
do that, then there's no reason to do the copy.
|
| |
|
| |
|
|
|
|
|
| |
will always result in a harder to diagnose error later. So raise the exception
here.
|
|
|
|
| |
* po/sk.po: Typo fix.
|
| |
|
| |
|
|
|
|
|
| |
Move backend specific bits of method complete into a backend.complete() method
to avoid tracebacks with installs on other backends
|
|
|
|
|
|
|
| |
Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually
we'll get an AUTHORS file and will just remove author names from the
individual files. Also fixed a type in scripts/dumphdrlist.py where
Author was listed twice.
|
|
|
|
|
|
| |
Updated all *.py files to have a uniform GPL boilerplate. Expanded copyright
year ranges and listed authors (if they were in the comment section) under
the Red Hat Author(s) section.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Remove method references from the Anaconda object, along with various support
functions that import methods and return instances of methods. This also
removes method instances from the backend.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug #217132
2007-10-26 Martin Sivak <msivak@redhat.com>
* backend.py (doRepoSetup): Update the platform file if necessary
* dispatch.py: Add new step for detecting platform upgrade
* flags.py (Flags): Add flag for controlling the rpm platform update
* iutil.py (writeRpmPlatform): Now controlled by the updateRpmPlatform
flag
* upgrade.py: Add isUpgradingArch, queryUpgradeArch and add the
upgradearchitecture step (#217132)
|
| |
|
|
|
|
| |
instead of creating a new one.
|
|
|
|
|
|
|
|
| |
* livecd.py (LiveCDCopyBackend.kernelVersionList): Check the rpmdb
of the installed root (based on feedback from Jerry Vonau)
* backend.py (AnacondaBackend.kernelVersionList): Take the
rootPath as an argument
* yuminstall.py (YumBackend.kernelVersionList): Likewise.
|
|
|
|
|
|
|
|
|
|
| |
From Jane Dogalt <jdogalt AT yahoo DOT com>
* fsset.py: Add case for skipping formatting the rootfs dependent
on backend so that we don't format the rootfs for live images. A
little bit of a hack, but good enough for now
* backend.py: Add skipFormatRoot attribute, defaults to False
* livecd.py: Add skipFormatRoot attribute = True
* packages.py: Pass skipFormatRoot
|
|
|
|
| |
enabled add-on repositories (#206152).
|
|
|
|
|
|
| |
installation method and removes the old way completely. Now, drivers will
be tracked on the running system by installing a package. We can also copy
firmware over to the installed system as well.
|