mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] util-linux-ng: allow losetup to be optionally installed
Date: Fri, 27 Jun 2014 13:43:52 +0200	[thread overview]
Message-ID: <20140627114352.GD12903@pengutronix.de> (raw)
In-Reply-To: <1403748424-6987-1-git-send-email-jon@ringle.org>

On Wed, Jun 25, 2014 at 10:07:04PM -0400, jon@ringle.org wrote:
> From: Jon Ringle <jringle@gridpoint.com>
> 

Thanks, applied.

Michael

> Signed-off-by: Jon Ringle <jringle@gridpoint.com>
> ---
>  rules/util-linux-ng.in   | 10 ++++++++++
>  rules/util-linux-ng.make |  5 ++++-
>  2 files changed, 14 insertions(+), 1 deletion(-)
> 
> diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
> index 249bc37..a98074e 100644
> --- a/rules/util-linux-ng.in
> +++ b/rules/util-linux-ng.in
> @@ -129,6 +129,16 @@ config UTIL_LINUX_NG_SWAPON
>  comment "BusyBox' swapon is selected!"
>  	depends on BUSYBOX_SWAPONOFF
>  
> +config UTIL_LINUX_NG_LOSETUP
> +	bool
> +	prompt "losetup"
> +	depends on !BUSYBOX_LOSETUP || ALLYES
> +	help
> +	  losetup is used to associate or detach a loop device with a regular file or block device, and to query the status of a loop device.
> +
> +comment "BusyBox' losetup is selected!"
> +	depends on BUSYBOX_LOSETUP
> +
>  config UTIL_LINUX_NG_MOUNT
>  	bool
>  	prompt "mount"
> diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
> index ced9e98..c47a933 100644
> --- a/rules/util-linux-ng.make
> +++ b/rules/util-linux-ng.make
> @@ -59,7 +59,7 @@ UTIL_LINUX_NG_CONF_OPT	:= \
>  	--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_LIBMOUNT)-libmount \
>  	--disable-deprecated-mount \
>  	--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_MOUNT)-mount \
> -	--disable-losetup \
> +	--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_LOSETUP)-losetup \
>  	--disable-cytune \
>  	--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_FSCK)-fsck \
>  	--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_PARTX_TOOLS)-partx \
> @@ -167,6 +167,9 @@ ifdef PTXCONF_UTIL_LINUX_NG_SWAPON
>  	@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /sbin/swapon)
>  	@$(call install_link, util-linux-ng, swapon, /sbin/swapoff)
>  endif
> +ifdef PTXCONF_UTIL_LINUX_NG_LOSETUP
> +	@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /sbin/losetup)
> +endif
>  ifdef PTXCONF_UTIL_LINUX_NG_MOUNT
>  	@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /bin/mount)
>  endif
> -- 
> 1.8.5.4
> 
> 
> -- 
> 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

      reply	other threads:[~2014-06-27 11:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-26  2:07 jon
2014-06-27 11:43 ` Michael Olbrich [this message]

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=20140627114352.GD12903@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