From afeeeee4d767bdae25555c18a5adc8f1b87ce92c Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 29 Jun 2020 20:17:29 +0200 Subject: [PATCH] install --ondev: ondev-prepare: pass pmb ver, ui Pass the pmbootstrap version and user interface, so it can be checked / displayed in postmarketos-ondev. --- pmb/install/_install.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pmb/install/_install.py b/pmb/install/_install.py index 7e7a9996..0fda5d7b 100644 --- a/pmb/install/_install.py +++ b/pmb/install/_install.py @@ -545,7 +545,9 @@ def install_on_device_installer(args, step, steps): "ONDEV_CHANNEL_BRANCH_APORTS": channel_cfg["branch_aports"], "ONDEV_CHANNEL_BRANCH_PMAPORTS": channel_cfg["branch_pmaports"], "ONDEV_CHANNEL_DESCRIPTION": channel_cfg["description"], - "ONDEV_CHANNEL_MIRRORDIR_ALPINE": channel_cfg["mirrordir_alpine"]} + "ONDEV_CHANNEL_MIRRORDIR_ALPINE": channel_cfg["mirrordir_alpine"], + "ONDEV_PMBOOTSTRAP_VERSION": pmb.config.version, + "ONDEV_UI": args.ui} pmb.chroot.root(args, ["ondev-prepare"], suffix_installer, env=env) # Remove $DEVICE-boot.img (we will generate a new one if --split was