Unregister all binfmt architectures during pmbootstrap shutdown (#822)

* Unregister all binfmt architectures during `pmbootstrap shutdown`
* Remove `-r, --rootfs` argument from `pmbootstrap build_init` command
This commit is contained in:
drebrez 2017-10-26 00:54:17 +02:00 committed by Oliver Smith
parent df47b50013
commit 732a94fd45
3 changed files with 7 additions and 6 deletions

View file

@ -65,7 +65,7 @@ def _parse_flavor(args):
def _parse_suffix(args):
if args.rootfs:
if "rootfs" in args and args.rootfs:
return "rootfs_" + args.device
elif args.buildroot:
return "buildroot_" + args.deviceinfo["arch"]