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