# the script expects the taglevels for both sfa and sface,
# in order to retrieve the corresponding code and to label the resulting package properly
# alternatively, a build-dir and tags file can be used instead
# the script expects the taglevels for both sfa and sface,
# in order to retrieve the corresponding code and to label the resulting package properly
# alternatively, a build-dir and tags file can be used instead
# retrieve sfa/sfa and sface/sface in the image
rm -rf "$img_mnt"/$resource_path/{sfa,sface}
git_retrieve $sfa_GITPATH sfa "$img_mnt"/$resource_path/
# retrieve sfa/sfa and sface/sface in the image
rm -rf "$img_mnt"/$resource_path/{sfa,sface}
git_retrieve $sfa_GITPATH sfa "$img_mnt"/$resource_path/
# copy binaries from sface to the bin dir
for bin in sface.bin sface-run; do
# don't use the --file mode as this loses the executable bit
# copy binaries from sface to the bin dir
for bin in sface.bin sface-run; do
# don't use the --file mode as this loses the executable bit