summaryrefslogtreecommitdiff
path: root/packages/e2fsprogs/e2fsprogs_1.38.bb
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-09-08 15:58:11 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-08 15:58:11 +0000
commit503523bd4006ccd2698ae83bc813204b4bb89a9c (patch)
tree571a49ecd7997fe1160967c322c6999c5c5a17c7 /packages/e2fsprogs/e2fsprogs_1.38.bb
parent4abe971413a27aebe0f78a71f5500b3a72d3da64 (diff)
e2fsprogs: Fix the use of sbindir (changed to base_sbindir)
-mke2fs: Change mkfs.ext[23] to symlinks -e2fsck: Chanke fsck.ext[23] to symlinks
Diffstat (limited to 'packages/e2fsprogs/e2fsprogs_1.38.bb')
-rw-r--r--packages/e2fsprogs/e2fsprogs_1.38.bb21
1 files changed, 15 insertions, 6 deletions
diff --git a/packages/e2fsprogs/e2fsprogs_1.38.bb b/packages/e2fsprogs/e2fsprogs_1.38.bb
index c08cfc2c62..25d4ffbe00 100644
--- a/packages/e2fsprogs/e2fsprogs_1.38.bb
+++ b/packages/e2fsprogs/e2fsprogs_1.38.bb
@@ -2,14 +2,14 @@ DESCRIPTION = "EXT2 Filesystem Utilities"
HOMEPAGE = "http://e2fsprogs.sourceforge.net"
LICENSE = "GPL"
SECTION = "base"
-PR = "r0"
+PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-${PV}.tar.gz"
S = "${WORKDIR}/e2fsprogs-${PV}"
inherit autotools
-EXTRA_OECONF = "--enable-dynamic-e2fsck"
+EXTRA_OECONF = "--enable-dynamic-e2fsck --sbindir=${base_sbindir}"
do_compile_prepend () {
find ./ -print|xargs chmod u=rwX
@@ -34,8 +34,17 @@ do_stage () {
done
}
-sbindir = "/sbin"
+pkg_postinst_e2fsprogs-e2fsck() {
+ ln -s ${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext2
+ ln -s ${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext3
+}
+
+pkg_postinst_e2fsprogs-mke2fs() {
+ ln -s ${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext2
+ ln -s ${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext3
+}
+
PACKAGES_prepend = "e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-fsck "
-FILES_e2fsprogs-fsck = "${sbindir}/fsck"
-FILES_e2fsprogs-e2fsck = "${sbindir}/e2fsck ${sbindir}/fsck.ext2 ${sbindir}/fsck.ext3"
-FILES_e2fsprogs-mke2fs = "${sbindir}/mke2fs ${sbindir}/mkfs.ext2 ${sbindir}/mkfs.ext3"
+FILES_e2fsprogs-fsck = "${base_sbindir}/fsck"
+FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck"
+FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs"