mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
busybox: make nfs support optional
This commit is contained in:
parent
a3a25c1741
commit
8556d6536f
@ -44,6 +44,10 @@ cd $BUILD/busybox*
|
|||||||
sed -i -e "s|^CONFIG_FEATURE_CROND_D=.*$|# CONFIG_FEATURE_CROND_D is not set|" .config
|
sed -i -e "s|^CONFIG_FEATURE_CROND_D=.*$|# CONFIG_FEATURE_CROND_D is not set|" .config
|
||||||
sed -i -e "s|^CONFIG_CRONTAB=.*$|# CONFIG_CRONTAB is not set|" .config
|
sed -i -e "s|^CONFIG_CRONTAB=.*$|# CONFIG_CRONTAB is not set|" .config
|
||||||
fi
|
fi
|
||||||
|
if [ ! "$NFS_SUPPORT" = yes ]; then
|
||||||
|
sed -i -e "s|^CONFIG_FEATURE_MOUNT_NFS=.*$|# CONFIG_FEATURE_MOUNT_NFS is not set|" .config
|
||||||
|
fi
|
||||||
|
|
||||||
make oldconfig
|
make oldconfig
|
||||||
|
|
||||||
make ARCH=$TARGET_ARCH \
|
make ARCH=$TARGET_ARCH \
|
||||||
|
@ -25,7 +25,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.busybox.net"
|
PKG_SITE="http://www.busybox.net"
|
||||||
PKG_URL="http://busybox.net/downloads/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL="http://busybox.net/downloads/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
PKG_DEPENDS="kexec-tools hdparm dosfstools e2fsprogs speedcontrol zip pciutils usbutils less procps-ng rpcbind"
|
PKG_DEPENDS="kexec-tools hdparm dosfstools e2fsprogs speedcontrol zip pciutils usbutils less procps-ng"
|
||||||
PKG_BUILD_DEPENDS="toolchain busybox-hosttools"
|
PKG_BUILD_DEPENDS="toolchain busybox-hosttools"
|
||||||
PKG_PRIORITY="required"
|
PKG_PRIORITY="required"
|
||||||
PKG_SECTION="system"
|
PKG_SECTION="system"
|
||||||
@ -39,3 +39,8 @@ PKG_AUTORECONF="no"
|
|||||||
if [ "$NANO_EDITOR" = "yes" ]; then
|
if [ "$NANO_EDITOR" = "yes" ]; then
|
||||||
PKG_DEPENDS="$PKG_DEPENDS nano"
|
PKG_DEPENDS="$PKG_DEPENDS nano"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# nfs support
|
||||||
|
if [ "$NFS_SUPPORT" = yes ]; then
|
||||||
|
PKG_DEPENDS="$PKG_DEPENDS rpcbind"
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user