diff options
-rw-r--r-- | tools/builder_common.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh index 4487382..7b0c035 100644 --- a/tools/builder_common.sh +++ b/tools/builder_common.sh @@ -1539,6 +1539,11 @@ install_pkg_install_ports() { install_bsdinstaller() { echo ">>> Installing BSDInstaller in chroot (${FINAL_CHROOT_DIR})... (starting)" pkg_chroot ${FINAL_CHROOT_DIR} install -f bsdinstaller + sed -i '' -e "s,%%PRODUCT_NAME%%,${PRODUCT_NAME}," \ + -e "s,%%PRODUCT_VERSION%%,${PRODUCT_VERSION}," \ + -e "s,%%ARCH%%,${TARGET}," \ + ${FINAL_CHROOT_DIR}/usr/local/share/dfuibe_lua/conf/pfSense.lua \ + ${FINAL_CHROOT_DIR}/usr/local/share/dfuibe_lua/conf/pfSense_rescue.lua echo ">>> Installing BSDInstaller in chroot (${FINAL_CHROOT_DIR})... (finished)" } |