From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 13/20] nfsutils: adapt package's '/var/lib' requirements
Date: Fri, 7 Jun 2019 09:25:22 +0200 [thread overview]
Message-ID: <20190607072522.w5ux2yqoymxsfqfc@pengutronix.de> (raw)
In-Reply-To: <20190605125421.20087-14-jbe@pengutronix.de>
On Wed, Jun 05, 2019 at 02:54:14PM +0200, Juergen Borleis wrote:
> Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
> ---
> rules/nfsutils.in | 12 +++++++++---
> rules/nfsutils.make | 2 +-
> 2 files changed, 10 insertions(+), 4 deletions(-)
>
> diff --git a/rules/nfsutils.in b/rules/nfsutils.in
> index bd1052ebb..ed62b6d08 100644
> --- a/rules/nfsutils.in
> +++ b/rules/nfsutils.in
> @@ -9,11 +9,15 @@ menuconfig NFSUTILS
> select RPCBIND if RUNTIME
> select LIBTIRPC if GLOBAL_IPV6
> select ROOTFS_PROTOCOLS if NFSUTILS_CLIENT
> + select ROOTFS_VAR_LIB if RUNTIME
> + select SYSTEMD if RUNTIME && NFSUTILS_SYSTEMD_UNIT
> help
> The Sun Network Filesystem (NFS) protocol provides transparent remote
> access to shared files across networks. The NFS protocol is designed
> to be portable across different machines, operating systems, network
> architectures, and transport protocols.
> + Note: this package expects write permissions to '/var/lib/nfs' for
> + its state information.
>
> if NFSUTILS
>
> @@ -27,18 +31,20 @@ config NFSUTILS_SERVER
> bool
> prompt "server"
> help
> - Install all tools and daemons to run a NFS server.
> + Install all tools and daemons to run an NFS server.
>
> config NFSUTILS_NFSD_STARTSCRIPT
> bool
> - depends on NFSUTILS_SERVER
> + depends on NFSUTILS_SERVER && !INITMETHOD_SYSTEMD
Same as with samba.
> default y
> prompt "install /etc/init.d/nfsd"
>
> config NFSUTILS_SYSTEMD_UNIT
> bool
> default y
> - depends on SYSTEMD
> + depends on INITMETHOD_SYSTEMD
Hmm, originally all these options depended on SYSTEMD. That was before
INITMETHOD_SYSTEMD was fully established I think and later just copy/paste.
At some point this changed because packages needed so select SYSTEMD.
I think changing this makes sense but should happen globally for all
packages.
Michael
> prompt "install systemd unit files"
> + help
> + Install all systemd related unit files to run the 'nfsutils'.
>
> endif
> diff --git a/rules/nfsutils.make b/rules/nfsutils.make
> index 929f53c72..4ce01c4e3 100644
> --- a/rules/nfsutils.make
> +++ b/rules/nfsutils.make
> @@ -76,7 +76,7 @@ $(STATEDIR)/nfsutils.targetinstall:
> @$(call install_fixup, nfsutils,PRIORITY,optional)
> @$(call install_fixup, nfsutils,SECTION,base)
> @$(call install_fixup, nfsutils,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
> - @$(call install_fixup, nfsutils,DESCRIPTION,missing)
> + @$(call install_fixup, nfsutils,DESCRIPTION,"Network Filesystem Support")
>
> @$(call install_copy, nfsutils, 0, 0, 0755, -, /usr/sbin/nfsstat)
> @$(call install_copy, nfsutils, 0, 0, 0755, -, /usr/sbin/nfsiostat)
> --
> 2.20.1
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2019-06-07 7:25 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-05 12:54 [ptxdist] More collected changes Juergen Borleis
2019-06-05 12:54 ` [ptxdist] [PATCH 01/20] rootfs: keep /var writable, even if the rootfs is read-only Juergen Borleis
2019-06-24 6:48 ` [ptxdist] [PATCH] fixup! " Michael Olbrich
2019-06-24 6:57 ` Michael Olbrich
2019-06-05 12:54 ` [ptxdist] [PATCH 02/20] rootfs: keep '/var/tmp' permissions in sync with 'systemd' Juergen Borleis
2019-06-05 12:54 ` [ptxdist] [PATCH 03/20] rootfs: '/var' is a mandatory directory according to FHS Juergen Borleis
2019-06-05 12:54 ` [ptxdist] [PATCH 04/20] conman: adapt package's '/var/lib' requirements Juergen Borleis
2019-06-11 8:17 ` Michael Olbrich
2019-06-05 12:54 ` [ptxdist] [PATCH 05/20] networkmanager: " Juergen Borleis
2019-06-05 12:54 ` [ptxdist] [PATCH 06/20] ntp: adapt package's '/var/lib' and '/var/log' requirements Juergen Borleis
2019-06-05 12:54 ` [ptxdist] [PATCH 07/20] dnsmasq: version bump 2.79 -> 2.80 Juergen Borleis
2019-06-05 12:54 ` [ptxdist] [PATCH 08/20] dnsmasq: clean up rule file Juergen Borleis
2019-06-05 12:54 ` [ptxdist] [PATCH 09/20] dnsmasq: adapt package's '/var/lib' requirements Juergen Borleis
2019-06-05 12:54 ` [ptxdist] [PATCH 10/20] mariadb: " Juergen Borleis
2019-06-05 12:54 ` [ptxdist] [PATCH 11/20] samba: adapt package's '/var/lib' and '/var/cache' requirements Juergen Borleis
2019-06-07 7:15 ` Michael Olbrich
2019-06-05 12:54 ` [ptxdist] [PATCH 12/20] polkit: adapt package's '/var/lib' requirements Juergen Borleis
2019-06-05 12:54 ` [ptxdist] [PATCH 13/20] nfsutils: " Juergen Borleis
2019-06-07 7:25 ` Michael Olbrich [this message]
2019-06-05 12:54 ` [ptxdist] [PATCH 14/20] logrotate: " Juergen Borleis
2019-06-05 12:54 ` [ptxdist] [PATCH 15/20] systemd: adapt package's '/var/lib' and '/var/cache' requirements Juergen Borleis
2019-06-05 12:54 ` [ptxdist] [PATCH 16/20] sysstat: adapt package's '/var/log' requirements Juergen Borleis
2019-06-05 12:54 ` [ptxdist] [PATCH 17/20] minicoredumper: adapt package's '/var/cache' requirements Juergen Borleis
2019-06-07 7:27 ` Michael Olbrich
2019-06-05 12:54 ` [ptxdist] [PATCH 18/20] opkg: move opkg-database to a read-only location Juergen Borleis
2019-06-11 8:19 ` Michael Olbrich
2019-06-05 12:54 ` [ptxdist] [PATCH 19/20] dbus: adapt run-time socket path Juergen Borleis
2019-06-05 12:54 ` [ptxdist] [PATCH 20/20] Update and sync autotools based package templates Juergen Borleis
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=20190607072522.w5ux2yqoymxsfqfc@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox