summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstaller.configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/installer.configure b/installer.configure
index a77dc851..e076d6d7 100755
--- a/installer.configure
+++ b/installer.configure
@@ -23,6 +23,7 @@
# * INSTALLER_TARGET_STORAGE_DEVICE
# * INSTALLER_ROOTFS_TO_INSTALL
# * INSTALLER_POST_INSTALL_COMMAND (optional, defaults to `reboot -f`)
+# * INSTALLER_CREATE_BOOT_PARTITION (optional, defaults no no)
import os
import sys
@@ -41,6 +42,8 @@ except KeyError as e:
postinstkey = 'INSTALLER_POST_INSTALL_COMMAND'
installer_configuration[postinstkey] = os.environ.get(postinstkey, 'reboot -f')
+installer_configuration['INSTALLER_CREATE_BOOT_PARTITION'] = os.environ.get(
+ 'INSTALLER_CREATE_BOOT_PARTITION')
with open(install_config_file, 'w') as f:
f.write( yaml.dump(installer_configuration, default_flow_style=False) )