From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0A508138359 for ; Wed, 2 Sep 2020 13:52:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C007CE08EB; Wed, 2 Sep 2020 13:52:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A77F4E08EB for ; Wed, 2 Sep 2020 13:52:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5FE51340DE0 for ; Wed, 2 Sep 2020 13:52:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C50DC33E for ; Wed, 2 Sep 2020 13:52:36 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1599052582.0025f36938989750928753ff047320dccd9e3e27.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: defaults/ X-VCS-Repository: proj/genkernel X-VCS-Files: defaults/unlock-luks.sh X-VCS-Directories: defaults/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 0025f36938989750928753ff047320dccd9e3e27 X-VCS-Branch: master Date: Wed, 2 Sep 2020 13:52:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e0d5b061-6553-4004-ad60-f9b1900a6663 X-Archives-Hash: 89887de03bc3cda12406e00d526535f2 commit: 0025f36938989750928753ff047320dccd9e3e27 Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Sep 2 13:16:22 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Sep 2 13:16:22 2020 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=0025f369 defaults/unlock-luks.sh: Synchronize style with openLUKS() Signed-off-by: Thomas Deutschmann gentoo.org> defaults/unlock-luks.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/defaults/unlock-luks.sh b/defaults/unlock-luks.sh index 710d951..bf1deaa 100644 --- a/defaults/unlock-luks.sh +++ b/defaults/unlock-luks.sh @@ -43,8 +43,11 @@ main() { exit 1 fi - eval local LUKS_DEVICE='"${CRYPT_'${TYPE}'}"' LUKS_NAME="${NAME}" LUKS_KEY='"${CRYPT_KEYFILE_'${TYPE}'}"' - eval local LUKS_TRIM='"${CRYPT_'${TYPE}'_TRIM}"' OPENED_LOCKFILE='"${CRYPT_'${TYPE}'_OPENED_LOCKFILE}"' + local LUKS_NAME="${NAME}" + eval local LUKS_DEVICE='"${CRYPT_'${TYPE}'}"' + eval local LUKS_KEY='"${CRYPT_'${TYPE}'_KEY}"' + eval local LUKS_TRIM='"${CRYPT_'${TYPE}'_TRIM}"' + eval local OPENED_LOCKFILE='"${CRYPT_'${TYPE}'_OPENED_LOCKFILE}"' while true do