Bug 20093 - pack-custom не работает
: pack-custom не работает
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/mkimage)
: unstable
: all Linux
: P3 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2009-05-18 23:43 by
Modified: 2009-05-20 15:08 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-05-18 23:43:27
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