aboutsummaryrefslogtreecommitdiff
path: root/linaro_image_tools/media_create/__init__.py
diff options
context:
space:
mode:
authorjeremy.chang@linaro.org <>2011-04-11 21:46:15 +0800
committerjeremy.chang@linaro.org <>2011-04-11 21:46:15 +0800
commit4819eaec381cbf7a74b97be4e47e842d32678b54 (patch)
tree04025ec1e55005d3dd8e5cf270c1f6041f6b7ef1 /linaro_image_tools/media_create/__init__.py
parent53b795671710f8e514ef6dde6c2389edd589524e (diff)
Introduce boottarball to android to replace the roottarball
rootfs partition is deprecated that is replaced by ramdisk image. Argument changed to as the example: $ linaro-android-media-create --dev beagle --system system.tar.bz2 \ --userdata userdata.tar.bz2 --boot boot.tar.bz2 --mmc /dev/sdb
Diffstat (limited to 'linaro_image_tools/media_create/__init__.py')
-rw-r--r--linaro_image_tools/media_create/__init__.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/linaro_image_tools/media_create/__init__.py b/linaro_image_tools/media_create/__init__.py
index a01b3aa..348d04c 100644
--- a/linaro_image_tools/media_create/__init__.py
+++ b/linaro_image_tools/media_create/__init__.py
@@ -122,12 +122,6 @@ def get_android_args_parser():
'--dev', required=True, dest='board', choices=ANDROID_KNOWN_BOARDS,
help='Generate an SD card or image for the given board.')
parser.add_argument(
- '--rootfs', default='ext4', choices=['ext3', 'ext4'],
- help='Type of filesystem to use for the rootfs')
- parser.add_argument(
- '--rfs_label', default='rootfs',
- help='Label to use for the root filesystem.')
- parser.add_argument(
'--boot_label', default='boot',
help='Label to use for the boot filesystem.')
@@ -138,16 +132,10 @@ def get_android_args_parser():
'--userdata', default='userdata.tar.bz2', required=True,
help=('The tarball containing the Android data paritition'))
parser.add_argument(
- '--root', default='root.tar.bz2', required=True,
+ '--boot', default='boot.tar.bz2', required=True,
help=('The tarball containing the Android root partition'))
parser.add_argument(
- '--no-rootfs', dest='should_format_rootfs', action='store_false',
- help='Do not deploy the root filesystem.')
- parser.add_argument(
- '--no-bootfs', dest='should_format_bootfs', action='store_false',
- help='Do not deploy the boot filesystem.')
- parser.add_argument(
'--no-part', dest='should_create_partitions', action='store_false',
help='Reuse existing partitions on the given media.')
parser.add_argument(