mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 18:49:33 +02:00
e2fsprogs: Cope with ${libdir} and ${base_libdir} being the same
${libdir} and ${base_libdir} may be the same. If they are don't try and
move files onto themselves.
(From OE-Core rev: 992604c533c9f3c2133cfa87c1121d43a508ec4a)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
578b6f222d
commit
8d26a9f7e6
@@ -1,6 +1,6 @@
|
|||||||
require e2fsprogs.inc
|
require e2fsprogs.inc
|
||||||
|
|
||||||
PR = "r3"
|
PR = "r4"
|
||||||
|
|
||||||
SRC_URI += "file://fallocate.patch \
|
SRC_URI += "file://fallocate.patch \
|
||||||
file://acinclude.m4 \
|
file://acinclude.m4 \
|
||||||
@@ -34,9 +34,11 @@ do_install () {
|
|||||||
|
|
||||||
do_install_append () {
|
do_install_append () {
|
||||||
# e2initrd_helper and the pkgconfig files belong in libdir
|
# e2initrd_helper and the pkgconfig files belong in libdir
|
||||||
install -d ${D}${libdir}
|
if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then
|
||||||
mv ${D}${base_libdir}/e2initrd_helper ${D}${libdir}
|
install -d ${D}${libdir}
|
||||||
mv ${D}${base_libdir}/pkgconfig ${D}${libdir}
|
mv ${D}${base_libdir}/e2initrd_helper ${D}${libdir}
|
||||||
|
mv ${D}${base_libdir}/pkgconfig ${D}${libdir}
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# blkid used to be part of e2fsprogs but is useful outside, add it
|
# blkid used to be part of e2fsprogs but is useful outside, add it
|
||||||
|
|||||||
Reference in New Issue
Block a user