diff options
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20130103/4113855d')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20130103/4113855d/attachment-0001.html | 13 | ||||
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20130103/4113855d/attachment.html | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20130103/4113855d/attachment-0001.html b/zarb-ml/mageia-dev/attachments/20130103/4113855d/attachment-0001.html new file mode 100644 index 000000000..595a167af --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130103/4113855d/attachment-0001.html @@ -0,0 +1,13 @@ +<div><div>Hi,</div><div><br></div><div>I'm having a strange problem with warsow's package. To fix bug #8103 I need to symlink the game data contents from warsow-data into the same directory were the game libraries are located. The problem is that when I build the package in my local cauldron installation, the symlinks are correctly created, but when it's built by the BS they end up broken. I have tried two ways to create the symlinks, both work fine on my machine but not on the BS:</div> + +<div><br></div><div>ln -sf %{_datadir}/%{name}/basewsw/* %{buildroot}%{gamelibdir}/basewsw</div><div><br></div><div>or:</div><div><br></div><div><div>for i in %{_datadir}/%{name}/basewsw/*;</div><div>do</div><div> file=`basename $i`</div> + +<div> ln -sf $i %{buildroot}%{gamelibdir}/basewsw/$file</div><div>done</div></div><div><br></div><div>With any of those two ways in my machine the symlinks are correctly created:</div><div><br></div><div>[root@cauldron-laptop cauldron]# ll /usr/lib64/games/warsow/basewsw/</div> + +<div>total 28</div><div>lrwxrwxrwx 1 root root 47 Jan 3 16:42 configs -> ../../../../../usr/share/warsow/basewsw/configs/</div><div>lrwxrwxrwx 1 root root 52 Jan 3 16:42 data0_10.pk3 -> ../../../../../usr/share/warsow/basewsw/data0_10.pk3</div> + +<div>lrwxrwxrwx 1 root root 56 Jan 3 16:42 data0_10pure.pk3 -> ../../../../../usr/share/warsow/basewsw/data0_10pure.pk3</div><div>lrwxrwxrwx 1 root root 52 Jan 3 16:42 data1_10.pk3 -> ../../../../../usr/share/warsow/basewsw/data1_10.pk3</div> + +</div><div>[...]</div><div><br></div><div>But on the BS this is the result:</div><div><br></div><div>[root@localhost juancho]# ls -l /usr/lib64/games/warsow/basewsw/</div><div>total 0</div><div>lrwxrwxrwx 1 root root 41 Jan 3 11:13 * -> ../../../../../usr/share/warsow/basewsw/*</div> + +<div><br></div><div>A broken link to '*'. What can be causing this ?</div><br clear="all"><div>Thanks.</div><div><br></div>-- <br>Juancho diff --git a/zarb-ml/mageia-dev/attachments/20130103/4113855d/attachment.html b/zarb-ml/mageia-dev/attachments/20130103/4113855d/attachment.html new file mode 100644 index 000000000..595a167af --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130103/4113855d/attachment.html @@ -0,0 +1,13 @@ +<div><div>Hi,</div><div><br></div><div>I'm having a strange problem with warsow's package. To fix bug #8103 I need to symlink the game data contents from warsow-data into the same directory were the game libraries are located. The problem is that when I build the package in my local cauldron installation, the symlinks are correctly created, but when it's built by the BS they end up broken. I have tried two ways to create the symlinks, both work fine on my machine but not on the BS:</div> + +<div><br></div><div>ln -sf %{_datadir}/%{name}/basewsw/* %{buildroot}%{gamelibdir}/basewsw</div><div><br></div><div>or:</div><div><br></div><div><div>for i in %{_datadir}/%{name}/basewsw/*;</div><div>do</div><div> file=`basename $i`</div> + +<div> ln -sf $i %{buildroot}%{gamelibdir}/basewsw/$file</div><div>done</div></div><div><br></div><div>With any of those two ways in my machine the symlinks are correctly created:</div><div><br></div><div>[root@cauldron-laptop cauldron]# ll /usr/lib64/games/warsow/basewsw/</div> + +<div>total 28</div><div>lrwxrwxrwx 1 root root 47 Jan 3 16:42 configs -> ../../../../../usr/share/warsow/basewsw/configs/</div><div>lrwxrwxrwx 1 root root 52 Jan 3 16:42 data0_10.pk3 -> ../../../../../usr/share/warsow/basewsw/data0_10.pk3</div> + +<div>lrwxrwxrwx 1 root root 56 Jan 3 16:42 data0_10pure.pk3 -> ../../../../../usr/share/warsow/basewsw/data0_10pure.pk3</div><div>lrwxrwxrwx 1 root root 52 Jan 3 16:42 data1_10.pk3 -> ../../../../../usr/share/warsow/basewsw/data1_10.pk3</div> + +</div><div>[...]</div><div><br></div><div>But on the BS this is the result:</div><div><br></div><div>[root@localhost juancho]# ls -l /usr/lib64/games/warsow/basewsw/</div><div>total 0</div><div>lrwxrwxrwx 1 root root 41 Jan 3 11:13 * -> ../../../../../usr/share/warsow/basewsw/*</div> + +<div><br></div><div>A broken link to '*'. What can be causing this ?</div><br clear="all"><div>Thanks.</div><div><br></div>-- <br>Juancho |