install --ondev: pass cipher to ondev-prepare (MR 1958)

Let postmarketos-ondev honor the cryptsetup cipher from pmbootstrap.
This commit is contained in:
Oliver Smith 2020-07-09 23:35:31 +02:00
parent 3b02d35f1d
commit 1d6c382cf7
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 1 additions and 0 deletions

View File

@ -551,6 +551,7 @@ def install_on_device_installer(args, step, steps):
"ONDEV_CHANNEL_BRANCH_PMAPORTS": channel_cfg["branch_pmaports"],
"ONDEV_CHANNEL_DESCRIPTION": channel_cfg["description"],
"ONDEV_CHANNEL_MIRRORDIR_ALPINE": channel_cfg["mirrordir_alpine"],
"ONDEV_CIPHER": args.cipher,
"ONDEV_PMBOOTSTRAP_VERSION": pmb.config.version,
"ONDEV_UI": args.ui}
pmb.chroot.root(args, ["ondev-prepare"], suffix_installer, env=env)