From patchwork Sun Mar 12 09:58:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 737798 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vgxKF3jvWz9s7K for ; Sun, 12 Mar 2017 20:58:41 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Hx6feLTs"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8A4278952A; Sun, 12 Mar 2017 09:58:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v1Wplg_YsiDR; Sun, 12 Mar 2017 09:58:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7D26789510; Sun, 12 Mar 2017 09:58:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id A61B51BFF5E for ; Sun, 12 Mar 2017 09:58:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9F840894E6 for ; Sun, 12 Mar 2017 09:58:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uIf1wlArK47M for ; Sun, 12 Mar 2017 09:58:24 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 20D64894E0 for ; Sun, 12 Mar 2017 09:58:24 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id u132so5411971wmg.1 for ; Sun, 12 Mar 2017 01:58:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=AUSroXlrx5MYqVupmZ4Bs/USBUzOaEBCtYDBgMca6nQ=; b=Hx6feLTsmpyzKCiWPRf+CWAsiP9Gd96u2BFpCSQSQExcb6uvovFdbPQXiDLt57J55S B8HCTSZdOS7nAGZe7eM/CEQEgxKfhBBIBgRpMWdQa+ZxPmwaedDVdoKKjlDe14z0YAv7 q8BsijJawPc/yIUxG29Rp3KyDdNa2gQUXdLOPrWOliV4ud5IH5Ki7FUxGzOJPlwkx440 tOeAwXt2Imcj+EwevwzHaBPZw4p4Uv8urbzyxDe6OAQk3OYVyXBeYOaJRjzTfUqaoKI+ 1K0zddtZ4ST4mQa4FIVf7vma7mgVk/a9cgHkRX7DQp4O7SfukkaRdnBDOe1B3U9hj+kG s4QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=AUSroXlrx5MYqVupmZ4Bs/USBUzOaEBCtYDBgMca6nQ=; b=r/O+ZlVD5qX2pH4S/6OwzIn/IhFhDQYR/xUKeXw9Zu76HaSNnhkkiDtUIYQbXA3HIt TfvcYWAccILk2kguuXrxZC8TcfRu6TGKdsWB6Z70oVbk6CuZGk6o7WL8oGAqb4sGQ7vz YYPuNYimf5TwLitzyhoAqECUJYsrY8tC0YBXpJyUI4C05egFp7IR/M+FeAm6OlUJ/gXL s6GYQEGW3eFqsMV5Zl+rnztCyQiyXzGK7Zxv3la1YXewyZlQHI1xLac33EPDTZMxMl62 V5iIqhhs0gpLCPIzuqV+SBQz/fH0BahlIg2VAci7imI3dLJsESeruISNnJb/6vabGSCW Q1oA== X-Gm-Message-State: AFeK/H167fydDCIwMc/oGcp1zvMoJfJNFxwbmQQ6uywmSllabw+RaRKqOmhzkrjEb9XNnw== X-Received: by 10.28.169.87 with SMTP id s84mr5589179wme.77.1489312702457; Sun, 12 Mar 2017 01:58:22 -0800 (PST) Received: from gourin.bzh.lan (ns304657.ip-46-105-103.eu. [46.105.103.66]) by smtp.gmail.com with ESMTPSA id f48sm20403191wrf.17.2017.03.12.01.58.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 12 Mar 2017 01:58:21 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sun, 12 Mar 2017 10:58:17 +0100 Message-Id: <8587b0bad840de82be0fb95a983ae17c17d9b97f.1489312674.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 3/4] package/nbd: add option for the trdump utility X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: "Yann E. MORIN" --- package/nbd/Config.in | 9 +++++++-- package/nbd/nbd.mk | 3 +++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/package/nbd/Config.in b/package/nbd/Config.in index b00bc40..afe8ad4 100644 --- a/package/nbd/Config.in +++ b/package/nbd/Config.in @@ -16,12 +16,17 @@ config BR2_PACKAGE_NBD_CLIENT bool "nbd client" default y help - the client part of NBD. + The client part of NBD. config BR2_PACKAGE_NBD_SERVER bool "nbd server" help - the server part of NBD. + The server part of NBD. + +config BR2_PACKAGE_NBD_TRDUMP + bool "nbd trdump" + help + Utility to dump server logs in human-readable form. endif diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk index 92660c2..42200ee 100644 --- a/package/nbd/nbd.mk +++ b/package/nbd/nbd.mk @@ -24,6 +24,9 @@ endif ifneq ($(BR2_PACKAGE_NBD_SERVER),y) NBD_TOREMOVE += /usr/bin/nbd-server endif +ifneq ($(BR2_PACKAGE_NBD_TRDUMP),y) +NBD_TOREMOVE += /usr/bin/nbd-trdump +endif define NBD_CLEANUP_AFTER_INSTALL rm -f $(addprefix $(TARGET_DIR), $(NBD_TOREMOVE))