From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/4] netatop: new package
Date: Fri, 7 Oct 2016 23:19:20 +0200 [thread overview]
Message-ID: <20161007231920.2a4050e6@free-electrons.com> (raw)
In-Reply-To: <20161007203031.21528-2-ricardo.martincoski@datacom.ind.br>
Hello,
On Fri, 7 Oct 2016 17:30:29 -0300, Ricardo Martincoski wrote:
> diff --git a/package/netatop/netatop.hash b/package/netatop/netatop.hash
> new file mode 100644
> index 0000000..f721ddd
> --- /dev/null
> +++ b/package/netatop/netatop.hash
> @@ -0,0 +1,2 @@
> +# Locally computed:
> +sha256 0bdde8315d2c6e4a1d87fd10d27659d76d07949b31f0dc5e81662e67e1d0fdd0 netatop-1.0.tar.gz
> diff --git a/package/netatop/netatop.mk b/package/netatop/netatop.mk
> new file mode 100644
> index 0000000..623bed7
> --- /dev/null
> +++ b/package/netatop/netatop.mk
> @@ -0,0 +1,21 @@
> +################################################################################
> +#
> +# netatop
> +#
> +################################################################################
> +
> +NETATOP_VERSION = 1.0
> +NETATOP_SITE = http://www.atoptool.nl/download
> +NETATOP_LICENSE = GPLv2
> +# no license file. It will be added for the next version
> +NETATOP_LICENSE_FILES = module/netatop.c
> +
> +NETATOP_MODULE_SUBDIRS = module
> +
> +define NETATOP_INSTALL_INIT_SYSV
> + $(INSTALL) -D -m 0755 $(@D)/netatop.init \
> + $(TARGET_DIR)/etc/init.d/S50netatop
> +endef
> +
> +$(eval $(kernel-module))
> +$(eval $(generic-package))
In addition to the kernel module, netatop also builds a daemon,
netatopd, which gets started by the init script if available. But
your .mk file does not seem to build the netatopd daemon. Why so?
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-10-07 21:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-07 20:30 [Buildroot] [PATCH 1/4] atop: new package Ricardo Martincoski
2016-10-07 20:30 ` [Buildroot] [PATCH 2/4] netatop: " Ricardo Martincoski
2016-10-07 21:19 ` Thomas Petazzoni [this message]
2016-10-08 21:58 ` Ricardo Martincoski
2016-10-07 20:30 ` [Buildroot] [PATCH 3/4] netatop: enable required kernel feature Ricardo Martincoski
2016-10-07 21:20 ` Thomas Petazzoni
2016-10-08 20:45 ` Ricardo Martincoski
2016-10-07 20:30 ` [Buildroot] [PATCH 4/4] DEVELOPERS: list {, net}atop package under my name Ricardo Martincoski
2016-10-07 21:21 ` Thomas Petazzoni
2016-10-07 21:18 ` [Buildroot] [PATCH 1/4] atop: new package Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161007231920.2a4050e6@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.