mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-16 12:55:09 +03:00
Alias: "pmbootstrap export" for "pmbootstrap flasher export" (#417)
* moved export code to pmb/export and split it up * added deprecation notice to "pmbootstrap flasher export" * made "pmbootstrap export" work * adjusted the "pmbootstrap flasher export" hints in the code
This commit is contained in:
parent
cd9baf4026
commit
b29cc877a7
9 changed files with 164 additions and 96 deletions
|
@ -140,6 +140,10 @@ def flasher(args):
|
|||
pmb.flasher.frontend(args)
|
||||
|
||||
|
||||
def export(args):
|
||||
pmb.export.frontend(args)
|
||||
|
||||
|
||||
def menuconfig(args):
|
||||
pmb.build.menuconfig(args, args.package, args.deviceinfo["arch"])
|
||||
|
||||
|
@ -174,7 +178,8 @@ def stats(args):
|
|||
|
||||
def log(args):
|
||||
if args.clear_log:
|
||||
pmb.helpers.run.user(args, ["truncate", "-s", "0", args.log], log=False)
|
||||
pmb.helpers.run.user(args, ["truncate", "-s", "0", args.log],
|
||||
log=False)
|
||||
pmb.helpers.run.user(args, ["tail", "-f", args.log, "-n", args.lines],
|
||||
log=False)
|
||||
|
||||
|
@ -187,4 +192,5 @@ def log_distccd(args):
|
|||
|
||||
|
||||
def zap(args):
|
||||
pmb.chroot.zap(args, packages=args.packages, http=args.http, mismatch_bins=args.mismatch_bins)
|
||||
pmb.chroot.zap(args, packages=args.packages, http=args.http,
|
||||
mismatch_bins=args.mismatch_bins)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue