diskimage-builder/diskimage_builder/lib/dib-block-device.py
Ian Wienand 8a12243517 Remove dib-block-device console entrypoint
This is never called externally to dib, so doesn't need to be an
entrypoint.  Call it from within dib using the running python
executable and from the lib/ directory; this means we do not need to
have the virtualenv activated to run disk-image-create.

Change-Id: Ie9b551824792864402b0c63ccc350dc5c92dcc3f
2020-11-09 16:43:19 +11:00

8 lines
114 B
Python

import sys
from diskimage_builder.block_device.cmd import main
if __name__ == "__main__":
sys.exit(main())