Skip to content

Commit

Permalink
Merge f1f406e into 3d79c54
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Sep 2, 2020
2 parents 3d79c54 + f1f406e commit c9626c3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions package/autoyast2.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 2 16:03:15 CEST 2020 - schubi@suse.de

- Enable encryption for RAIDs (bsc#1175624).
- 3.2.32.7

-------------------------------------------------------------------
Fri Apr 3 09:27:04 CEST 2020 - schubi@suse.de

Expand Down
2 changes: 1 addition & 1 deletion package/autoyast2.spec
Expand Up @@ -17,7 +17,7 @@


Name: autoyast2
Version: 3.2.32.6
Version: 3.2.32.7
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
3 changes: 2 additions & 1 deletion src/modules/AutoinstRAID.rb
Expand Up @@ -174,8 +174,9 @@ def Write
dev = "/dev/md"+md.fetch("partition_nr", 0).to_s
end
md["device"] = dev
if Ops.get_symbol(md, "enc_type", :none) != :none
if md["crypt_fs"]
Storage.SetCryptPwd(dev, Ops.get_string(md, "crypt_key", ""))
md["enc_type"] = md["format"] ? :luks : :twofish
end
Builtins.y2milestone("Working on %1", md)
chunk_size = 4
Expand Down

0 comments on commit c9626c3

Please sign in to comment.