diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-29 10:04:40 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-29 10:05:02 -0300 |
commit | 490920ef4ea7502033679db1022dad48d585e436 (patch) | |
tree | 96cb4d73a9396017d8b4086d2e3872b2808e3cde /tools | |
parent | 39ec113419c460ab2b953a95bb3d44fb2db365a4 (diff) | |
download | pfsense-490920ef4ea7502033679db1022dad48d585e436.zip pfsense-490920ef4ea7502033679db1022dad48d585e436.tar.gz |
Replace macros by variables after install bsdinstaller
Diffstat (limited to 'tools')
-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)" } |