Hi there,
I've done an update to pkgmk to add symbolic error codes (fairly coarse
for now), and to optionally ignore footprint missmatches if no files are
missing (also see bug #221 for more information on this).
I've prepared an updated pkgutils port; you can get it via
httpup sync http://jw.smts.ch/files/crux/ports#pkgutils pkgutils
To make prt-get use that new feature, edit /etc/prt-get.conf and add the
following line:
makecommand pkgmk -in
Note that it is recommended to avoid using --ignore-new/-in during
packaging, since footprint missmatches should always be looked at in
this phase.
Please let me know if you have comments or feedback!
Cheers, Johannes
--
Johannes Winkelmann mailto:jw@smts.ch
Zurich, Switzerland http://jw.smts.ch
I've written yet another "clean environment" script for CRUX called
clean-build[1]. It is unique in that it uses union filesystems to keep
core intact while testing ports, or use core in multiple envorinments
simultaneously. It requires unionfs-fuse[2] to run, this will change
when/if the kernel based unionfs is merged.
It's mostly undocumented and there's probably one or two "undocumented
features", but is in a useable state.
I'm currently looking for people interested in such a tool to help
test it further.
How it should work:
$ clean-build initcore
$ clean-build installcore
[ make required changes in core directory, eg: edit config files]
$ clean-build startenv
$ chroot union
[ do stuff in clean environment ]
$ clean-build stopenv
As I said, there's probably a few bugs so YMMV.
At the moment it is only possible to use one overlay, but future
versions will let you stack directories on top of each other. So for
example you could build xorg in an overlay then be able to reuse it
for other environments.
[1] http://git.die.net.au/cgit/crux/tools/cleanbuild
[2] http://podgorny.cz/moin/UnionFsFuse
--
Lucas Hazel <lucas(a)die.net.au>