From ea123678d957d0706c030a35f18026d163b0cad9 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Tue, 23 Nov 2010 21:38:52 +0100 Subject: DVDPlayer: add missing linker flags for libdreamdvd --- lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/python') diff --git a/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am b/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am index 7aaec9bb..3e2ee67c 100644 --- a/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am +++ b/lib/python/Plugins/Extensions/DVDPlayer/src/Makefile.am @@ -4,6 +4,8 @@ AM_CPPFLAGS = \ -include Python.h \ -include $(top_builddir)/enigma2_config.h +AM_CXXFLAGS = @LIBDDVD_CFLAGS@ + plugindir = $(pkglibdir)/python/Plugins/Extensions/DVDPlayer plugin_LTLIBRARIES = servicedvd.la @@ -13,3 +15,4 @@ servicedvd_la_SOURCES = \ servicedvd.h servicedvd_la_LDFLAGS = -avoid-version -module +servicedvd_la_LIBADD = @LIBDDVD_LIBS@ -- cgit v1.2.3 From e66c53dd065aec5f9aca27ab45dc9e4f6fdc211e Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Mon, 20 Dec 2010 22:24:10 +0100 Subject: Harddisk.py: start partition at sector 8 to improve performance of disks with 4KiB sectors --- lib/python/Components/Harddisk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python') diff --git a/lib/python/Components/Harddisk.py b/lib/python/Components/Harddisk.py index 0f1a8fca..30a7b609 100644 --- a/lib/python/Components/Harddisk.py +++ b/lib/python/Components/Harddisk.py @@ -190,7 +190,7 @@ class Harddisk: return (res >> 8) def createPartition(self): - cmd = 'printf "0,\n;\n;\n;\ny\n" | sfdisk -f ' + self.disk_path + cmd = 'printf "8,\n;0,0\n;0,0\n;0,0\ny\n" | sfdisk -f -uS ' + self.disk_path res = system(cmd) return (res >> 8) -- cgit v1.2.3