summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/kernel-ver.mk6
-rw-r--r--package/firmware-imx/Makefile12
-rw-r--r--package/imx-lib/Makefile4
-rw-r--r--package/imx-vpu/Makefile4
-rw-r--r--package/kodi/Makefile24
-rw-r--r--package/kodi/files/kodi.init5
-rw-r--r--package/kodi/patches/patch-configure_in6
-rw-r--r--package/kodi/patches/patch-tools_Linux_kodi_sh_in39
-rw-r--r--package/kodi/patches/patch-xbmc_Application_cpp14
-rw-r--r--package/kodi/patches/patch-xbmc_cores_dvdplayer_DVDDemuxers_DVDDemuxFFmpeg_cpp8
-rw-r--r--package/kodi/patches/patch-xbmc_utils_SystemInfo_cpp53
-rwxr-xr-xscripts/install.sh2
-rw-r--r--target/arm/kernel/solidrun-imx61
-rw-r--r--target/arm/raspberry-pi/patches/3.14.26/raspberry-pi.patch (renamed from target/arm/raspberry-pi/patches/3.14.22/raspberry-pi.patch)0
-rw-r--r--target/arm/solidrun-imx6/patches/3.14.26/solidrun.patch (renamed from target/arm/solidrun-imx6/patches/3.14.22/solidrun.patch)5731
-rw-r--r--target/config/Config.in.kernelversion.choice6
-rw-r--r--target/config/Config.in.kernelversion.default2
-rw-r--r--target/linux/config/Config.in.graphics4
-rw-r--r--target/linux/patches/3.14.26/bsd-compatibility.patch (renamed from target/linux/patches/3.14.22/bsd-compatibility.patch)0
-rw-r--r--target/linux/patches/3.14.26/cleankernel.patch (renamed from target/linux/patches/3.14.22/cleankernel.patch)0
-rw-r--r--target/linux/patches/3.14.26/defaults.patch (renamed from target/linux/patches/3.14.22/defaults.patch)0
-rw-r--r--target/linux/patches/3.14.26/disable-netfilter.patch (renamed from target/linux/patches/3.14.22/disable-netfilter.patch)0
-rw-r--r--target/linux/patches/3.14.26/export-symbol-for-exmap.patch (renamed from target/linux/patches/3.14.22/export-symbol-for-exmap.patch)0
-rw-r--r--target/linux/patches/3.14.26/gemalto.patch (renamed from target/linux/patches/3.14.22/gemalto.patch)0
-rw-r--r--target/linux/patches/3.14.26/initramfs-nosizelimit.patch (renamed from target/linux/patches/3.14.22/initramfs-nosizelimit.patch)0
-rw-r--r--target/linux/patches/3.14.26/lemote-rfkill.patch (renamed from target/linux/patches/3.14.22/lemote-rfkill.patch)0
-rw-r--r--target/linux/patches/3.14.26/microblaze-axi.patch (renamed from target/linux/patches/3.14.22/microblaze-axi.patch)0
-rw-r--r--target/linux/patches/3.14.26/microblaze-ethernet.patch (renamed from target/linux/patches/3.14.22/microblaze-ethernet.patch)0
-rw-r--r--target/linux/patches/3.14.26/mkpiggy.patch (renamed from target/linux/patches/3.14.22/mkpiggy.patch)0
-rw-r--r--target/linux/patches/3.14.26/mtd-rootfs.patch (renamed from target/linux/patches/3.14.22/mtd-rootfs.patch)0
-rw-r--r--target/linux/patches/3.14.26/nfsv3-tcp.patch (renamed from target/linux/patches/3.14.22/nfsv3-tcp.patch)0
-rw-r--r--target/linux/patches/3.14.26/non-static.patch (renamed from target/linux/patches/3.14.22/non-static.patch)0
-rw-r--r--target/linux/patches/3.14.26/patch-fblogo (renamed from target/linux/patches/3.14.22/patch-fblogo)0
-rw-r--r--target/linux/patches/3.14.26/patch-grsec (renamed from target/linux/patches/3.14.22/patch-grsec)0
-rw-r--r--target/linux/patches/3.14.26/patch-mptcp (renamed from target/linux/patches/3.14.22/patch-mptcp)0
-rw-r--r--target/linux/patches/3.14.26/patch-yaffs2 (renamed from target/linux/patches/3.14.22/patch-yaffs2)0
-rw-r--r--target/linux/patches/3.14.26/ppc64-missing-zlib.patch (renamed from target/linux/patches/3.14.22/ppc64-missing-zlib.patch)0
-rw-r--r--target/linux/patches/3.14.26/regmap-boolean.patch (renamed from target/linux/patches/3.14.22/regmap-boolean.patch)0
-rw-r--r--target/linux/patches/3.14.26/relocs.patch (renamed from target/linux/patches/3.14.22/relocs.patch)0
-rw-r--r--target/linux/patches/3.14.26/sgidefs.patch (renamed from target/linux/patches/3.14.22/sgidefs.patch)0
-rw-r--r--target/linux/patches/3.14.26/sortext.patch (renamed from target/linux/patches/3.14.22/sortext.patch)0
-rw-r--r--target/linux/patches/3.14.26/startup.patch (renamed from target/linux/patches/3.14.22/startup.patch)0
-rw-r--r--target/linux/patches/3.14.26/tcp-fastopen.patch (renamed from target/linux/patches/3.14.22/tcp-fastopen.patch)0
-rw-r--r--target/linux/patches/3.14.26/wlan-cf.patch (renamed from target/linux/patches/3.14.22/wlan-cf.patch)0
-rw-r--r--target/linux/patches/3.14.26/xargs.patch (renamed from target/linux/patches/3.14.22/xargs.patch)0
-rw-r--r--target/linux/patches/3.14.26/zlib-inflate.patch (renamed from target/linux/patches/3.14.22/zlib-inflate.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0001-mtd-add-rb4xx-nand-driver.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0001-mtd-add-rb4xx-nand-driver.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0002-phy-add-ethtool-ioctl-support-used-by-ag71xx-driver.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0002-phy-add-ethtool-ioctl-support-used-by-ag71xx-driver.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0003-net-add-ag71xx-mac-driver.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0003-net-add-ag71xx-mac-driver.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0004-drivers-link-SPI-drivers-before-MTD-drivers.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0004-drivers-link-SPI-drivers-before-MTD-drivers.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0005-spi-add-various-flags-to-spi_transfer-and-spi_messag.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0005-spi-add-various-flags-to-spi_transfer-and-spi_messag.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0006-spi-add-rb4xx-SPI-driver.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0006-spi-add-rb4xx-SPI-driver.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0007-spi-add-rb4xx-cpld-driver.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0007-spi-add-rb4xx-cpld-driver.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0008-gpio-add-GPIO-latch-driver.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0008-gpio-add-GPIO-latch-driver.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0009-spi-export-spi_bitbang_bufs-function.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0009-spi-export-spi_bitbang_bufs-function.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0010-spi-add-type-field-to-spi_transfer-struct.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0010-spi-add-type-field-to-spi_transfer-struct.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0011-mtd-m25p80-set-SPI-transfer-type.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0011-mtd-m25p80-set-SPI-transfer-type.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0012-mips-ath79-swizzle-PCI-address-for-ar71xx.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0012-mips-ath79-swizzle-PCI-address-for-ar71xx.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0013-net-add-swconfig-support.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0013-net-add-swconfig-support.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0014-phy-add-detach-callback-to-struct-phy_driver.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0014-phy-add-detach-callback-to-struct-phy_driver.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0015-phy-add-ar8216-PHY-support.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0015-phy-add-ar8216-PHY-support.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0016-phy-mdio-bitbang-ignore-TA-value.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0016-phy-mdio-bitbang-ignore-TA-value.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0017-MIPS-ath79-fix-maximum-timeout.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0017-MIPS-ath79-fix-maximum-timeout.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0018-net-allow-PHY-drivers-to-insert-packet-mangle-hooks.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0018-net-allow-PHY-drivers-to-insert-packet-mangle-hooks.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0019-MIPS-ath79-process-board-cmdline-option.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0019-MIPS-ath79-process-board-cmdline-option.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0020-spi-ath79-add-fast-flash-read-support.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0020-spi-ath79-add-fast-flash-read-support.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0021-phy-add-mdio-boardinfo.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0021-phy-add-mdio-boardinfo.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0022-mips-ath79-add-ath79-ethernet-driver.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0022-mips-ath79-add-ath79-ethernet-driver.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0023-MIPS-ath79-add-Mikrotik-rb4xx-device-support.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0023-MIPS-ath79-add-Mikrotik-rb4xx-device-support.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0024-various-fixups-for-Werror.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0024-various-fixups-for-Werror.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0025-rb4xx_nand-add-partition-for-cfgfs.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0025-rb4xx_nand-add-partition-for-cfgfs.patch)0
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.26/0026-various-fixups-for-ath5k-fixing-system-freezes.patch (renamed from target/mips/mikrotik-rb4xx/patches/3.14.22/0026-various-fixups-for-ath5k-fixing-system-freezes.patch)0
-rw-r--r--target/mips/mikrotik-rb532/patches/3.14.26/rb532-cfgfs.patch (renamed from target/mips/mikrotik-rb532/patches/3.14.22/rb532-cfgfs.patch)0
-rw-r--r--target/mips/mikrotik-rb532/patches/3.14.26/rb532-pci.patch (renamed from target/mips/mikrotik-rb532/patches/3.14.22/rb532-pci.patch)0
74 files changed, 3025 insertions, 2896 deletions
diff --git a/mk/kernel-ver.mk b/mk/kernel-ver.mk
index 8b66ee033..55c282233 100644
--- a/mk/kernel-ver.mk
+++ b/mk/kernel-ver.mk
@@ -4,11 +4,11 @@ KERNEL_MOD_VERSION:= $(KERNEL_VERSION)
KERNEL_RELEASE:= 1
KERNEL_MD5SUM:= ce49828adecf8908eb3a9ffc5b860d44
endif
-ifeq ($(ADK_KERNEL_VERSION_3_14_22),y)
-KERNEL_VERSION:= 3.14.22
+ifeq ($(ADK_KERNEL_VERSION_3_14_26),y)
+KERNEL_VERSION:= 3.14.26
KERNEL_MOD_VERSION:= $(KERNEL_VERSION)
KERNEL_RELEASE:= 1
-KERNEL_MD5SUM:= cb00fadd0a720cc2d1690792e72e0134
+KERNEL_MD5SUM:= 9a91a9c507c9efb68c7075e151c30fa7
endif
ifeq ($(ADK_KERNEL_VERSION_3_12_33),y)
KERNEL_VERSION:= 3.12.33
diff --git a/package/firmware-imx/Makefile b/package/firmware-imx/Makefile
index 741926d1d..97eae9e58 100644
--- a/package/firmware-imx/Makefile
+++ b/package/firmware-imx/Makefile
@@ -4,10 +4,10 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= firmware-imx
-PKG_VERSION:= 3.10.17-1.0.0
+PKG_VERSION:= 3.10.31-1.1.0-beta
PKG_RELEASE:= 1
-PKG_MD5SUM:= 29a54f6e5bf889a00cd8ca85080af223
-PKG_DESCR:= IMX firmware (Freescale)
+PKG_MD5SUM:= 4e102affc4273f424da4cec9f46adae8
+PKG_DESCR:= IMX VPU firmware (Freescale)
PKG_SECTION:= sys/firmware
PKG_URL:= http://www.freescale.com/
PKG_SITES:= http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/
@@ -25,8 +25,8 @@ BUILD_STYLE:= manual
INSTALL_STYLE:= manual
firmware-imx-install:
- $(INSTALL_DIR) $(IDIR_FIRMWARE_IMX)/lib/firmware
- ${CP} ${WRKBUILD}/firmware/{sdma,vpu} \
- $(IDIR_FIRMWARE_IMX)/lib/firmware
+ $(INSTALL_DIR) $(IDIR_FIRMWARE_IMX)/lib/firmware/vpu
+ ${CP} ${WRKBUILD}/firmware/vpu/vpu_fw_imx6* \
+ $(IDIR_FIRMWARE_IMX)/lib/firmware/vpu
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/imx-lib/Makefile b/package/imx-lib/Makefile
index 10566a5fb..eacee4a01 100644
--- a/package/imx-lib/Makefile
+++ b/package/imx-lib/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= imx-lib
-PKG_VERSION:= 3.10.17-1.0.0
+PKG_VERSION:= 3.10.31-1.1.0-beta
PKG_RELEASE:= 1
-PKG_MD5SUM:= 8e3346d5f33b5aa5f915a0dd8aa99cc9
+PKG_MD5SUM:= 0485e457eafe5a10274d171b3af79e2f
PKG_DESCR:= IMX library (Freescale)
PKG_SECTION:= libs/video
PKG_URL:= http://www.freescale.com/
diff --git a/package/imx-vpu/Makefile b/package/imx-vpu/Makefile
index 48337994d..bac6292bc 100644
--- a/package/imx-vpu/Makefile
+++ b/package/imx-vpu/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= imx-vpu
-PKG_VERSION:= 3.10.17-1.0.0
+PKG_VERSION:= 3.10.31-1.1.0-beta
PKG_RELEASE:= 1
-PKG_MD5SUM:= 71ea1b803864101ebf88a1bab45514d2
+PKG_MD5SUM:= ab76e7395b6a178a8538a6d5beb87656
PKG_DESCR:= IMX VPU library (Freescale)
PKG_DEPENDS:= firmware-imx
PKG_SECTION:= libs/video
diff --git a/package/kodi/Makefile b/package/kodi/Makefile
index 08b230cc9..c0e1866a9 100644
--- a/package/kodi/Makefile
+++ b/package/kodi/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= kodi
-PKG_VERSION:= 14.0rc2
+PKG_VERSION:= 14.0rc3
PKG_RELEASE:= 1
-PKG_MD5SUM:= f56aeb81db6878fcac6631f6a3e2c702
+PKG_MD5SUM:= ab161aa0dee4ca77b977d3ca2f4ebdd5
PKG_DESCR:= software media player
PKG_SECTION:= mm/video
PKG_DEPENDS:= boost python2 libstdcxx glibc-gconv
@@ -174,23 +174,25 @@ CONFIGURE_ARGS+= --disable-x11 \
endif
pre-configure:
- (cd $(WRKBUILD)/lib/cpluff && env PATH=$(AUTOTOOL_PATH) ./autogen.sh)
+ (cd $(WRKBUILD)/lib/cpluff && env PATH='$(AUTOTOOL_PATH)' ./autogen.sh)
pre-build:
- PATH=$(HOST_PATH) \
+ PATH='$(HOST_PATH)' \
make CXX="${HOST_CXX}" CC="${HOST_CC}" CFLAGS="${HOST_CFLAGS}" \
CXXFLAGS="${HOST_CXXFLAGS}" LDFLAGS="${HOST_LDFLAGS}" \
-C $(WRKBUILD)/tools/depends/native/JsonSchemaBuilder
kodi-install:
- $(INSTALL_DIR) $(IDIR_KODI)/usr/lib/xbmc/addons
- $(CP) $(WRKINST)/usr/lib/xbmc/* \
- $(IDIR_KODI)/usr/lib/xbmc
- $(INSTALL_DIR) $(IDIR_KODI)/usr/share/xbmc
- $(CP) $(WRKINST)/usr/share/xbmc/* \
- $(IDIR_KODI)/usr/share/xbmc
+ $(INSTALL_DIR) $(IDIR_KODI)/usr/lib/kodi/addons
+ $(CP) $(WRKINST)/usr/lib/kodi/* \
+ $(IDIR_KODI)/usr/lib/kodi
+ $(INSTALL_DIR) $(IDIR_KODI)/usr/share/kodi
+ $(CP) $(WRKINST)/usr/share/kodi/* \
+ $(IDIR_KODI)/usr/share/kodi
$(INSTALL_DIR) $(IDIR_KODI)/usr/bin
- $(INSTALL_BIN) $(WRKINST)/usr/bin/xbmc \
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/kodi-standalone \
+ $(IDIR_KODI)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/kodi \
$(IDIR_KODI)/usr/bin
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/kodi/files/kodi.init b/package/kodi/files/kodi.init
index b15b1d6d4..6dddfd421 100644
--- a/package/kodi/files/kodi.init
+++ b/package/kodi/files/kodi.init
@@ -12,11 +12,10 @@ autostart)
exec sh $0 start
;;
start)
- export LD_LIBRARY_PATH=/opt/vc/lib
- xbmc &
+ kodi &
;;
stop)
- kill $(pgrep -f /usr/lib/xbmc/xbmc.bin)
+ kill $(pgrep -f /usr/lib/kodi/kodi.bin)
;;
restart)
sh $0 stop
diff --git a/package/kodi/patches/patch-configure_in b/package/kodi/patches/patch-configure_in
index 3db5985c7..aab2c5057 100644
--- a/package/kodi/patches/patch-configure_in
+++ b/package/kodi/patches/patch-configure_in
@@ -1,6 +1,6 @@
---- kodi-14.0alpha4.orig/configure.in 2014-10-06 11:34:24.000000000 -0500
-+++ kodi-14.0alpha4/configure.in 2014-10-08 01:40:53.444436000 -0500
-@@ -1011,7 +1011,7 @@ if test "$use_gles" = "yes"; then
+--- kodi-14.0rc2.orig/configure.in 2014-12-05 19:38:42.000000000 -0600
++++ kodi-14.0rc2/configure.in 2014-12-07 03:43:25.212418001 -0600
+@@ -1008,7 +1008,7 @@ if test "$use_gles" = "yes"; then
AC_DEFINE([HAVE_LIBEGL],[1],["Define to 1 if you have the `EGL' library (-lEGL)."])
AC_DEFINE([HAVE_LIBGLESV2],[1],["Define to 1 if you have the `GLESv2' library (-lGLESv2)."])
AC_MSG_RESULT(== WARNING: OpenGLES support is assumed.)
diff --git a/package/kodi/patches/patch-tools_Linux_kodi_sh_in b/package/kodi/patches/patch-tools_Linux_kodi_sh_in
new file mode 100644
index 000000000..2d0e188d1
--- /dev/null
+++ b/package/kodi/patches/patch-tools_Linux_kodi_sh_in
@@ -0,0 +1,39 @@
+--- kodi-14.0rc2.orig/tools/Linux/kodi.sh.in 2014-12-05 19:38:43.000000000 -0600
++++ kodi-14.0rc2/tools/Linux/kodi.sh.in 2014-12-07 08:33:01.128418001 -0600
+@@ -86,15 +86,7 @@ print_crash_report()
+ echo -n " Kernel: " >> $FILE
+ uname -rvs >> $FILE
+ echo -n " Release: " >> $FILE
+- if [ -f /etc/os-release ]; then
+- . /etc/os-release
+- echo $NAME $VERSION >> $FILE
+- elif command_exists lsb_release; then
+- echo >> $FILE
+- lsb_release -a 2> /dev/null | sed -e 's/^/ /' >> $FILE
+- else
+- echo "lsb_release not available" >> $FILE
+- fi
++ echo OpenADK >> $FILE
+ echo "############## END SYSTEM INFO ##############" >> $FILE
+ echo >> $FILE
+ echo "############### STACK TRACE #################" >> $FILE
+@@ -138,19 +130,6 @@ print_crash_report()
+ }
+
+ migrate_home
+-python @datadir@/${bin_name}/FEH.py $SAVED_ARGS
+-RET=$?
+-if [ $RET -ne 0 ]; then
+- exit $RET
+-fi
+-
+-if command_exists gdb; then
+- # Output warning in case ulimit is unsupported by shell
+- eval ulimit -c unlimited
+- if [ ! $? = "0" ]; then
+- echo "${bin_name}: ulimit is unsupported by this shell" 1>&2
+- fi
+-fi
+
+ LOOP=1
+ while [ $(( $LOOP )) = "1" ]
diff --git a/package/kodi/patches/patch-xbmc_Application_cpp b/package/kodi/patches/patch-xbmc_Application_cpp
new file mode 100644
index 000000000..2235d9f8b
--- /dev/null
+++ b/package/kodi/patches/patch-xbmc_Application_cpp
@@ -0,0 +1,14 @@
+--- kodi-14.0rc2.orig/xbmc/Application.cpp 2014-12-05 19:38:44.000000000 -0600
++++ kodi-14.0rc2/xbmc/Application.cpp 2014-12-07 10:16:27.900418001 -0600
+@@ -1076,10 +1076,7 @@ bool CApplication::InitDirectoriesLinux(
+ userName = "root";
+
+ std::string userHome;
+- if (getenv("HOME"))
+- userHome = getenv("HOME");
+- else
+- userHome = "/root";
++ userHome = "/data/kodi";
+
+ std::string appBinPath, appPath;
+ std::string appName = CCompileInfo::GetAppName();
diff --git a/package/kodi/patches/patch-xbmc_cores_dvdplayer_DVDDemuxers_DVDDemuxFFmpeg_cpp b/package/kodi/patches/patch-xbmc_cores_dvdplayer_DVDDemuxers_DVDDemuxFFmpeg_cpp
index 0be4452a8..1660c5a36 100644
--- a/package/kodi/patches/patch-xbmc_cores_dvdplayer_DVDDemuxers_DVDDemuxFFmpeg_cpp
+++ b/package/kodi/patches/patch-xbmc_cores_dvdplayer_DVDDemuxers_DVDDemuxFFmpeg_cpp
@@ -1,6 +1,6 @@
---- kodi-14.0alpha4.orig/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp 2014-09-05 14:09:59.000000000 +0200
-+++ kodi-14.0alpha4/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp 2014-09-05 15:53:47.432904545 +0200
-@@ -490,8 +490,8 @@ void CDVDDemuxFFmpeg::Reset()
+--- kodi-14.0rc2.orig/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp 2014-12-05 19:38:44.000000000 -0600
++++ kodi-14.0rc2/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp 2014-12-07 03:43:25.308418001 -0600
+@@ -520,8 +520,8 @@ void CDVDDemuxFFmpeg::Reset()
void CDVDDemuxFFmpeg::Flush()
{
// naughty usage of an internal ffmpeg function
@@ -9,5 +9,5 @@
+ //if (m_pFormatContext)
+ // av_read_frame_flush(m_pFormatContext);
- m_iCurrentPts = DVD_NOPTS_VALUE;
+ m_currentPts = DVD_NOPTS_VALUE;
diff --git a/package/kodi/patches/patch-xbmc_utils_SystemInfo_cpp b/package/kodi/patches/patch-xbmc_utils_SystemInfo_cpp
index e5131b7ec..1fddf255f 100644
--- a/package/kodi/patches/patch-xbmc_utils_SystemInfo_cpp
+++ b/package/kodi/patches/patch-xbmc_utils_SystemInfo_cpp
@@ -1,11 +1,52 @@
---- kodi-14.0alpha4.orig/xbmc/utils/SystemInfo.cpp 2014-10-10 15:03:29.000000000 -0500
-+++ kodi-14.0alpha4/xbmc/utils/SystemInfo.cpp 2014-10-29 20:29:31.614352000 -0500
-@@ -618,7 +618,7 @@ std::string CSysInfo::GetOsName(bool emp
- #elif defined (TARGET_ANDROID)
+--- kodi-14.0rc2.orig/xbmc/utils/SystemInfo.cpp 2014-12-05 19:38:44.000000000 -0600
++++ kodi-14.0rc2/xbmc/utils/SystemInfo.cpp 2014-12-07 23:48:19.332418001 -0600
+@@ -615,16 +615,11 @@ std::string CSysInfo::GetOsName(bool emp
+ osName = "iOS";
+ #elif defined(TARGET_DARWIN_OSX)
+ osName = "OS X";
+-#elif defined (TARGET_ANDROID)
++#elif defined(TARGET_ANDROID)
osName = "Android";
#elif defined(TARGET_LINUX)
- osName = getValueFromOs_release("NAME");
+- if (osName.empty())
+- osName = getValueFromLsb_release(lsb_rel_distributor);
+- if (osName.empty())
+- osName = getValueFromOs_release("ID");
+-#endif // defined(TARGET_LINUX)
+-
+ osName = "OpenADK";
++#endif
if (osName.empty())
- osName = getValueFromLsb_release(lsb_rel_distributor);
- if (osName.empty())
+ osName = "Unknown OS";
+ }
+@@ -665,7 +660,7 @@ std::string CSysInfo::GetOsVersion(void)
+ #elif defined(TARGET_LINUX)
+ osVersion = getValueFromOs_release("VERSION_ID");
+ if (osVersion.empty())
+- osVersion = getValueFromLsb_release(lsb_rel_release);
++ osVersion = "1.0";
+ #endif // defined(TARGET_LINUX)
+
+ if (osVersion.empty())
+@@ -737,19 +732,7 @@ std::string CSysInfo::GetOsPrettyNameWit
+ #elif defined(TARGET_ANDROID)
+ osNameVer = GetOsName() + " " + GetOsVersion() + " API level " + StringUtils::Format("%d", CJNIBuild::SDK_INT);
+ #elif defined(TARGET_LINUX)
+- osNameVer = getValueFromOs_release("PRETTY_NAME");
+- if (osNameVer.empty())
+- {
+- osNameVer = getValueFromLsb_release(lsb_rel_description);
+- std::string osName(GetOsName(true));
+- if (!osName.empty() && osNameVer.find(osName) == std::string::npos)
+- osNameVer = osName + osNameVer;
+- if (osNameVer.empty())
+- osNameVer = "Unknown Linux Distribution";
+- }
+-
+- if (osNameVer.find(GetOsVersion()) == std::string::npos)<