Skip to contentSkip to conversation

e2fsprogs: Don't install findfs

PATCH New Phil Blundell 1 participant 1 message Oct 2, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 e2fsprogs: Don't install findfs

This binary is provided by util-linux nowadays. Fixes:

WARNING: The recipe is trying to install files into a shared area when those files already exist. Those files are:

     /fast/jenkins/workspace/.../tmp-eglibc/sysroots/x86_64-linux/sbin/findfs

---
(Not very clear what it was doing in the tune2fs package in the first place since it doesn't really have anything to do with that program.)

 meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.1.bb |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.1.bb +3 -2
index 3869c34..5d62ea0 100644
@@ -1,6 +1,6 @@
 require e2fsprogs.inc
 
-PR = "r3"
+PR = "r4"
 
 SRC_URI += "file://fallocate.patch \
             file://acinclude.m4 \
@@ -32,6 +32,7 @@ do_install () {
 	rm -f ${D}${base_libdir}/pkgconfig/blkid.pc
 	rm -f ${D}${base_sbindir}/blkid
 	rm -f ${D}${base_sbindir}/fsck
+	rm -f ${D}${base_sbindir}/findfs
 }
 
 do_install_append () {
@@ -50,7 +51,7 @@ PACKAGES =+ "libcomerr libss libe2p libext2fs"
 
 FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*"
 FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext* ${sysconfdir}/mke2fs.conf"
-FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label ${base_sbindir}/findfs"
+FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label"
 FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks"
 FILES_libcomerr = "${base_libdir}/libcom_err.so.*"
 FILES_libss = "${base_libdir}/libss.so.*"
Signature · 1 line
1.7.10.4