[master] Fix splitting out UI code
by Vratislav Podzimek
This patch should fix an issue that has appeared in the rawhide builds that fail
due to rpmdiff complaining about things from a noarch package being in the
/usr/lib64/ tree.
Vratislav Podzimek (1):
The gui and tui subpackages cannot be noarch
anaconda.spec.in | 2 --
1 file changed, 2 deletions(-)
--
1.8.4.2
10 years, 6 months
[rhel7/f20/master] Update boot-options.txt.
by Anne Mulhern
* Move inst.mediacheck to removed options and suggest rd.live.check instead.
* Add an entry for inst.dd.
* Add an entry for inst.resolution.
Signed-off-by: mulhern <amulhern(a)redhat.com>
---
docs/boot-options.txt | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/docs/boot-options.txt b/docs/boot-options.txt
index 88fc238..fc0d176 100644
--- a/docs/boot-options.txt
+++ b/docs/boot-options.txt
@@ -88,6 +88,11 @@ the space character (' ').
This specifies the location to fetch only the installer runtime image;
packages will be ignored. Otherwise the same as <<inst.repo,`inst.repo`>>.
+=== inst.dd ===
+This specifies the location for driver rpms. May be specified multiple times.
+Locations may be specified using any of the formats allowed for
+<<inst.repo,`inst.repo`>>.
+
[[kickstart]]
Kickstart
---------
@@ -230,6 +235,10 @@ Run the installer in graphical mode. This is the default.
Run the installer using a limited text-based UI. Unless you're using a
kickstart file this probably isn't a good idea; you should use VNC instead.
+=== inst.resolution ===
+Specify screen size for the installer. Use format nxm, where n is the
+number of horizontal pixels, m the number of vertical pixels.
+
[[inst.vnc]]
=== inst.vnc ===
Run the installer GUI in a VNC session. You will need a VNC client application
@@ -271,9 +280,6 @@ the `sshpw` kickstart command.
Debugging and Troubleshooting
-----------------------------
-=== inst.mediacheck ===
-Verify the installer media before starting the install.
-
=== inst.rescue ===
Run the rescue environment. This is useful for trying to diagnose and fix
broken systems.
@@ -376,6 +382,9 @@ Who needs to force half-duplex 10-base-T anymore?
This was used to debug `loader`, so it has been removed. There are plenty of
options for debugging dracut-based initramfs - see the {dracutdebug}.
+=== inst.mediacheck ===
+Use the dracut option rd.live.check instead.
+
=== ks=floppy ===
We no longer support floppy drives. Try `inst.ks=hd:<device>` instead.
--
1.8.3.1
10 years, 6 months
[PATCH] v3 btrfs subvolume reclaim option for kickstart
by Gene Czarcinski
This involves a patch to pykickstart and a patch to anaconda.
The patch for anaconda was created on anaconda-20.25.6-1 and the patch
for pykickstart was created on r-1.99.44-1 and should easily apply or
rebase.
The patches implement a capability currently available if you perform a
non-kickstart custom-allocation install where you can reclaim the name
(and space) of an existing btrfs subvolume and then reuse (recreate) a
new btrfs subvolume of the smae name over it.
The are times in both virtual and real world when a reinstall is needed.
Currently, when this involves a btrfs subvolume as root, you have to manually
delete that subvolume. The capability implemented in these patches allows
a kickstart user to do that at install time.
These patches were used to create an updated pykickstart noarch.rpm and an
updates images which included the anaconda and pykickstart changes. The
updates iamge was then used with an updated ISO created with lorax/pungi
under mock running on a Fedora 20-Beta system to creat a TC6+ install
environment. Testing was successful and everything worked as designed.
Note: "--reclaim" was chosen for the option since it is both different and,
at the same time, the same as the term used in a non-kickstart install.
Gene Czarcinski (1):
v3 add reclaim capability for btrfs subvolumes
pyanaconda/kickstart.py | 8 ++++++++
1 file changed, 8 insertions(+)
Gene Czarcinski (1):
v3 add reclaim option to kickstart btrfs command
pykickstart/commands/btrfs.py | 5 +++++
1 file changed, 5 insertions(+)
--
1.8.3.1
10 years, 6 months
[rhel7/f20/master] Update boot-options.txt.
by Anne Mulhern
* Move inst.mediacheck to removed options and suggest rd.live.check instead.
* Add an entry for inst.dd.
Signed-off-by: mulhern <amulhern(a)redhat.com>
---
docs/boot-options.txt | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/docs/boot-options.txt b/docs/boot-options.txt
index 88fc238..7139009 100644
--- a/docs/boot-options.txt
+++ b/docs/boot-options.txt
@@ -88,6 +88,11 @@ the space character (' ').
This specifies the location to fetch only the installer runtime image;
packages will be ignored. Otherwise the same as <<inst.repo,`inst.repo`>>.
+=== inst.dd ===
+This specifies the location for driver rpms. May be specified multiple times.
+Locations may be specified using any of the formats allowed for
+<<inst.repo,`inst.repo`>>.
+
[[kickstart]]
Kickstart
---------
@@ -271,9 +276,6 @@ the `sshpw` kickstart command.
Debugging and Troubleshooting
-----------------------------
-=== inst.mediacheck ===
-Verify the installer media before starting the install.
-
=== inst.rescue ===
Run the rescue environment. This is useful for trying to diagnose and fix
broken systems.
@@ -376,6 +378,9 @@ Who needs to force half-duplex 10-base-T anymore?
This was used to debug `loader`, so it has been removed. There are plenty of
options for debugging dracut-based initramfs - see the {dracutdebug}.
+=== inst.mediacheck ===
+Use the dracut option rd.live.check instead.
+
=== ks=floppy ===
We no longer support floppy drives. Try `inst.ks=hd:<device>` instead.
--
1.8.3.1
10 years, 6 months
[rhel7 0/2] rhel7 version of preconf (#882279)
by Brian C. Lane
From: "Brian C. Lane" <bcl(a)redhat.com>
First I moved part of configureBaseRepo into _setupInstallDevice so the next
patch would more closely match the f20 version. I left the new method in
yumpayload for now in the interest of keeping the changes as small/similar to
f20 as possible.
Tested against rhel7 GUI and TUI. I was able to reproduce the problem using
nfs in text and this fixes it. Also tested with kickstart in GUI and TUI.
Brian C. Lane (2):
refactor into _setupInstallDevice (#882279)
Make _yum.preconf setup atomic (#882279)
pyanaconda/packaging/yumpayload.py | 130 ++++++++++++++++++-------------------
1 file changed, 63 insertions(+), 67 deletions(-)
--
1.8.3.1
10 years, 6 months
revised and expanded btrfs patch set
by David Lehman
Patches 1 and 2 are slightly modified from the versions I posted last
week. The main change is introducing the MAIN_VOLUME_ID constant in the
first patch instead of the second.
Patches 1, 3, and 5 together add handling for various btrfs craziness
like nested subvolumes and setting a mountpoint for the main volume.
Patch 4 fixes a bug when editing the btrfs autopart layout in the custom
spoke. I can't think of any regressions it might cause, and have added
that area to my list of unit test ideas.
10 years, 6 months
[PATCH] Handle cancelation of device resize in the custom spoke. (#1027947)
by David Lehman
---
pyanaconda/ui/gui/spokes/custom.py | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index f19da80..97fd02a 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1464,7 +1464,14 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
# And then we need to re-check that the max size is actually
# different from the current size.
- if size != device.size:
+ if size != device.size and int(size) == int(device.currentSize):
+ # size has been set back to its original value
+ actions = self.__storage.devicetree.findActions(type="resize",
+ devid=device.id)
+ with ui_storage_logger():
+ for action in actions:
+ self.__storage.devicetree.cancelAction(action)
+ elif size != device.size:
log.debug("scheduling resize of device %s to %s MB", device.name, size)
with ui_storage_logger():
--
1.8.1.4
10 years, 6 months
[PATCH][blivet] Clear whole-disk formatting before initializing disks. (#1032380)
by David Lehman
---
blivet/__init__.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/blivet/__init__.py b/blivet/__init__.py
index dbd8b69..177fdb7 100644
--- a/blivet/__init__.py
+++ b/blivet/__init__.py
@@ -802,6 +802,7 @@ class Blivet(object):
continue
log.debug("clearpart: initializing %s" % disk.name)
+ self.recursiveRemove(disk)
self.initializeDisk(disk)
self.updateBootLoaderDiskList()
--
1.8.1.4
10 years, 6 months
[master/f20 0/3] v3 of the preconf/baserepo fixes.
by Brian C. Lane
From: "Brian C. Lane" <bcl(a)redhat.com>
Patches 1 and 2 are the same as v2.
Patch 1 is slightly different from v1 in that it reverts the current
behavior in the software spoke init and only checks payload md thread if
kickstarted. Patch #2 takes care of potential preconf collisions.
Patch 3 solves the GUI kickstart crash I was seeing, and improves things so
that we only need to lock when changing the baseRepo value, not when reading
and not giving it an unknown state. payload.baseRepo can now be checked as
often as needed. If new metadata is being downloaded it will be None until that
process is finished.
I have tested these against DVD, netinst and PXE with and without askmethod
cmdline arg. in combination with mkolman's ISO source patch which did a good
job of triggering the problems, especially in text mode.
There is an updates.img available from:
http://bcl.fedorapeople.org/updates/1011555.img that includes all patches since
20.25.6 as well as new pykickstart and langtable. This will work against the
Beta iso's.
Brian C. Lane (3):
Remove threading from getBaseRepo handling (#1011555)
Make _yum.preconf setup atomic (#1028245)
Remove base_repo cache (#1011555)
pyanaconda/constants.py | 1 -
pyanaconda/packaging/__init__.py | 21 +--
pyanaconda/packaging/dnfpayload.py | 5 +-
pyanaconda/packaging/yumpayload.py | 242 +++++++++++++----------------------
pyanaconda/ui/gui/spokes/network.py | 4 +-
pyanaconda/ui/gui/spokes/software.py | 2 +-
pyanaconda/ui/gui/spokes/source.py | 12 +-
pyanaconda/ui/gui/spokes/storage.py | 2 +-
pyanaconda/ui/tui/spokes/software.py | 9 +-
pyanaconda/ui/tui/spokes/source.py | 8 +-
10 files changed, 119 insertions(+), 187 deletions(-)
--
1.8.3.1
10 years, 6 months
[blivet] Three more patches for translation stuff
by David Shea
Plus the two patches from before that provide a means of translating size
specs. The last patch is master-only since it marks some new strings as
translatable and string freeze was a while ago, but I wanted to go ahead and
get a fix for those titles while I was working on the related problems.
Anyway: patches 1-4 here and the anaconda patch from the previous thread will
fix 1029616, and these patches also translate some things in blivet that we
had translations for but weren't using, so the user will get some exciting
surprises like localized strings for "create format" or "First sector of boot
partition"
10 years, 6 months