| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Not sure how this worked yesterday, but order is important
|
|
|
|
|
| |
The storage layer keeps track of uuids for filesystems, so we need
to update it if we change the uuid
|
|
|
|
| |
Fix traceback at end of live installs for the storage branch
|
|
|
|
| |
Use True/False over 1/0. It's the future.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
* po/sk.po: Typo fix.
|
|
|
|
|
|
|
|
|
| |
Doing / 1024 / 1024 * 1024 * 1024 truncates the size to the
nearest megabyte. If the size of the live image is a multiple
of 8MB + change, it won't all get copied, leading to fs
errors. (#442106)
Thanks to Eric Sandeen for the legwork.
|
| |
|
|
|
|
|
|
| |
Make our handling of kernel variants a little bit more flexible, allowing
for the fact that uname -r might not match version-release exactly. This
also makes it so we don't have a hard-coded list of kernel variants
|
|
|
|
| |
Encrypted devices, for one, need to be set up before they can be used normally.
|
| |
|
| |
|
|
|
|
|
| |
Need to make sure that the filesystem type of / matches what the live
image is set up with as its rootfs
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
None of the following functions were even being called, so they can be
removed easily: getFilename, copyFileToTemp, urlretrieve, systemUnmounted,
getTempPath, and FileCopyException. Now only the hard parts are left.
|
|
|
|
|
|
|
| |
This happens for any files that are owned by nfsnobody, as that UID maps to
-1 which will cause an overflow. So far this has only occurred on
/var/spool/mail/nfsnobody. Seems like fake users shouldn't have mail spools
created for them.
|
|
|
|
|
| |
* livecd.py (LiveCDCopyBackend.doPostInstall): Copy over
modprobe.conf from the live system
|
|
|
|
|
|
| |
2007-09-26 Jeremy Katz <katzj@redhat.com>
* livecd.py (LiveCDCopyBackend.doRepoSetup): Fix formatting (#253982)
|
|
|
|
|
|
|
| |
* livecd.py (LiveCDCopyBackend._doFilesystemMangling): Set label
consistently with how it's normally set to avoid labeling lvm (#297391)
* fsset.py (FileSystemSet.labelEntry): Allow ignoring existing label
|
| |
|
|
|
|
|
|
| |
* livecd.py (LiveCDImageMethod.unmountNonFstabDirs): Fix syntax error.
* liveinst/liveinst.sh: Fix path.
|
|
|
|
| |
earlier (Douglas McClendon)
|
|
|
|
|
|
| |
* livecd.py (getLiveSizeMB): Find the size based on reading from
the filesystem with dumpe2fs; basic patch from Douglas McClendon,
cleaned up a smidge by me
|
|
|
|
|
|
| |
* livecd.py (LiveCDImageMethod.unmountNonFstabDirs): Add method to
do this unmounting and only do /selinux if SELinux is
enabled (based on a patch from Douglas McClendon)
|
|
|
|
|
| |
* livecd.py (LiveCDCopyBackend.doPostInstall): Look at root path
for kernels (Douglas McClendon)
|
|
|
|
| |
instead of creating a new one.
|
|
|
|
|
| |
* livecd.py (LiveCDCopyBackend.doRepoSetup): Mark for translation,
add size (#253982)
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* autopart.py: Change references of "Reboot" -> "Exit installer"
to make more sense in live install case.
* exception.py: Likewise.
* fsset.py: Likewise.
* gui.py: Likewise.
* harddrive.py: Likewise.
* image.py: Likewise.
* packages.py: Likewise.
* upgrade.py: Likewise.
* urlinstall: Likewise.
* yuminstall.py: Likewise.
* livecd.py (LiveCDCopyBackend.doRepoSetup): Add mnemonics
|
|
|
|
|
| |
* livecd.py (copytree): Preserve owners on copy (#243479). Also
add support for preserving SELinux xattrs during the copy process
|
|
|
|
|
|
| |
* livecd.py (LiveCDCopyBackend._doFilesystemMangling): Rework this
to properly handle the case where you have something like
/usr/local and /usr as separate partitions (#244913)
|
| |
|
|
|
|
|
| |
* livecd.py: Define Error so we don't traceback with that when
there's a problem copying (#241754)
|
|
|
|
|
| |
* livecd.py (LiveCDImageMethod.getFilename): Handle getting the
release notes for the live CD.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* isys/isys.py (driveDict): Ignore drives that the live install is
running from. This should help avoid trying to install the
bootloader to the USB key that you're running the live image off of
* livecd.py (LiveCDImageMethod.postAction): Fix unmount to work
and re-enable it so that people aren't left with /mnt/sysimage
mounted in most cases
(LiveCDImageMethod.protectedPartitions): Mark the live image
partition as protected
|
|
|
|
|
|
| |
* livecd.py (LiveCDCopyBackend._doFilesystemMangling): Fix
restorecon to do the right thing; we were ending up with files
starting with // and then files were mis-labeled (#236282)
|