sys-block/open-iscsi: prevent endless changes of /etc/iscsi/initiatorname.iscsi.
authorRobin H. Johnson <robbat2@gentoo.org>
Sun, 18 Jun 2017 03:28:05 +0000 (20:28 -0700)
committerRobin H. Johnson <robbat2@gentoo.org>
Sun, 18 Jun 2017 03:32:12 +0000 (20:32 -0700)
commit909dc831cc060ea52824596cf8ce32b418600c6f
tree5d1018525154c670ca0f9fc77e29b78c873e496f
parentc7a13c359ac5a60881c2f45e4a2e544f8a477841
sys-block/open-iscsi: prevent endless changes of /etc/iscsi/initiatorname.iscsi.

Upstream now generates /etc/iscsi/initiatorname.iscsi during the install
phase, but it is NOT deterministic. The content of the file should be
generated ONCE and kept over upgrades & reinstalls.

The upstream Makefile assumes that DESTDIR is the rootfs, and generates
/etc/iscsi/initiatorname.iscsi anytime it does not exist.

Build /etc/iscsi/initiatorname.iscsi ourselves, as we used to do in
older versions.

Fixes: https://bugs.gentoo.org/show_bug.cgi?id=601514
Gentoo-Bug: 601514
Package-Manager: portage-2.3.6
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
sys-block/open-iscsi/open-iscsi-2.0.874-r1.ebuild [new file with mode: 0644]