Update for new BUILD_DIR and SRC_DIR variables
[hvlinux.git] / stage2 / pkg / wireless-tools
index 1dc3201..9747dbe 100644 (file)
@@ -3,16 +3,15 @@
 hvconfig_pre()
 {
     sed -e "s!^\(INSTALL_DIR=\).*!\1/sbin!" \
-        -e "s!^\(INSTALL_LIB=\).*!\1/lib!" -i ${LFS_TMP}/${PACKAGE}/Makefile
+        -e "s!^\(INSTALL_LIB=\).*!\1/lib!" -i ${SRC_DIR}/Makefile
 }
 
 hvbuild_post()
 {
-    install -d -m755 /etc/sysconfig/network/ssid
+    install -v -d -m755 /etc/sysconfig/network/ssid
 
 cat > /etc/sysconfig/network/ssid/TEMPLATE << EOF
 # This file must be named exactly as your ESSID (case is important)
-KEY_TYPE="WPA-PSK"
 
 # This can be "static" or "dhcp"
 BOOTPROTO="static"