git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Network.py: improve remote rootfs detection and wireless device/module detection.
[enigma2.git]
/
lib
/
python
/
Components
/
Harddisk.py
diff --git
a/lib/python/Components/Harddisk.py
b/lib/python/Components/Harddisk.py
index 0f1a8fcafb304c5007558a01b693850af1e55c63..30a7b609cbd2ea61648d8e73cb2bb4454863b827 100644
(file)
--- a/
lib/python/Components/Harddisk.py
+++ b/
lib/python/Components/Harddisk.py
@@
-190,7
+190,7
@@
class Harddisk:
return (res >> 8)
def createPartition(self):
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)
res = system(cmd)
return (res >> 8)