mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
linux: make iscsi support optional
This commit is contained in:
parent
c71806174f
commit
f7dae6a195
@ -55,6 +55,15 @@ 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 iscsi support if not enabled
|
||||||
|
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_ISCSI_TCP=.*$|# CONFIG_ISCSI_TCP is not set|" $LINUX/.config
|
||||||
|
sed -i -e "s|^CONFIG_ISCSI_BOOT_SYSFS=.*$|# CONFIG_ISCSI_BOOT_SYSFS is not set|" $LINUX/.config
|
||||||
|
sed -i -e "s|^CONFIG_ISCSI_IBFT_FIND=.*$|# CONFIG_ISCSI_IBFT_FIND is not set|" $LINUX/.config
|
||||||
|
sed -i -e "s|^CONFIG_ISCSI_IBFT=.*$|# CONFIG_ISCSI_IBFT is not set|" $LINUX/.config
|
||||||
|
fi
|
||||||
|
|
||||||
# copy some extra firmware to linux tree
|
# copy some extra firmware to linux tree
|
||||||
cp -R $PKG_DIR/firmware/* $LINUX/firmware
|
cp -R $PKG_DIR/firmware/* $LINUX/firmware
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user