Skip to content
Snippets Groups Projects
  • Nadav Har'El's avatar
    7f5d1d0f
    modules: Move more files to modules/{java,mgmt}/usr.manifest · 7f5d1d0f
    Nadav Har'El authored
    
    After the creation of the "java" and "mgmt" modules, we still left with a
    bunch of files in the main usr.manifest.skel which really belong in the
    modules/{java,mgmt}/usr.manifest.
    
    This patch moves various shared libraries and fonts which Java needs
    (the fonts are needed for AWT, including headless AWT), as well as
    various JNI shared objects and our java.so and runjava.jar, into the
    "java" module, and moves a couple of tools (ifconfig, lsroute) and
    configuration file (/etc/inputrc used by the management module into
    the "mgmt" module.
    
    This reduces small OSv appliances, like "make image=memcached", which
    don't need Java, by 13 MB. We are still left with 69 MB, most of which
    are tests, so the next item on the todo is to move the tests into a
    "test" module.
    
    Signed-off-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
    Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
    7f5d1d0f
    History
    modules: Move more files to modules/{java,mgmt}/usr.manifest
    Nadav Har'El authored
    
    After the creation of the "java" and "mgmt" modules, we still left with a
    bunch of files in the main usr.manifest.skel which really belong in the
    modules/{java,mgmt}/usr.manifest.
    
    This patch moves various shared libraries and fonts which Java needs
    (the fonts are needed for AWT, including headless AWT), as well as
    various JNI shared objects and our java.so and runjava.jar, into the
    "java" module, and moves a couple of tools (ifconfig, lsroute) and
    configuration file (/etc/inputrc used by the management module into
    the "mgmt" module.
    
    This reduces small OSv appliances, like "make image=memcached", which
    don't need Java, by 13 MB. We are still left with 69 MB, most of which
    are tests, so the next item on the todo is to move the tests into a
    "test" module.
    
    Signed-off-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
    Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>