From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Sat, 18 Apr 2020 14:21:28 +0200 Subject: [Buildroot] [PATCH 3/4] package/openjdk: copy all directories and files when installing In-Reply-To: <20200417232922.3762195-3-aduskett@gmail.com> References: <20200417232922.3762195-1-aduskett@gmail.com> <20200417232922.3762195-3-aduskett@gmail.com> Message-ID: <20200418122128.GP5853@scaer> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Adam, All, On 2020-04-17 16:29 -0700, aduskett at gmail.com spake thusly: > From: Adam Duskett > > Several directories and files are currently not installed during the > target installation, these include: > - conf > Several configuration files, including security configuration files which > may be necessary for running various java applications. > > - legal > This directory contains legal notices that some java applications may > require. At runtime, really? > - release > This directory contains a list of modules included in the image. > > Because these directories take up less than of megabyte extra, it is not an > issue to install all of them. > > Signed-off-by: Adam Duskett Reviewed-by: Yann E. MORIN Regards, Yann E. MORIN. > --- > package/openjdk/openjdk.mk | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/package/openjdk/openjdk.mk b/package/openjdk/openjdk.mk > index d540b65edc..19e71e98b2 100644 > --- a/package/openjdk/openjdk.mk > +++ b/package/openjdk/openjdk.mk > @@ -124,9 +124,7 @@ endef > # which makes manual installation necessary. > define OPENJDK_INSTALL_TARGET_CMDS > mkdir -p $(TARGET_DIR)/$(OPENJDK_INSTALL_BASE) > - cp -dpfr $(@D)/build/linux-*-release/images/jre/bin/ \ > - $(TARGET_DIR)/$(OPENJDK_INSTALL_BASE) > - cp -dpfr $(@D)/build/linux-*-release/images/jre/lib/ \ > + cp -dpfr $(@D)/build/linux-*-release/images/jre/* \ > $(TARGET_DIR)/$(OPENJDK_INSTALL_BASE) > cd $(TARGET_DIR)/usr/bin && ln -snf ../../$(OPENJDK_INSTALL_BASE)/bin/* . > endef > -- > 2.25.2 > > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'