From patchwork Thu May 22 12:35:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas De Schampheleire X-Patchwork-Id: 351479 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 708B414008A for ; Thu, 22 May 2014 22:38:54 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9CA7D8A23C; Thu, 22 May 2014 12:38:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iK+i1Of0rStj; Thu, 22 May 2014 12:38:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 9D6778C160; Thu, 22 May 2014 12:38:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 38AFF1BFA35 for ; Thu, 22 May 2014 12:38:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 361A789D86 for ; Thu, 22 May 2014 12:38:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qlYwKLXyy4R5 for ; Thu, 22 May 2014 12:38:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by hemlock.osuosl.org (Postfix) with ESMTPS id 606DA89ACB for ; Thu, 22 May 2014 12:38:45 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id r20so4223233wiv.15 for ; Thu, 22 May 2014 05:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:content-transfer-encoding:subject :message-id:in-reply-to:references:user-agent:date:from:to; bh=XwZACgWUxbzcNw/oaN7JarfZ2+DK0g6vA4rYtN/eXXU=; b=DQlX9q8DR+zadHJByZFSwtXit7MY8sek/qq42CyHP45FGsGIWBeXa2a9XKfQxPWp8M 4sosox7xbzhDcDLxiCm9aK32t9XyGKetyOKVgzVHLy1ZQ+r7aaBuj/gLW2sV/R72Z+nX pkQ7NR4oKGwT+v3RRoS9e9hhKmmo+DfUvAeMMuBhlp+PGMgH8NqpHMFW3Kcyia8Qy/b4 WMDwVGXjhY6N29QuhLv61FGqiJt1aGkFxS0wrb1PyYahy2ZsUP5TktmsfLOYpZ0+O3NI kze0113GLxfJPU9cGHcm6cFxmVZM5ANvSYItdCkbow9fJlyMP8HdJXagbZkoMyt/x2Sz laBg== X-Received: by 10.180.186.97 with SMTP id fj1mr1105262wic.21.1400762323896; Thu, 22 May 2014 05:38:43 -0700 (PDT) Received: from [127.0.1.1] (alc112.alcatel.be. [195.207.101.112]) by mx.google.com with ESMTPSA id z14sm180326wiu.6.2014.05.22.05.38.42 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 05:38:43 -0700 (PDT) MIME-Version: 1.0 X-Mercurial-Node: cda34eac2826e87dffc23bd3f36505b5dc275275 Message-Id: In-Reply-To: References: User-Agent: Mercurial-patchbomb/2.2.2 Date: Thu, 22 May 2014 14:35:41 +0200 From: Thomas De Schampheleire To: buildroot@buildroot.org Subject: [Buildroot] [PATCH 2 of 2] fs/tar: use qstrip to clean up build output X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net When using the tar filesystem method, the build output shows at the end: echo " tar -c""f
/output/images/rootfs.tar -C
/output/target ." >>
/output/build/_fakeroot.fs The inner set of quotes can be easily removed by properly stripping the tar options (coming from the buildroot configuration). Signed-off-by: Thomas De Schampheleire Acked-by: Romain Naour --- fs/tar/tar.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/tar/tar.mk b/fs/tar/tar.mk --- a/fs/tar/tar.mk +++ b/fs/tar/tar.mk @@ -4,7 +4,7 @@ # ################################################################################ -TAR_OPTS := $(BR2_TARGET_ROOTFS_TAR_OPTIONS) +TAR_OPTS := $(call qstrip,$(BR2_TARGET_ROOTFS_TAR_OPTIONS)) define ROOTFS_TAR_CMD tar -c$(TAR_OPTS)f $@ -C $(TARGET_DIR) .