All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] util-linux: Remove raw flags in EXTRA_OECONF
@ 2022-08-19 11:33 Mateusz Marciniec
  2022-08-19 14:38 ` [OE-core] " Peter Kjellerstedt
  0 siblings, 1 reply; 3+ messages in thread
From: Mateusz Marciniec @ 2022-08-19 11:33 UTC (permalink / raw)
  To: openembedded-core; +Cc: Mateusz Marciniec, Tomasz Dziendzielski

Having both enable and disable flags for raw is confusing.
Raw should not be enabled so both flags can be removed.

Signed-off-by: Mateusz Marciniec <mateuszmar2@gmail.com>
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
---
 meta/recipes-core/util-linux/util-linux_2.38.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/util-linux/util-linux_2.38.1.bb b/meta/recipes-core/util-linux/util-linux_2.38.1.bb
index 8a7b47a0c6..a93ae83cd6 100644
--- a/meta/recipes-core/util-linux/util-linux_2.38.1.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.38.1.bb
@@ -69,12 +69,12 @@ EXTRA_OECONF = "\
     --enable-libuuid --enable-libblkid \
     \
     --enable-fsck --enable-kill --enable-last --enable-mesg \
-    --enable-mount --enable-partx --enable-raw --enable-rfkill \
+    --enable-mount --enable-partx --enable-rfkill \
     --enable-unshare --enable-write \
     \
     --disable-bfs --disable-login \
     --disable-makeinstall-chown --disable-minix --disable-newgrp \
-    --disable-use-tty-group --disable-vipw --disable-raw \
+    --disable-use-tty-group --disable-vipw \
     \
     --without-udev \
     \
-- 
2.37.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [OE-core] [PATCH] util-linux: Remove raw flags in EXTRA_OECONF
  2022-08-19 11:33 [PATCH] util-linux: Remove raw flags in EXTRA_OECONF Mateusz Marciniec
@ 2022-08-19 14:38 ` Peter Kjellerstedt
  2022-08-23  9:38   ` Mateusz Marciniec
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Kjellerstedt @ 2022-08-19 14:38 UTC (permalink / raw)
  To: Mateusz Marciniec, openembedded-core@lists.openembedded.org
  Cc: Tomasz Dziendzielski

> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-
> core@lists.openembedded.org> On Behalf Of Mateusz Marciniec
> Sent: den 19 augusti 2022 13:34
> To: openembedded-core@lists.openembedded.org
> Cc: Mateusz Marciniec <mateuszmar2@gmail.com>; Tomasz Dziendzielski
> <tomasz.dziendzielski@gmail.com>
> Subject: [OE-core] [PATCH] util-linux: Remove raw flags in EXTRA_OECONF
> 
> Having both enable and disable flags for raw is confusing.
> Raw should not be enabled so both flags can be removed.
> 
> Signed-off-by: Mateusz Marciniec <mateuszmar2@gmail.com>
> Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
> ---
>  meta/recipes-core/util-linux/util-linux_2.38.1.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-core/util-linux/util-linux_2.38.1.bb
> b/meta/recipes-core/util-linux/util-linux_2.38.1.bb
> index 8a7b47a0c6..a93ae83cd6 100644
> --- a/meta/recipes-core/util-linux/util-linux_2.38.1.bb
> +++ b/meta/recipes-core/util-linux/util-linux_2.38.1.bb
> @@ -69,12 +69,12 @@ EXTRA_OECONF = "\
>      --enable-libuuid --enable-libblkid \
>      \
>      --enable-fsck --enable-kill --enable-last --enable-mesg \
> -    --enable-mount --enable-partx --enable-raw --enable-rfkill \
> +    --enable-mount --enable-partx --enable-rfkill \
>      --enable-unshare --enable-write \
>      \
>      --disable-bfs --disable-login \
>      --disable-makeinstall-chown --disable-minix --disable-newgrp \
> -    --disable-use-tty-group --disable-vipw --disable-raw \
> +    --disable-use-tty-group --disable-vipw \

A quick look in configure.ac for util-linux indicates that it will 
start to look for linux/raw.h and enable raw support if it exists 
if you remove the --disable-raw option. So you should leave the 
--disable-raw option to maintain the current deterministic behavior.

>      \
>      --without-udev \
>      \
> --
> 2.37.1

//Peter



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] util-linux: Remove raw flags in EXTRA_OECONF
  2022-08-19 14:38 ` [OE-core] " Peter Kjellerstedt
