[pkg-j2se-devel] make-jpkg for Mustang?

Juergen Kreileder jk at blackdown.de
Wed Dec 21 23:59:13 UTC 2005


David Herron <David.Herron at Sun.COM> writes:

> I'm looking at whether the instructions here:
> https://wiki.ubuntu.com/JavaPackageBuildNewVersions will work for
> Mustang for ubuntu 5.10
>
> I'm wondering if anybody has looked into this already?
>
> I'm getting a lot of errors about being unable to touch /etc and
> /usr/share files.  I'm wondering if you guys already have a way to
> work around that kind of thing.  e.g. if one created a minimal root
> and chroot'd into it and then ran the fakeroot/make-jpkg that might
> fool our install script.

I haven't really looked into that yet but I think the best way to help
scripts like make-jpkg would be to allow setting an alternate install
root.

Currently both Sun's and Blackdown's installers go directly for /etc
and /usr when run by root or via fakeroot.  In the fakeroot case this
obviously causes problems because /etc and /usr aren't writable for a
normal user.

If the installer would use something like $ALT_INSTALL_ROOT/etc and
$ALT_INSTALL_ROOT/usr, make-jpkg could work around these problems by
setting ALT_INSTALL_ROOT before running the installer.


Note: we don't use make-jpkg for building Blackdown debs, we have
specialized build files.


        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://blog.blackdown.de/



More information about the pkg-j2se-devel mailing list