You can't add your own apps or some other pkgs as openssl for yocto:tiny and some other distros simply by
adding "openssl" variable to "IMAGE_INSTALL_append" in configs/yocto/local_arm64_tiny.conf.
Flex-builder is a script , so , in case with your own apps or openssl
it is not working because openssl makefile installs openssl directory to /usr/local/ssl .
You can see that in source directory :
but it will not appear in destination directory :
because flex-builder changes paths regardless pkg makefile install paths.
yocto:devel works fine because Flex-builder has a separate branch in build_distro_rfs_yocto() function which doesn't change any install path for yocto:devel. It will copy everything as is from source to destination.
Lets look at the functions inside the flex-builder script
It says: if [ $DISTROSCALE = tiny ]; then - all paths are hardcoded for particular apps ONLY, but
openssl and your own apps are not among them !
My apps don't appear in the destination rootfs because my makefile install them to /user/local and usr/local/lib.
So, I had to change my makefile install paths and hardcode those paths for my app in similar way:
[ -f $DESTDIR/usr/bin/myApp ] && sudo cp -f $DESTDIR/usr/bin/myApp $RFSDIR/usr/bin .... and.. $RFSDIR/usr/lib
2. merge_components() function doesn't have a branch for yocto at all. The default actions ruin proper installation for custom apps if the app install path is not usr/bin and usr/lib