-
Tobias Kahlki authoredd9392b73
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
fng-install.inc 712 B
FILESEXTRAPATHS:append := "${THISDIR}/common:"
SRC_URI:append = " \
file://fnginstall-common.sh \
"
do_compile() {
cp "${WORKDIR}/${INSTALL_SCRIPT}" "${B}/${INSTALL_SCRIPT}"
sed -i "${B}/${INSTALL_SCRIPT}" \
-e 's/.*\(\.\/fnginstall-common.sh\)/#==============================\n# End of include file fnginstall-common.sh\n#==============================/' \
-e '/# shellcheck source.*fnginstall-common.sh/r ${WORKDIR}/fnginstall-common.sh' \
-e 's/# shellcheck source.*fnginstall-common.sh/#==============================\n# Included from fnginstall-common.sh\n#==============================/'
sed -i "${B}/${INSTALL_SCRIPT}" -e "s/MACHINE=.*/MACHINE=${MACHINE}/"
}