* [PATCH] dpkg: Ensure target packages don't reference perlnative
@ 2013-04-30 12:41 Richard Purdie
2013-04-30 13:02 ` Paul Barker
0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2013-04-30 12:41 UTC (permalink / raw)
To: openembedded-core
Currently a load of scripts in ${bindir} start with:
which is undesireable, this patch fixes that.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 92a5adc..d773fbd 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -47,6 +47,7 @@ do_install_append () {
rm ${D}${bindir}/update-alternatives
else
mv ${D}${bindir}/update-alternatives ${D}${sbindir}
+ sed -i -e 's|^#!.*${bindir}/perl-native.*/perl|#!/usr/bin/env perl|' ${D}${bindir}/dpkg-*
fi
}
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] dpkg: Ensure target packages don't reference perlnative 2013-04-30 12:41 [PATCH] dpkg: Ensure target packages don't reference perlnative Richard Purdie @ 2013-04-30 13:02 ` Paul Barker 2013-05-03 15:38 ` Richard Purdie 0 siblings, 1 reply; 3+ messages in thread From: Paul Barker @ 2013-04-30 13:02 UTC (permalink / raw) To: Richard Purdie; +Cc: openembedded-core On 30 April 2013 13:41, Richard Purdie <richard.purdie@linuxfoundation.org> wrote: > Currently a load of scripts in ${bindir} start with: > > which is undesireable, this patch fixes that. > > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Missing a line in the commit message? -- Paul Barker Email: paul@paulbarker.me.uk http://www.paulbarker.me.uk ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dpkg: Ensure target packages don't reference perlnative 2013-04-30 13:02 ` Paul Barker @ 2013-05-03 15:38 ` Richard Purdie 0 siblings, 0 replies; 3+ messages in thread From: Richard Purdie @ 2013-05-03 15:38 UTC (permalink / raw) To: Paul Barker; +Cc: openembedded-core On Tue, 2013-04-30 at 14:02 +0100, Paul Barker wrote: > On 30 April 2013 13:41, Richard Purdie > <richard.purdie@linuxfoundation.org> wrote: > > Currently a load of scripts in ${bindir} start with: > > > > which is undesireable, this patch fixes that. > > > > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> > > Missing a line in the commit message? It was swallowed by git. I fixed it when I merged the commit. Cheers, Richard ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-03 15:56 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-04-30 12:41 [PATCH] dpkg: Ensure target packages don't reference perlnative Richard Purdie 2013-04-30 13:02 ` Paul Barker 2013-05-03 15:38 ` Richard Purdie
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox