diff options
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb new file mode 100644 index 0000000000..2bdd7246a2 --- /dev/null +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | |||
@@ -0,0 +1,75 @@ | |||
1 | require e2fsprogs.inc | ||
2 | |||
3 | |||
4 | SRC_URI += "file://acinclude.m4 \ | ||
5 | file://remove.ldconfig.call.patch \ | ||
6 | file://fix-icache.patch \ | ||
7 | file://quiet-debugfs.patch \ | ||
8 | file://0001-mke2fs-add-the-ability-to-copy-files-from-a-given-di.patch \ | ||
9 | file://0002-misc-create_inode.c-copy-files-recursively.patch \ | ||
10 | file://0003-misc-create_inode.c-create-special-file.patch \ | ||
11 | file://0004-misc-create_inode.c-create-symlink.patch \ | ||
12 | file://0005-misc-create_inode.c-copy-regular-file.patch \ | ||
13 | file://0006-misc-create_inode.c-create-directory.patch \ | ||
14 | file://0007-misc-create_inode.c-set-owner-mode-time-for-the-inod.patch \ | ||
15 | file://0008-mke2fs.c-add-an-option-d-root-directory.patch \ | ||
16 | file://0009-misc-create_inode.c-handle-hardlinks.patch \ | ||
17 | file://0010-debugfs-use-the-functions-in-misc-create_inode.c.patch \ | ||
18 | file://0011-mke2fs.8.in-update-the-manual-for-the-d-option.patch \ | ||
19 | file://0001-e2fsprogs-fix-cross-compilation-problem.patch \ | ||
20 | file://misc-mke2fs.c-return-error-when-failed-to-populate-fs.patch \ | ||
21 | " | ||
22 | |||
23 | SRC_URI[md5sum] = "3f8e41e63b432ba114b33f58674563f7" | ||
24 | SRC_URI[sha256sum] = "2f92ac06e92fa00f2ada3ee67dad012d74d685537527ad1241d82f2d041f2802" | ||
25 | |||
26 | EXTRA_OECONF += "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-elf-shlibs --disable-libuuid --disable-uuidd" | ||
27 | EXTRA_OECONF_darwin = "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-bsd-shlibs" | ||
28 | |||
29 | do_configure_prepend () { | ||
30 | cp ${WORKDIR}/acinclude.m4 ${S}/ | ||
31 | } | ||
32 | |||
33 | do_compile_prepend () { | ||
34 | find ./ -print | grep -v ./patches | xargs chmod u=rwX | ||
35 | ( cd ${S}/util; ${BUILD_CC} subst.c -o ${B}/util/subst ) | ||
36 | } | ||
37 | |||
38 | do_install () { | ||
39 | oe_runmake 'DESTDIR=${D}' install | ||
40 | oe_runmake 'DESTDIR=${D}' install-libs | ||
41 | # We use blkid from util-linux now so remove from here | ||
42 | rm -f ${D}${base_libdir}/libblkid* | ||
43 | rm -rf ${D}${includedir}/blkid | ||
44 | rm -f ${D}${base_libdir}/pkgconfig/blkid.pc | ||
45 | rm -f ${D}${base_sbindir}/blkid | ||
46 | rm -f ${D}${base_sbindir}/fsck | ||
47 | rm -f ${D}${base_sbindir}/findfs | ||
48 | |||
49 | # e2initrd_helper and the pkgconfig files belong in libdir | ||
50 | if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then | ||
51 | install -d ${D}${libdir} | ||
52 | mv ${D}${base_libdir}/e2initrd_helper ${D}${libdir} | ||
53 | mv ${D}${base_libdir}/pkgconfig ${D}${libdir} | ||
54 | fi | ||
55 | |||
56 | oe_multilib_header ext2fs/ext2_types.h | ||
57 | } | ||
58 | |||
59 | RDEPENDS_e2fsprogs = "e2fsprogs-badblocks" | ||
60 | RRECOMMENDS_e2fsprogs = "e2fsprogs-mke2fs e2fsprogs-e2fsck" | ||
61 | |||
62 | PACKAGES =+ "e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-tune2fs e2fsprogs-badblocks" | ||
63 | PACKAGES =+ "libcomerr libss libe2p libext2fs" | ||
64 | |||
65 | FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*" | ||
66 | FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext* ${sysconfdir}/mke2fs.conf" | ||
67 | FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label" | ||
68 | FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks" | ||
69 | FILES_libcomerr = "${base_libdir}/libcom_err.so.*" | ||
70 | FILES_libss = "${base_libdir}/libss.so.*" | ||
71 | FILES_libe2p = "${base_libdir}/libe2p.so.*" | ||
72 | FILES_libext2fs = "${libdir}/e2initrd_helper ${base_libdir}/libext2fs.so.*" | ||
73 | FILES_${PN}-dev += "${datadir}/*/*.awk ${datadir}/*/*.sed ${base_libdir}/*.so" | ||
74 | |||
75 | BBCLASSEXTEND = "native" | ||