wok-next diff open-iscsi/receipt @ rev 14882
python-socketpool, python-restkit, python-http-parser, python-couchdbkit: we need a meaningfull TARBALL to store sources on mirror
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 24 15:51:20 2013 +0000 (2013-07-24) |
parents | 44b5e07e53a8 |
children | eef0d38293b3 |
line diff
1.1 --- a/open-iscsi/receipt Fri Mar 11 14:52:45 2011 +0100 1.2 +++ b/open-iscsi/receipt Wed Jul 24 15:51:20 2013 +0000 1.3 @@ -29,3 +29,10 @@ 1.4 cp -a $_pkg/sbin $fs 1.5 } 1.6 1.7 +post_install() 1.8 +{ 1.9 + echo "Processing post-install commands..." 1.10 + if [ ! -f $1/etc/iscsi/initiatorname.iscsi ]; then 1.11 + echo "InitiatorName=$($1/sbin/iscsi-iname)" > $1/etc/iscsi/initiatorname.iscsi 1.12 + fi 1.13 +}