wok diff open-iscsi/receipt @ rev 19836
Up slitaz-tools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 11 09:26:27 2017 +0100 (2017-03-11) |
parents | 9e01bc6321ea |
children | e1df1504e6cb |
line diff
1.1 --- a/open-iscsi/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/open-iscsi/receipt Sat Mar 11 09:26:27 2017 +0100 1.3 @@ -15,7 +15,6 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 sed -i 's/ install_kernel / /' Makefile 1.9 sed -i 's|dirent.h>|&\n#include <sys/types.h>\n#include <sys/stat.h>|' \ 1.10 usr/iscsi_sysfs.c 1.11 @@ -33,8 +32,7 @@ 1.12 1.13 post_install() 1.14 { 1.15 - echo "Processing post-install commands..." 1.16 if [ ! -f "$1/etc/iscsi/initiatorname.iscsi" ]; then 1.17 - echo "InitiatorName=$($1/sbin/iscsi-iname)" > "$1/etc/iscsi/initiatorname.iscsi" 1.18 + echo "InitiatorName=$($1/sbin/iscsi-iname)" > "$1/etc/iscsi/initiatorname.iscsi" 1.19 fi 1.20 }