Patchwork [03/20] udev-cache: Honor VERBOSE for bootup message

login
register
mail settings
Submitter Ben Shelton
Date Aug. 4, 2014, 6:40 p.m.
Message ID <d358027b2a45a24ce326fb34499b16ef9fb896a5.1407177403.git.ben.shelton@ni.com>
Download mbox | patch
Permalink /patch/77215/
State New
Headers show

Comments

Ben Shelton - Aug. 4, 2014, 6:40 p.m.
From: Richard Tollerton <rich.tollerton@ni.com>

Natinst-Rally-ID: TA44427
Acked-by: Gratian Crisan <gratian.crisan@ni.com>
Natinst-ReviewBoard-ID: 58620
Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
---
 meta/recipes-core/udev/udev/udev-cache | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Otavio Salvador - Aug. 4, 2014, 7:30 p.m.
On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton <ben.shelton@ni.com> wrote:
> From: Richard Tollerton <rich.tollerton@ni.com>
>
> Natinst-Rally-ID: TA44427
> Acked-by: Gratian Crisan <gratian.crisan@ni.com>
> Natinst-ReviewBoard-ID: 58620
> Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
> ---


Acked-by: Otavio Salvador <otavio@ossystems.com.br>

Patch

diff --git a/meta/recipes-core/udev/udev/udev-cache b/meta/recipes-core/udev/udev/udev-cache
index 3769062..154d2ad 100644
--- a/meta/recipes-core/udev/udev/udev-cache
+++ b/meta/recipes-core/udev/udev/udev-cache
@@ -24,7 +24,7 @@  if [ "$ROOTFS_READ_ONLY" = "yes" ]; then
 fi
 
 if [ "$DEVCACHE" != "" -a -e /dev/shm/udev.cache ]; then
-	echo "Populating dev cache"
+	[ "${VERBOSE}" != "no" ] && echo "Populating dev cache"
 	(cd /; tar czf "$DEVCACHE" dev)
 	mv /dev/shm/udev.cache /etc/udev/cache.data
 fi