Bug 20093

Summary: pack-custom не работает
Product: Sisyphus Reporter: Nick S. Grechukh <gns>
Component: mkimageAssignee: Alexey Gladkov <legion>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: glebfm, legion, mike
Version: unstable   
Hardware: all   
OS: Linux   

Description Nick S. Grechukh 2009-05-18 23:43:27 MSD
MKI_PACK_RESULTS = $(CURDIR)/doit.sh:ve-backup.img

получаем:

+ message /home/builder/mkimage-risc/ve/ve-backup/doit.sh: executable file.
+ printf %s\n mki-pack-custom: /home/builder/mkimage-risc/ve/ve-backup/doit.sh: executable file.
mki-pack-custom: /home/builder/mkimage-risc/ve/ve-backup/doit.sh: executable file.
+ install -m755 -- /home/builder/mkimage-risc/ve/ve-backup/doit.sh /home/builder/mkimage-risc/ve/ve-backup/.work/chroot/.host/script.sh
+ cat
+ rc=0
+ mki-run /.host/packimage.sh
/.host/entry: line 10: /.host/packimage.sh: Permission denied
+ rc=1
+ rm -f -- /home/builder/mkimage-risc/ve/ve-backup/.work/chroot/.host/packimage.sh /home/builder/mkimage-risc/ve/ve-backup/.work/chroot/.host/script.sh
+ [ 1 -eq 0 ]
+ exit 1
make: *** [pack-image] Error 1

Это как бы говорит нам, что 

--- mki-pack-custom.orig        2009-05-18 23:42:13 +0400
+++ mki-pack-custom     2009-05-18 23:42:27 +0400
@@ -30,6 +30,7 @@
        export WORKDIR OUTNAME SUBDIR
        /.host/script.sh
        EOF
+       chmod +x "$chroot/.host/packimage.sh"
 else
        fatal "$type: unknown pack type."
 fi