mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
dpkg: Ensure target packages don't reference perlnative
Currently a load of scripts in ${bindir} start with:
which is undesireable, this patch fixes that.
(From OE-Core master rev: e3634ec359a71c9858698cb597d23c05b1184d2e)
(From OE-Core rev: 5a77c73c48d6fab7abe853c01e262c7019e4a03a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user