Bug 20093 - pack-custom не работает
Summary: pack-custom не работает
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: mkimage (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 23:43 MSD by Nick S. Grechukh
Modified: 2009-05-20 15:08 MSD (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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