I'd like to use omap-image-builder script of Robert C. Nelson to create a custom image for BeagleBone Black.
I successfully created image based on bb-org-debian-stretch-iot-v4.14.conf file.
What I need to do is to add Zulu open embedded JDK 8.
I know that after flashing the image I can install it manually.
The process is not very simple.
1. Install dirmngr
===========
apt-get install dirmngr
===========
2. Add zulu repository with key
===========
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list
apt-get update
===========
3. Install jdk
===========
apt-get install zulu-embedded-8
===========
My question is:
Is it possible to add zulu-embedded-8 jdk package including repository with public key to config file?
How should I do it?
If it's impossible, may I add these steps to post-build process?
Thank you in advance.