-
Notifications
You must be signed in to change notification settings - Fork 11
add cvm kind of vm in jvm.cfg #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cvm.mk
Outdated
| echo "-server KNOWN" >> $(CVM8_LIBDIR)/jvm.cfg | ||
| echo "-client IGNORE" >> $(CVM8_LIBDIR)/jvm.cfg | ||
| echo "-server17 KNOWN" > $(OUTPUTDIR)/$(DISTRO_NAME)/jre/lib/$(ARCH_DIR)/jvm.cfg | ||
| echo "-cvm KNOWN" >> $(OUTPUTDIR)/$(DISTRO_NAME)/jre/lib/$(ARCH_DIR)/jvm.cfg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we generate $(CVM8_LIBDIR)/jvm.cfg and copy to $(OUTPUTDIR)/$(DISTRO_NAME)/jre/lib/$(ARCH_DIR)/?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
cvm.mk
Outdated
| cp -f $(SRC_BUILDDIR_17)/jdk/lib/server/libjvm.debuginfo $(CVM8_LIBDIR)/server17/libjvm.debuginfo && \ | ||
| [[ "x$$(grep server17 $(CVM8_LIBDIR)/jvm.cfg)" = "x" ]] && echo "-server17 KNOWN" >> $(CVM8_LIBDIR)/jvm.cfg && \ | ||
| [[ "x$$(grep cvm $(CVM8_LIBDIR)/jvm.cfg)" = "x" ]] && echo "-cvm KNOWN" >> $(CVM8_LIBDIR)/jvm.cfg; \ | ||
| pushd $(CVM8_LIBDIR) && rm -rf cvm && ln -sf server17 cvm && popd; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ln -sf is enough, manpage says:
NAME
ln - make links between files
......
-f, --force
remove existing destination files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
both -server17 and -cvm are supported and they indicate the same vm.
59a0693 to
85292a2
Compare
both -server17 and -cvm are supported and they indicate the same vm.