config/debug/ltrace.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jun 11 21:47:19 2009 +0000 (2009-06-11)
branch1.4
changeset 1451 25d050084e98
parent 1036 06aecfa2c355
child 1437 b37804bfeba6
permissions -rw-r--r--
populate: fix installing dynamic linker 'ld.so'

The dynamic linker, ld.so, needs the execute bit to be set.
Detect tht the library being installed is in fact ld.so and
install it with 0755 instead of 0644.

Fix detecting src == dst.

Use a simpler command to copy src -> dst.

Also change echo to printf, get rid of 'echo -n', which is
highly non-portable.


-------- diffstat follows --------
/trunk/scripts/populate.in | 76 43 33 0 +++++++++++++++++++++++++++++-----------------------
1 file changed, 43 insertions(+), 33 deletions(-)
(transplanted from d7ddcb75e0f703e2ba6d17169167356389224870)
     1 # ltrace
     2 
     3 config DEBUG_ltrace
     4     select TOOL_libelf
     5     help
     6       ltrace is a program that simply runs the specified command until it exits.
     7       It intercepts and records the dynamic library calls which are called by
     8       the executed process and the signals which are received by that process.
     9       It can also intercept and print the system calls executed by the program.
    10 
    11 choice
    12     bool
    13     prompt "ltrace version"
    14 
    15 config LTRACE_V_0_4
    16     bool
    17     prompt "0.4"
    18 
    19 config LTRACE_V_0_5
    20     bool
    21     prompt "0.5"
    22 
    23 config LTRACE_V_0_5_1
    24     bool
    25     prompt "0.5.1  (EXPERIMENTAL)"
    26     depends on EXPERIMENTAL
    27 
    28 # CT_INSERT_VERSION_ABOVE
    29 # Don't remove above line!
    30 endchoice
    31 
    32 config LTRACE_VERSION
    33     string
    34     default "0.4" if LTRACE_V_0_4
    35     default "0.5" if LTRACE_V_0_5
    36     default "0.5.1" if LTRACE_V_0_5_1
    37 # CT_INSERT_VERSION_STRING_ABOVE
    38 # # Don't remove above line!