Skip to content

Commit

Permalink
A small useful fix to use erase.p to clean up partition
Browse files Browse the repository at this point in the history
example
[part/misc]
erase=True

that will generate
# misc
mmc erase.p misc
  • Loading branch information
dipcore committed Feb 2, 2019
1 parent 8bf8ecd commit 802f04e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file added __pycache__/utils.cpython-37.pyc
Binary file not shown.
4 changes: 2 additions & 2 deletions pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@
if (create):
directive.create(name, size)

# if (erase):
# directive.erase_p(name)
if (erase and imageFile == 'NOT_SET'):
directive.erase_p(name)

if (type == 'partitionImage'):

Expand Down

0 comments on commit 802f04e

Please sign in to comment.