e2fsprogs: Fix chattr update-alternatives location
authorTom Rini <tom_rini@mentor.com>
Fri, 14 Jan 2011 14:36:02 +0000 (07:36 -0700)
committerTom Rini <tom_rini@mentor.com>
Fri, 14 Jan 2011 14:36:58 +0000 (07:36 -0700)
Reported by Jaap de Jong.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/e2fsprogs/e2fsprogs.inc

index 34b9950..66efa7d 100644 (file)
@@ -9,7 +9,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-${PV}.tar.gz"
 
 S = "${WORKDIR}/e2fsprogs-${PV}"
 
-INC_PR = "r28"
+INC_PR = "r29"
 
 inherit autotools
 
@@ -51,7 +51,7 @@ do_install_append_pn-e2fsprogs () {
 
 
 pkg_postinst_e2fsprogs () {
-       update-alternatives --install ${base_bindir}/chattr chattr chattr.${PN} 100
+       update-alternatives --install ${bindir}/chattr chattr chattr.${PN} 100
        update-alternatives --install ${base_sbindir}/uuidd uuidd uuidd.${PN} 10
 }