projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5115b11
)
WIP: report problems with sfdisk(8)
author
Łukasz Stelmach
<l.stelmach@samsung.com>
Tue, 19 Sep 2023 15:01:00 +0000
(17:01 +0200)
committer
Łukasz Stelmach
<l.stelmach@samsung.com>
Wed, 20 Sep 2023 12:15:01 +0000
(14:15 +0200)
Change-Id: If69109b1d814f490c2650b6e1573ac77bf02649a
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
scripts/tizen/sd_fusing.py
patch
|
blob
|
history
diff --git
a/scripts/tizen/sd_fusing.py
b/scripts/tizen/sd_fusing.py
index
61ebcf4
..
db846c2
100755
(executable)
--- a/
scripts/tizen/sd_fusing.py
+++ b/
scripts/tizen/sd_fusing.py
@@
-158,6
+158,11
@@
def mkpart(args):
stdout=None,
stderr=None,
input=str(target.label).encode())
+ if proc.returncode != 0:
+ logging.error(f"Failed to create partition a new table on {Device}")
+ logging.error(f"New partition table:\n" + str(target.label))
+ sys.exit(1)
+ #TODO: mkfs
def check_args(args):
global Format