[Engine-devel] [Users] Migrating engine-setup to otopi

Jiri Belka jbelka at redhat.com
Thu Mar 14 12:46:44 UTC 2013


On Thu, 14 Mar 2013 08:08:52 -0400 (EDT)
Alon Bar-Lev <alonbl at redhat.com> wrote:
> 
> Working on this[1] for some time, until I realized we need to rewrite the whole packaging...
> 
> I will update you when I have something working.
> The gentoo wiki instruction should simply go aware, as it is manual installation.
> 
> [1] https://github.com/alonbl/ovirt-overlay

Please remove absolute symlinks too, it's totally stupid. Some
packaging tools scream a lot about symlinks pointing outside of fake
root during packaging.

I had to do stupid kung-fu for my WIP OpenBSD port[1] :D

# make symlinks relative
cd ${WRKDIST}/usr/local && \
for link in `find . -type l`; do \
	dest=`stat -f %Y $${link}`; \
	depth=`dirname $${link} | \
		perl -p -e 's|^./||;s|[^/]+|..|g;'`; \
	newdest=`echo $${dest} | \
		perl -pe "s#/usr/local#$${depth}#;"`; \
	ln -sf $${newdest} $${link}; \
done

[1]
https://github.com/jirib/openbsd-mystuff/blob/master/sysutils/ovirt/engine/Makefile



More information about the Engine-devel mailing list