diff options
-rw-r--r-- | recipes-core/openjdk/openjdk-6-common.inc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/recipes-core/openjdk/openjdk-6-common.inc b/recipes-core/openjdk/openjdk-6-common.inc index ef1c41d..257fe56 100644 --- a/recipes-core/openjdk/openjdk-6-common.inc +++ b/recipes-core/openjdk/openjdk-6-common.inc | |||
@@ -10,7 +10,7 @@ ICEDTEA = "NEEDS TO BE SET" | |||
10 | S = "${WORKDIR}/${ICEDTEA}" | 10 | S = "${WORKDIR}/${ICEDTEA}" |
11 | B = "${S}/build" | 11 | B = "${S}/build" |
12 | 12 | ||
13 | INC_PR = "r11" | 13 | INC_PR = "r12" |
14 | 14 | ||
15 | SRC_URI = "\ | 15 | SRC_URI = "\ |
16 | ${ICEDTEA_URI} \ | 16 | ${ICEDTEA_URI} \ |
@@ -426,7 +426,14 @@ RPROVIDES_${JDKPN}-vm-shark = "java2-vm" | |||
426 | RPROVIDES_${JDKPN}-vm-zero = "java2-vm" | 426 | RPROVIDES_${JDKPN}-vm-zero = "java2-vm" |
427 | RPROVIDES_${JDKPN}-vm-cacao = "java2-vm" | 427 | RPROVIDES_${JDKPN}-vm-cacao = "java2-vm" |
428 | 428 | ||
429 | RDEPENDS_${JDKPN}-java = "java2-vm" | 429 | # Even though a vm is a hard dependency it is set as RRECOMMENDS so a single vm can get uninstalled: |
430 | # root@beaglebone:~/java# opkg remove openjdk-6-vm-shark | ||
431 | # No packages removed. | ||
432 | # Collected errors: | ||
433 | # * print_dependents_warning: Package openjdk-6-vm-shark is depended upon by packages: | ||
434 | # * print_dependents_warning: openjdk-6-java | ||
435 | # * print_dependents_warning: These might cease to work if package openjdk-6-vm-shark is removed. | ||
436 | RRECOMMENDS_${JDKPN}-java = "java2-vm" | ||
430 | 437 | ||
431 | # For some reason shark and cacao do not automatically depends on -common. | 438 | # For some reason shark and cacao do not automatically depends on -common. |
432 | # So we add that manually. | 439 | # So we add that manually. |