@ 2022-08-23  9:38   ` Mateusz Marciniec
  0 siblings, 0 replies; 3+ messages in thread
From: Mateusz Marciniec @ 2022-08-23  9:38 UTC (permalink / raw)
  To: Peter Kjellerstedt
  Cc: openembedded-core@lists.openembedded.org, Tomasz Dziendzielski

[-- Attachment #1: Type: text/plain, Size: 2317 bytes --]

Yes, you are right, I corrected it in the new version of patch.
Thanks for pointing that out.

Best Regards,
Mateusz Marciniec

pt., 19 sie 2022 o 16:38 Peter Kjellerstedt <peter.kjellerstedt@axis.com>
napisał(a):

> > -----Original Message-----
> > From: openembedded-core@lists.openembedded.org <openembedded-
> > core@lists.openembedded.org> On Behalf Of Mateusz Marciniec
> > Sent: den 19 augusti 2022 13:34
> > To: openembedded-core@lists.openembedded.org
> > Cc: Mateusz Marciniec <mateuszmar2@gmail.com>; Tomasz Dziendzielski
> > <tomasz.dziendzielski@gmail.com>
> > Subject: [OE-core] [PATCH] util-linux: Remove raw flags in EXTRA_OECONF
> >
> > Having both enable and disable flags for raw is confusing.
> > Raw should not be enabled so both flags can be removed.
> >
> > Signed-off-by: Mateusz Marciniec <mateuszmar2@gmail.com>
> > Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
> > ---
> >  meta/recipes-core/util-linux/util-linux_2.38.1.bb | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta/recipes-core/util-linux/util-linux_2.38.1.bb
> > b/meta/recipes-core/util-linux/util-linux_2.38.1.bb
> > index 8a7b47a0c6..a93ae83cd6 100644
> > --- a/meta/recipes-core/util-linux/util-linux_2.38.1.bb
> > +++ b/meta/recipes-core/util-linux/util-linux_2.38.1.bb
> > @@ -69,12 +69,12 @@ EXTRA_OECONF = "\
> >      --enable-libuuid --enable-libblkid \
> >      \
> >      --enable-fsck --enable-kill --enable-last --enable-mesg \
> > -    --enable-mount --enable-partx --enable-raw --enable-rfkill \
> > +    --enable-mount --enable-partx --enable-rfkill \
> >      --enable-unshare --enable-write \
> >      \
> >      --disable-bfs --disable-login \
> >      --disable-makeinstall-chown --disable-minix --disable-newgrp \
> > -    --disable-use-tty-group --disable-vipw --disable-raw \
> > +    --disable-use-tty-group --disable-vipw \
>
> A quick look in configure.ac for util-linux indicates that it will
> start to look for linux/raw.h and enable raw support if it exists
> if you remove the --disable-raw option. So you should leave the
> --disable-raw option to maintain the current deterministic behavior.
>
> >      \
> >      --without-udev \
> >      \
> > --
> > 2.37.1
>
> //Peter
>
>

[-- Attachment #2: Type: text/html, Size: 3826 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-23  9:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-19 11:33 [PATCH] util-linux: Remove raw flags in EXTRA_OECONF Mateusz Marciniec
2022-08-19 14:38 ` [OE-core] " Peter Kjellerstedt
2022-08-23  9:38   ` Mateusz Marciniec

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.