Use local configuration (Oracle Java).
This commit is contained in:
parent
091c46b636
commit
ac9b6b4925
@ -41,14 +41,6 @@ SYSLINUX_SOURCE_URL=http://kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.0
|
|||||||
# #
|
# #
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
# You need to manually download Oracle's JRE or JDK and set the property with
|
|
||||||
# the absolute path to the downloaded archive. Example:
|
|
||||||
#
|
|
||||||
# JAVA_ARCHIVE=/home/ivan/Downloads/jdk-8u131-linux-x64.tar.gz
|
|
||||||
#
|
|
||||||
#JAVA_ARCHIVE=/absolute/path/to/java.archive.tar.gz
|
|
||||||
#JAVA_ARCHIVE=/home/ivan/Downloads/jdk-9_linux-x64_bin.tar.gz
|
|
||||||
|
|
||||||
# You can find the latest kbd source bundles here:
|
# You can find the latest kbd source bundles here:
|
||||||
#
|
#
|
||||||
# http://www.kbd-project.org/
|
# http://www.kbd-project.org/
|
||||||
|
11
src/minimal_overlay/bundles/java/.config
Normal file
11
src/minimal_overlay/bundles/java/.config
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# You can find the latest Oracle Java/JDK downloads here:
|
||||||
|
#
|
||||||
|
# http://www.oracle.com/technetwork/java/javase/downloads/index.html
|
||||||
|
#
|
||||||
|
# You need to manually download Oracle's JRE or JDK and set the property with
|
||||||
|
# the absolute path to the downloaded archive. Example:
|
||||||
|
#
|
||||||
|
# JAVA_ARCHIVE=/home/ivan/Downloads/jdk-8u131-linux-x64.tar.gz
|
||||||
|
#
|
||||||
|
#JAVA_ARCHIVE=/absolute/path/to/java.archive.tar.gz
|
||||||
|
JAVA_ARCHIVE=/home/ivan/Downloads/jdk-9.0.1_linux-x64_bin.tar.gz
|
@ -14,14 +14,14 @@
|
|||||||
# JAVA_ARCHIVE=/home/ivan/Downloads/jdk-8u102-linux-x64.tar.gz
|
# JAVA_ARCHIVE=/home/ivan/Downloads/jdk-8u102-linux-x64.tar.gz
|
||||||
#
|
#
|
||||||
# 3) Run this script. Note that the script will fail with error message if the
|
# 3) Run this script. Note that the script will fail with error message if the
|
||||||
# 'JAVA_ARCHIVE' property is not set or if it points to invalid file.
|
# JAVA_ARCHIVE property is not set or if it points to invalid file.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
. ../../common.sh
|
. ../../common.sh
|
||||||
|
|
||||||
# Read the 'JAVA_ARCHIVE' property from '.config'
|
# Read the 'JAVA_ARCHIVE' property from '.config'
|
||||||
JAVA_ARCHIVE="$(grep -i ^JAVA_ARCHIVE $MAIN_SRC_DIR/.config | cut -f2 -d'=')"
|
JAVA_ARCHIVE=`read_property JAVA_ARCHIVE`
|
||||||
|
|
||||||
if [ "$JAVA_ARCHIVE" = "" ] ; then
|
if [ "$JAVA_ARCHIVE" = "" ] ; then
|
||||||
echo "ERROR: configuration property 'JAVA_ARCHIVE' is not set."
|
echo "ERROR: configuration property 'JAVA_ARCHIVE' is not set."
|
||||||
|
2
src/minimal_overlay/bundles/java/bundle_deps
Normal file
2
src/minimal_overlay/bundles/java/bundle_deps
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
glibc_full
|
||||||
|
zlib
|
Loading…
x
Reference in New Issue
Block a user