From 9149c86a755cbd1993873ac61976fcf90d7ba790 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 10 Dec 2010 05:28:36 +0100 Subject: [PATCH] projects/*/options: add option to make 'netmount' package optional Signed-off-by: Stephan Raue --- packages/network/install | 2 +- packages/network/samba/install | 7 +++++-- projects/ATV/options | 3 +++ projects/ION/options | 3 +++ projects/generic/options | 3 +++ projects/intel/options | 3 +++ 6 files changed, 18 insertions(+), 3 deletions(-) diff --git a/packages/network/install b/packages/network/install index bce1ab933d..b6b68f11cf 100755 --- a/packages/network/install +++ b/packages/network/install @@ -5,6 +5,6 @@ $SCRIPTS/install connman $SCRIPTS/install dropbear $SCRIPTS/install ethtool -$SCRIPTS/install netmount +[ $NETMOUNT="yes" ] && $SCRIPTS/install netmount #[ "$PPP_DAEMON" = yes ] && $SCRIPTS/install ppp diff --git a/packages/network/samba/install b/packages/network/samba/install index ccc69e94aa..e76d086d46 100755 --- a/packages/network/samba/install +++ b/packages/network/samba/install @@ -4,8 +4,11 @@ mkdir -p $INSTALL/usr/bin cp $PKG_BUILD/source3/bin/smbtree $INSTALL/usr/bin - cp $PKG_BUILD/source3/bin/mount.cifs $INSTALL/usr/bin - cp $PKG_BUILD/source3/bin/umount.cifs $INSTALL/usr/bin + + if [ $NETMOUNT = "yes" ]; then + cp $PKG_BUILD/source3/bin/mount.cifs $INSTALL/usr/bin + cp $PKG_BUILD/source3/bin/umount.cifs $INSTALL/usr/bin + fi mkdir -p $INSTALL/usr/lib cp -P $PKG_BUILD/source3/bin/libsmbclient.so* $INSTALL/usr/lib diff --git a/projects/ATV/options b/projects/ATV/options index dedcb073b4..095407ac84 100644 --- a/projects/ATV/options +++ b/projects/ATV/options @@ -93,6 +93,9 @@ # build with network support (yes / no) NETWORK="yes" +# build with netmount (mounting network drives on boot) support (yes / no) + NETMOUNT="yes" + # build ppp daemon (for configuring adsl etc...) (yes / no) PPP_DAEMON="no" diff --git a/projects/ION/options b/projects/ION/options index d58bd3297b..339a195428 100644 --- a/projects/ION/options +++ b/projects/ION/options @@ -92,6 +92,9 @@ # build with network support (yes / no) NETWORK="yes" +# build with netmount (mounting network drives on boot) support (yes / no) + NETMOUNT="yes" + # build ppp daemon (for configuring adsl etc...) (yes / no) PPP_DAEMON="no" diff --git a/projects/generic/options b/projects/generic/options index ab1118ddeb..3ee114cbec 100644 --- a/projects/generic/options +++ b/projects/generic/options @@ -92,6 +92,9 @@ # build with network support (yes / no) NETWORK="yes" +# build with netmount (mounting network drives on boot) support (yes / no) + NETMOUNT="yes" + # build ppp daemon (for configuring adsl etc...) (yes / no) PPP_DAEMON="no" diff --git a/projects/intel/options b/projects/intel/options index 2a260d052c..3daaccb1dd 100644 --- a/projects/intel/options +++ b/projects/intel/options @@ -92,6 +92,9 @@ # build with network support (yes / no) NETWORK="yes" +# build with netmount (mounting network drives on boot) support (yes / no) + NETMOUNT="yes" + # build ppp daemon (for configuring adsl etc...) (yes / no) PPP_DAEMON="no"