Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow reusing existing "empty" filesystems for / #5416

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion anaconda.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Source0: https://github.com/rhinstaller/%{name}/releases/download/%{name}-%{vers
%define nmver 1.0
%define pykickstartver 3.52-1
%define pypartedver 2.5-2
%define pythonblivetver 1:3.8.2-2
%define pythonblivetver 1:3.9.0-1
%define rpmver 4.15.0
%define simplelinever 1.9.0-1
%define subscriptionmanagerver 1.26
Expand Down
3 changes: 2 additions & 1 deletion pyanaconda/modules/storage/checker/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ def verify_root(storage, constraints, report_error, report_warning):
"which is required for installation of %s"
" to continue.") % (get_product_name(),))

if root and root.format.exists and root.format.mountable and root.format.mountpoint == "/":
if root and root.format.exists and root.format.mountable and root.format.mountpoint == "/" \
and not root.format.is_empty:
report_error(_("You must create a new file system on the root device."))

if storage.root_device and constraints[STORAGE_ROOT_DEVICE_TYPES]:
Expand Down
Loading