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 97DDD1396D0 for ; Wed, 9 Aug 2017 12:08:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB9A8E0CB6; Wed, 9 Aug 2017 12:08:07 +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 A39B6E0CB6 for ; Wed, 9 Aug 2017 12:08:07 +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 C96C8341964 for ; Wed, 9 Aug 2017 12:08:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70FE474B9 for ; Wed, 9 Aug 2017 12:08:05 +0000 (UTC) From: "Richard Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Richard Farina" Message-ID: <1502280479.814524dc65a06d34f9f9f4ca36487365ca0eece3.zerochaos@gentoo> Subject: [gentoo-commits] proj/genkernel:overlayfs commit in: defaults/ X-VCS-Repository: proj/genkernel X-VCS-Files: defaults/initrd.scripts X-VCS-Directories: defaults/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Richard Farina X-VCS-Revision: 814524dc65a06d34f9f9f4ca36487365ca0eece3 X-VCS-Branch: overlayfs Date: Wed, 9 Aug 2017 12:08:05 +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-Archives-Salt: b317c044-869f-48c6-8025-914dee3d68c2 X-Archives-Hash: b66b4924ee0e6dee0dca3ca850111fbf commit: 814524dc65a06d34f9f9f4ca36487365ca0eece3 Author: Rick Farina (Zero_Chaos) gentoo org> AuthorDate: Wed Aug 9 12:07:59 2017 +0000 Commit: Richard Farina gentoo org> CommitDate: Wed Aug 9 12:07:59 2017 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=814524dc add module success message in the right place for overlayfs defaults/initrd.scripts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index bd3d85e..5c73bfc 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -359,7 +359,11 @@ union_insert_modules() { for module in "$1/"*.lzm; do if [ 1 = "$overlayfs" ];then - union_mod overlayfs "$module" || bad_msg "Unable to insert module: '$module'" + if union_mod overlayfs "$module";then + good_msg "Addition of '$module' to overlay successful" + else + bad_msg "Unable to insert module: '$module'" + fi # Used in setup_overlayfs() mod_path="$mod_path:$mod_dir/.$mod"