aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2010-12-20 23:35:20 +0100
committerAndreas Oberritter <obi@opendreambox.org>2010-12-20 23:35:20 +0100
commit420e29b988b8d1326b9c6095eec6e2ffcb560e05 (patch)
tree8ed569a9d7cabee6c2f097d5b789c393a5062ea8 /lib
parentc932d71385c376af2fe2cc8ba26ef4f44188d1d6 (diff)
parente66c53dd065aec5f9aca27ab45dc9e4f6fdc211e (diff)
downloadenigma2-420e29b988b8d1326b9c6095eec6e2ffcb560e05.tar.gz
enigma2-420e29b988b8d1326b9c6095eec6e2ffcb560e05.zip
Merge branch 'obi/master' into experimental
Diffstat (limited to 'lib')
-rw-r--r--lib/python/Components/Harddisk.py2
1 files changed, 1 insertions, 1 deletions
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)