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 F2557138335 for ; Thu, 28 Feb 2019 06:40:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0405DE08D4; Thu, 28 Feb 2019 06:40:33 +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 C9FF2E08D4 for ; Thu, 28 Feb 2019 06:40:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 5D584335CEA for ; Thu, 28 Feb 2019 06:40:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB511553 for ; Thu, 28 Feb 2019 06:40:29 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1551140531.03b4d75447212ea5bd529d0757c42ee7b2de4169.robbat2@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: defaults/ X-VCS-Repository: proj/genkernel X-VCS-Files: defaults/linuxrc X-VCS-Directories: defaults/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 03b4d75447212ea5bd529d0757c42ee7b2de4169 X-VCS-Branch: master Date: Thu, 28 Feb 2019 06:40:29 +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: 00408f16-ee58-4be9-8195-49cbcc141ce5 X-Archives-Hash: ba10bfba9960a64e987ebda16ee8af18 commit: 03b4d75447212ea5bd529d0757c42ee7b2de4169 Author: Georgy Yakovlev gentoo org> AuthorDate: Tue Feb 26 00:22:11 2019 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Tue Feb 26 00:22:11 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=03b4d754 Fix 'legacy' mountpoint detection Was broken due to missing $() Signed-off-by: Georgy Yakovlev gentoo.org> defaults/linuxrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/linuxrc b/defaults/linuxrc index 7c9fac8..0776423 100644 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -666,7 +666,7 @@ do if [ "${ROOTFSTYPE}" = 'zfs' ] then - if [ "zfs get -H -o value mountpoint ${REAL_ROOT}" = 'legacy' ] + if [ "$(zfs get -H -o value mountpoint "${REAL_ROOT}")" = 'legacy' ] then MOUNT_STATE=rw else