From 6fb194795a3de5ac9a5d20e9c47edc16cc99164c 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 (MR 1953) 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 cb9ebf62..2fc7ef2f 100644 --- a/pmb/install/_install.py +++ b/pmb/install/_install.py @@ -537,7 +537,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