mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
linux: make samba support optional
This commit is contained in:
parent
536402c663
commit
d94ad1f424
@ -55,6 +55,11 @@ sed -i -e "s|^CONFIG_INITRAMFS_SOURCE=.*$|CONFIG_INITRAMFS_SOURCE=\"$ROOT/$BUILD
|
|||||||
sed -i -e "s|^CONFIG_NFS_FS=.*$|# CONFIG_NFS_FS is not set|" $LINUX/.config
|
sed -i -e "s|^CONFIG_NFS_FS=.*$|# CONFIG_NFS_FS is not set|" $LINUX/.config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# disable cifs support if not enabled
|
||||||
|
if [ ! "$SAMBA_SUPPORT" = yes ]; then
|
||||||
|
sed -i -e "s|^CONFIG_CIFS=.*$|# CONFIG_CIFS is not set|" $LINUX/.config
|
||||||
|
fi
|
||||||
|
|
||||||
# disable iscsi support if not enabled
|
# disable iscsi support if not enabled
|
||||||
if [ ! "$ISCSI_SUPPORT" = yes ]; then
|
if [ ! "$ISCSI_SUPPORT" = yes ]; then
|
||||||
sed -i -e "s|^CONFIG_SCSI_ISCSI_ATTRS=.*$|# CONFIG_SCSI_ISCSI_ATTRS is not set|" $LINUX/.config
|
sed -i -e "s|^CONFIG_SCSI_ISCSI_ATTRS=.*$|# CONFIG_SCSI_ISCSI_ATTRS is not set|" $LINUX/.config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user