forked from Mirror/pmbootstrap
install: rename --sdcard arg to --disk
Rename the argument, because any block device can be passed to the argument. Use "disk", because the other short word "device" usually means the target device/phone to install. Keep --sdcard as alias for compatibility with existing scripts and muscle memory. Reviewed-by: Clayton Craft <clayton@craftyguy.net> Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20231119182302.2415-1-ollieparanoid@postmarketos.org%3E
This commit is contained in:
parent
942ee20789
commit
ef047137d0
8 changed files with 58 additions and 56 deletions
|
@ -19,7 +19,7 @@ def frontend(args):
|
|||
pattern = chroot + "/home/pmos/rootfs/" + args.device + "*.img"
|
||||
if not glob.glob(pattern):
|
||||
logging.info("NOTE: To export the rootfs image, run 'pmbootstrap"
|
||||
" install' first (without the 'sdcard' parameter).")
|
||||
" install' first (without the 'disk' parameter).")
|
||||
|
||||
# Rebuild the initramfs, just to make sure (see #69)
|
||||
flavor = pmb.helpers.frontend._parse_flavor(args, args.autoinstall)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue