summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-09-30 20:37:04 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-30 20:37:04 +0000
commitb3a61dec1561f7616048cb4b01ded2c4c381e460 (patch)
tree939e3dd17dc7f2af77e0db4bdb47b2d496e02c66 /packages
parent2ab6897474ed70dd94cceffde19dbbc0c489313c (diff)
samba: fix mount.smbfs symlink, so mounting smbfs works
Diffstat (limited to 'packages')
-rw-r--r--packages/samba/samba_3.0.14a.bb5
-rw-r--r--packages/samba/samba_3.0.20.bb4
2 files changed, 5 insertions, 4 deletions
diff --git a/packages/samba/samba_3.0.14a.bb b/packages/samba/samba_3.0.14a.bb
index c008fe27f5..9bd1c9a001 100644
--- a/packages/samba/samba_3.0.14a.bb
+++ b/packages/samba/samba_3.0.14a.bb
@@ -1,4 +1,4 @@
-PR = "r12"
+PR = "r13"
SRC_URI = "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
file://configure.patch;patch=1 \
@@ -37,7 +37,8 @@ do_install_append() {
install -d "${D}${localstatedir}/log"
rm -f ${D}/sbin/mount.smbfs
rmdir ${D}/sbin
- ln -sf smbmount ${D}${bindir}/mount.smbfs
+ install -d ${D}${sbindir}
+ ln -sf smbmount ${D}${sbindir}/mount.smbfs
install -d "${D}${sysconfdir}/init.d"
install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/samba
install -d "${D}${sysconfdir}/samba"
diff --git a/packages/samba/samba_3.0.20.bb b/packages/samba/samba_3.0.20.bb
index aea0b4867a..3cc8be11d4 100644
--- a/packages/samba/samba_3.0.20.bb
+++ b/packages/samba/samba_3.0.20.bb
@@ -1,4 +1,4 @@
-PR = "r1"
+PR = "r2"
SRC_URI = "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
file://configure.patch;patch=1 \
@@ -37,7 +37,7 @@ do_install_append() {
install -d "${D}${localstatedir}/log"
rm -f ${D}/sbin/mount.smbfs
rmdir ${D}/sbin
- ln -sf smbmount ${D}${bindir}/mount.smbfs
+ ln -sf smbmount ${D}${sbindir}/mount.smbfs
install -d "${D}${sysconfdir}/init.d"
install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/samba
install -d "${D}${sysconfdir}/samba"