base jigsaw system module library dir
Mark Reinhold
mr at sun.com
Mon Oct 26 14:47:26 PDT 2009
> Date: Mon, 26 Oct 2009 21:03:48 +0100
> From: dalibor.topic at sun.com
> I'm trying to clean up an annoying little thing in the generated
> packages - the modules are installed into
>
> /usr/local/jigsaw/lib/modules/%jigsaw-library
(I think you actually mean just /usr/local/jigsaw/lib/modules.
%jigsaw-library just a tiny version-identification file.)
> which isn't owned by any package, and therefore needs to be
> checked (and created) by preinst scripts. I could avoid preinst scripts
> entirely if the system module library was provided by another package,
> for example jdk.jigsaw-common, that my generated packages could
> depend on. That would additionally remove the issue of dpkg
> trying to remove /usr/lib/java (and failing, as it's not empty) on
> module package removal.
>
> The jdk.jigsaw-common should own a single file,
> /usr/local/jigsaw/lib/modules/%jigsaw-library
>
> OK?
A whole package just for that?
I suggest instead making the jdk.boot module/package own it.
- Mark
More information about the jigsaw-dev
mailing list