public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Randy MacLeod <randy.macleod@windriver.com>
To: Patrick Williams <patrick@stwcx.xyz>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/2] util-linux: Disable minix support.
Date: Thu, 15 Sep 2016 16:32:23 -0400	[thread overview]
Message-ID: <b88d60f8-7916-b1a0-f381-b62c9111c7be@windriver.com> (raw)
In-Reply-To: <1473966359-13292-1-git-send-email-patrick@stwcx.xyz>

On 2016-09-15 03:05 PM, Patrick Williams wrote:
> Disable building of {mkfs,fsck}.minix.

Nice clean-up patch Patrick.

I know what minux is but your next patch disables
bfs and I don't have a clue what that is.

Could you re-send with longer commit messages that
explains what the change is in a way that doesn't
require knowing 25 years of linux history? :)

Something like:


Disable building of {mkfs,fsck}.minix.

Disable filesystem tools for minix filesystems.
The Minix OS predates linux and such filesystems are rarely used.
No other oe-core or meta-oe recipes reference minux so
this should not cause secondary problems.

and something similar for bfs.

Thanks,
../Randy

>
> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
> ---
>  meta/recipes-core/util-linux/util-linux.inc | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
> index bf770d8..608f198 100644
> --- a/meta/recipes-core/util-linux/util-linux.inc
> +++ b/meta/recipes-core/util-linux/util-linux.inc
> @@ -45,7 +45,8 @@ SHARED_EXTRA_OECONF = "--disable-use-tty-group \
>                         --enable-raw --enable-reset --disable-login \
>                         --disable-vipw --disable-newgrp --disable-chfn-chsh \
>                         --enable-write --enable-mount \
> -                       --enable-libuuid --enable-libblkid --enable-fsck --without-udev \
> +                       --enable-libuuid --enable-libblkid --enable-fsck \
> +                       --disable-minix --without-udev \
>                         usrsbin_execdir='${sbindir}' \
>  "
>
> @@ -191,7 +192,7 @@ do_install_append_class-native () {
>  ALTERNATIVE_PRIORITY = "80"
>
>  ALTERNATIVE_${PN}  = "dmesg kill more mkswap blockdev pivot_root switch_root"
> -ALTERNATIVE_${PN} += "mkfs.minix hexdump last lastb logger mesg renice wall"
> +ALTERNATIVE_${PN} += "hexdump last lastb logger mesg renice wall"
>  ALTERNATIVE_${PN} += "setsid chrt flock utmpdump eject"
>
>  ALTERNATIVE_LINK_NAME[dmesg] = "${base_bindir}/dmesg"
> @@ -201,7 +202,6 @@ ALTERNATIVE_LINK_NAME[mkswap] = "${base_sbindir}/mkswap"
>  ALTERNATIVE_LINK_NAME[blockdev] = "${base_sbindir}/blockdev"
>  ALTERNATIVE_LINK_NAME[pivot_root] = "${base_sbindir}/pivot_root"
>  ALTERNATIVE_LINK_NAME[switch_root] = "${base_sbindir}/switch_root"
> -ALTERNATIVE_LINK_NAME[mkfs.minix] = "${base_sbindir}/mkfs.minix"
>  ALTERNATIVE_LINK_NAME[eject] = "${bindir}/eject"
>
>  ALTERNATIVE_${PN}-doc = "mountpoint.1 last.1 lastb.1 mesg.1 wall.1 nologin.8 sulogin.8 utmpdump.1 reset.1 kill.1 libblkid.3 blkid.8 findfs.8 fsck.8 uuid.3"
> @@ -248,8 +248,7 @@ ALTERNATIVE_util-linux-swaponoff = "swapoff swapon"
>  ALTERNATIVE_LINK_NAME[swapoff] = "${base_sbindir}/swapoff"
>  ALTERNATIVE_LINK_NAME[swapon] = "${base_sbindir}/swapon"
>
> -ALTERNATIVE_util-linux-fsck = "fsck.minix fsck"
> -ALTERNATIVE_LINK_NAME[fsck.minix] = "${base_sbindir}/fsck.minix"
> +ALTERNATIVE_util-linux-fsck = "fsck"
>  ALTERNATIVE_LINK_NAME[fsck] = "${base_sbindir}/fsck"
>
>  ALTERNATIVE_util-linux-blkid = "blkid"
>


-- 
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, 
Canada, K2K 2W5


  parent reply	other threads:[~2016-09-15 20:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-15 19:05 [PATCH 1/2] util-linux: Disable minix support Patrick Williams
2016-09-15 19:05 ` [PATCH 2/2] util-linux: Disable bfs support Patrick Williams
2016-09-15 20:32 ` Randy MacLeod [this message]
2016-09-15 21:11   ` [PATCH v2 1/2] util-linux: Disable minix support Patrick Williams
2016-09-15 21:11     ` [PATCH v2 2/2] util-linux: Disable bfs support Patrick Williams
2016-09-15 22:32       ` Randy MacLeod

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=b88d60f8-7916-b1a0-f381-b62c9111c7be@windriver.com \
    --to=randy.macleod@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=patrick@stwcx.xyz \
    /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