From: Erich T. <eri...@th...> - 2007-10-25 11:45:52
|
Hi Martin I have defined a number of links in my buildtool.cfg file, like <File> Filename = usr/lib/cups Type = link Target = data/cups/usr/lib/cups </File> after running buildpacket I get now the following in the .lrp file luna > ls -lR data data: total 0 drwxr-xr-x 4 mega users 96 2007-10-25 13:23 cups data/cups: total 0 drwxr-xr-x 4 mega users 96 2007-10-25 13:23 usr drwxr-xr-x 4 mega users 96 2007-10-25 13:23 var data/cups/usr: total 0 drwxr-xr-x 2 mega users 48 2007-10-25 13:23 lib drwxr-xr-x 2 mega users 48 2007-10-25 13:23 share data/cups/usr/lib: total 0 data/cups/usr/share: total 0 data/cups/var: total 0 drwxr-xr-x 2 mega users 48 2007-10-25 13:23 cache drwxr-xr-x 2 mega users 48 2007-10-25 13:23 spool data/cups/var/cache: total 0 data/cups/var/spool: total 0 Which suggests that the target directories get created in the .lrp file. In my case, this is not the desired behaviour, as I want to mount the target on a flash disk to not waste too much memory for simple one-shot utilities. Is there a way to avoid the creation of the target directories and just cresate the link? Also I observed that the symbolic links are created relatively, e.g. luna > ls -l usr/lib/cups lrwxrwxrwx 1 mega users 28 2007-10-25 13:36 usr/lib/cups -> ../../data/cups/usr/lib/cups even if I prepend the target with a slash, which is not a problem within LEAF, but may not be the desired behaviour. I am using buildpacket v1.40 cheers Erich |