diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2009-08-02 01:10:14 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2009-08-02 01:10:14 +0200 |
commit | b0629253765226375fd1bf7e296ef1174cf9c620 (patch) | |
tree | 6f3ee4550e13b8954f196bcf60937f50a84b8531 /package/portmap | |
parent | 44663da45b71c66d0f7b2e5acec31c9a7de8447d (diff) | |
download | buildroot-novena-b0629253765226375fd1bf7e296ef1174cf9c620.tar.gz buildroot-novena-b0629253765226375fd1bf7e296ef1174cf9c620.zip |
lvm: fix installation to target dir
The installation to the target directory was broken for two reasons:
* Due to how the lvm2.mk file was written, for each file listed in
$(LVM2_TARGET_SBINS) and $(LVM2_TARGET_DMSETUP_SBINS), it was
reinstalling all the files listed in those variables. When a target
contains several elements, there's no need to make a loop to handle
each of the elements: the rule will get executed as many times as
they are elements in the target.
* For some odd reason, lvm2 build system installs executable with 555
and libraries with 444. Therefore, once copied to the target
directory, these executables and libraries cannot be
overwritten... for example by a later execution of Buildroot. We
fix this up by changing the permissions of the binaries and
libraries installed by lvm2 to saner values (755 and 644)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/portmap')
0 files changed, 0 insertions, 0 deletions