diff options
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb index 56abb3b5d3..989d47394b 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb | |||
@@ -75,6 +75,12 @@ do_install_append_class-nativesdk() { | |||
75 | e2fsprogs_conf_fixup | 75 | e2fsprogs_conf_fixup |
76 | } | 76 | } |
77 | 77 | ||
78 | do_install_append_class-target() { | ||
79 | mv ${D}${base_sbindir}/mke2fs ${D}${base_sbindir}/mke2fs.e2fsprogs | ||
80 | mv ${D}${base_sbindir}/mkfs.ext2 ${D}${base_sbindir}/mkfs.ext2.e2fsprogs | ||
81 | mv ${D}${base_sbindir}/tune2fs ${D}${base_sbindir}/tune2fs.e2fsprogs | ||
82 | } | ||
83 | |||
78 | RDEPENDS_e2fsprogs = "e2fsprogs-badblocks" | 84 | RDEPENDS_e2fsprogs = "e2fsprogs-badblocks" |
79 | RRECOMMENDS_e2fsprogs = "e2fsprogs-mke2fs e2fsprogs-e2fsck" | 85 | RRECOMMENDS_e2fsprogs = "e2fsprogs-mke2fs e2fsprogs-e2fsck" |
80 | 86 | ||
@@ -83,8 +89,8 @@ PACKAGES =+ "libcomerr libss libe2p libext2fs" | |||
83 | 89 | ||
84 | FILES_e2fsprogs-resize2fs = "${base_sbindir}/resize2fs*" | 90 | FILES_e2fsprogs-resize2fs = "${base_sbindir}/resize2fs*" |
85 | FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*" | 91 | FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*" |
86 | FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext* ${sysconfdir}/mke2fs.conf" | 92 | FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs.e2fsprogs ${base_sbindir}/mkfs.ext* ${sysconfdir}/mke2fs.conf" |
87 | FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label" | 93 | FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs.e2fsprogs ${base_sbindir}/e2label" |
88 | FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks" | 94 | FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks" |
89 | FILES_libcomerr = "${base_libdir}/libcom_err.so.*" | 95 | FILES_libcomerr = "${base_libdir}/libcom_err.so.*" |
90 | FILES_libss = "${base_libdir}/libss.so.*" | 96 | FILES_libss = "${base_libdir}/libss.so.*" |
@@ -100,6 +106,13 @@ ALTERNATIVE_TARGET[chattr] = "${base_bindir}/chattr.e2fsprogs" | |||
100 | ALTERNATIVE_${PN}-doc = "fsck.8" | 106 | ALTERNATIVE_${PN}-doc = "fsck.8" |
101 | ALTERNATIVE_LINK_NAME[fsck.8] = "${mandir}/man8/fsck.8" | 107 | ALTERNATIVE_LINK_NAME[fsck.8] = "${mandir}/man8/fsck.8" |
102 | 108 | ||
109 | ALTERNATIVE_${PN}-mke2fs = "mke2fs mkfs.ext2" | ||
110 | ALTERNATIVE_LINK_NAME[mke2fs] = "${base_sbindir}/mke2fs" | ||
111 | ALTERNATIVE_LINK_NAME[mkfs.ext2] = "${base_sbindir}/mkfs.ext2" | ||
112 | |||
113 | ALTERNATIVE_${PN}-tune2fs = "tune2fs" | ||
114 | ALTERNATIVE_LINK_NAME[tune2fs] = "${base_sbindir}/tune2fs" | ||
115 | |||
103 | RDEPENDS_${PN}-ptest += "${PN} ${PN}-tune2fs coreutils procps bash" | 116 | RDEPENDS_${PN}-ptest += "${PN} ${PN}-tune2fs coreutils procps bash" |
104 | 117 | ||
105 | do_compile_ptest() { | 118 | do_compile_ptest() { |