mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +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 rev: e3634ec359a71c9858698cb597d23c05b1184d2e)
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