Update samba for new ipkg() -d option
authorHugo Villeneuve <hugo@hugovil.com>
Mon, 29 Dec 2014 00:31:53 +0000 (19:31 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Mon, 29 Dec 2014 16:24:31 +0000 (11:24 -0500)
stage5/hv-install-1
stage5/pkg/samba

index 2f006e4..e236cf1 100755 (executable)
@@ -289,7 +289,11 @@ ipkg -m noac ${MERCURIAL}
 ipkg ${INDENT}
 
 if [ "x${USE_SAMBA}" = "xyes" ]; then
-    ipkg ${SAMBA}
+    ipkg -d source ${SAMBA} "\
+        --localstatedir=/var \
+        --with-piddir=/var/run \
+        --with-fhs \
+        --with-smbmount"
 fi
 
 if [ "x${INST_TYPE}" = "xltsp-server" ]; then
index 7c6be69..3926f0d 100644 (file)
@@ -3,14 +3,6 @@
 hvconfig_pre()
 {
     install -d /var/cache/samba
-
-    cd ${LFS_TMP}/${PACKAGE}/source
-    ./configure \
-        ${CONFIGURE_OPTS} \
-        --localstatedir=/var \
-        --with-piddir=/var/run \
-        --with-fhs \
-        --with-smbmount
 }
 
 hvbuild_post()