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:
b6a30f8
)
fix
sandbox/klewandowski/wip
author
Karol Lewandowski
<k.lewandowsk@samsung.com>
Thu, 23 May 2024 07:37:21 +0000
(09:37 +0200)
committer
Karol Lewandowski
<k.lewandowsk@samsung.com>
Thu, 23 May 2024 07:37:21 +0000
(09:37 +0200)
Change-Id: I5341ab4516b893574777d8cec6b9efc07fb6eba7
scripts/tizen/sd_fusing.py
patch
|
blob
|
history
diff --git
a/scripts/tizen/sd_fusing.py
b/scripts/tizen/sd_fusing.py
index dda77ea63c4522843d336091c7acf1bdab1cb608..9dda8f1ec72d049a473b1e634fa2a2aebb4a8e15 100755
(executable)
--- a/
scripts/tizen/sd_fusing.py
+++ b/
scripts/tizen/sd_fusing.py
@@
-800,8
+800,8
@@
def mkpart(args, target):
rereadpt_err = f"Failed to request kernel to re-read partition table on {Device}"
for i in range(2):
try:
- with o
s.o
pen(Device, "wb") as f:
- fcntl.ioctl(f
ileno(f
), BLKRRPART)
+ with open(Device, "wb") as f:
+ fcntl.ioctl(f
.fileno(
), BLKRRPART)
rereadpt_ok = True
except OSError as e:
if e.errno == errno.EBUSY: