From: "Richard W.M. Jones" <[email protected]>

The two calls are identical, so this simply avoids a deprecation
warning.

(Picked from guestfs-tools commit 9a27f19269f5 ("test-data: Replace
deprecated luks_open with cryptsetup_open.", 2022-02-28).)

Signed-off-by: Laszlo Ersek <[email protected]>
---
 test-data/phony-guests/make-fedora-img.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-data/phony-guests/make-fedora-img.pl 
b/test-data/phony-guests/make-fedora-img.pl
index ad30960fa349..488a7d89963c 100755
--- a/test-data/phony-guests/make-fedora-img.pl
+++ b/test-data/phony-guests/make-fedora-img.pl
@@ -195,7 +195,7 @@ EOF
 
     # Put LUKS on the second partition.
     $g->luks_format ('/dev/sda2', 'FEDORA', 0);
-    $g->luks_open ('/dev/sda2', 'FEDORA', 'luks');
+    $g->cryptsetup_open ('/dev/sda2', 'FEDORA', 'luks');
 
     init_lvm_root ('/dev/mapper/luks');
 }
-- 
2.19.1.3.g30247aa5d201


_______________________________________________
Libguestfs mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to