s/system partition/rootfs: fix remaining mentions

Follow-up to !1373, where `pmbootstrap flasher flash_system` was
replaced with `pmbootstrap flasher flash_rootfs`. We still had used
terms like "system partition" in a lot of places.

This commit replaces it everywhere, so it's clear that we're talking
about the pmOS rootfs (which may or may not be installed to Android's
system partition).
This commit is contained in:
Oliver Smith 2018-07-15 23:41:31 +02:00
parent cca5c9aa30
commit 0d7802d7ef
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
11 changed files with 32 additions and 32 deletions

View file

@ -60,11 +60,11 @@ def list_flavors(args):
def rootfs(args):
# Generate system image, install flasher
# Generate rootfs, install flasher
img_path = "/home/pmos/rootfs/" + args.device + ".img"
if not os.path.exists(args.work + "/chroot_native" + img_path):
raise RuntimeError("The system image has not been generated yet,"
" please run 'pmbootstrap install' first.")
raise RuntimeError("The rootfs has not been generated yet, please run"
" 'pmbootstrap install' first.")
# Do not flash if using fastboot & image is too large
method = args.flash_method or args.deviceinfo["flash_method"]
@ -72,8 +72,8 @@ def rootfs(args):
img_size = os.path.getsize(args.work + "/chroot_native" + img_path) / 1024**2
max_size = int(args.deviceinfo["flash_fastboot_max_size"])
if img_size > max_size:
raise RuntimeError("The system image is too large for fastboot"
" to flash.")
raise RuntimeError("The rootfs is too large for fastboot to"
" flash.")
# Run the flasher
logging.info("(native) flash rootfs image")