Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1628481
| From | Josh Triplett <josh@joshtriplett.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v1 1/1] srcu-cbmc: Use /usr/bin/awk instead of /bin/awk |
| Date | 2017-04-21 20:50 +0200 |
| Message-ID | <tyLN0-Pg-17@gated-at.bofh.it> (permalink) |
| References | <tyLtF-Ix-49@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Apr 22, 2017 at 10:17:11AM -0700, priyalee.kushwaha@intel.com wrote: > From: Priyalee Kushwaha <priyalee.kushwaha@intel.com> > > Most OS distribution have awk in /usr/bin not in /bin > Without this patch, kernel-devsrc fails to build as > runtime dependency for srcu-cbmc script /bin/awk is > not found. > > Signed-off-by: Kushwaha, Priyalee <priyalee.kushwaha@intel.com> For anyone that has it in /bin/awk, does it have a compatibility symlink from /usr/bin/awk (or vice versa), or not? If not, then this would break the build for those folks. We could just drop the shebang and the executable bit, and run "awk -f modify_srcu.awk" from whatever script invokes this. > tools/testing/selftests/rcutorture/formal/srcu-cbmc/modify_srcu.awk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/rcutorture/formal/srcu-cbmc/modify_srcu.awk b/tools/testing/selftests/rcutorture/formal/srcu-cbmc/modify_srcu.awk > index 8ff8904..c9e8bc5 100755 > --- a/tools/testing/selftests/rcutorture/formal/srcu-cbmc/modify_srcu.awk > +++ b/tools/testing/selftests/rcutorture/formal/srcu-cbmc/modify_srcu.awk > @@ -1,4 +1,4 @@ > -#!/bin/awk -f > +#!/usr/bin/awk -f > > # Modify SRCU for formal verification. The first argument should be srcu.h and > # the second should be srcu.c. Outputs modified srcu.h and srcu.c into the > -- > 2.10.0 >
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v1 1/1] srcu-cbmc: Use /usr/bin/awk instead of /bin/awk priyalee.kushwaha@intel.com - 2017-04-21 20:30 +0200
Re: [PATCH v1 1/1] srcu-cbmc: Use /usr/bin/awk instead of /bin/awk Josh Triplett <josh@joshtriplett.org> - 2017-04-21 20:50 +0200
RE: [PATCH v1 1/1] srcu-cbmc: Use /usr/bin/awk instead of /bin/awk "Kushwaha, Priyalee" <priyalee.kushwaha@intel.com> - 2017-04-22 00:00 +0200
Re: [PATCH v1 1/1] srcu-cbmc: Use /usr/bin/awk instead of /bin/awk Josh Triplett <josh@joshtriplett.org> - 2017-04-22 00:10 +0200
Re: [PATCH v1 1/1] srcu-cbmc: Use /usr/bin/awk instead of /bin/awk "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-24 04:50 +0200
Re: [PATCH v1 1/1] srcu-cbmc: Use /usr/bin/awk instead of /bin/awk Josh Triplett <josh@joshtriplett.org> - 2017-04-24 11:10 +0200
Re: [PATCH v1 1/1] srcu-cbmc: Use /usr/bin/awk instead of /bin/awk "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-21 22:20 +0200
Re: [PATCH v1 1/1] srcu-cbmc: Use /usr/bin/awk instead of /bin/awk Lance Roy <ldr709@gmail.com> - 2017-04-24 05:30 +0200
Re: [PATCH v1 1/1] srcu-cbmc: Use /usr/bin/awk instead of /bin/awk "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-24 05:40 +0200
Re: [PATCH v1 1/1] srcu-cbmc: Use /usr/bin/awk instead of /bin/awk Lance Roy <ldr709@gmail.com> - 2017-04-24 08:00 +0200
Re: [PATCH v1 1/1] srcu-cbmc: Use /usr/bin/awk instead of /bin/awk Shuah Khan <shuah@kernel.org> - 2017-04-24 16:10 +0200
Re: [PATCH v1 1/1] srcu-cbmc: Use /usr/bin/awk instead of /bin/awk "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-24 19:10 +0200
csiph-web