Skip to contentSkip to conversation

faulty dev-batman-adv.ipk

B.A.T.M.A.N. Bastian Bittorf 3 participants 5 messages Mar 13, 2008 – Mar 20, 2008

lore
Share & tools
lore
#0 lore raw

The data.tar.gz in the archive is
not build correct. All file-paths must be relative, not absolute:

./usr/sbin/batmand-adv (at the moment) usr/sbin/batmand-adv (correct)

At the first look that doesn't seem to be a problem, but the packet-manager does not accept that. The files are on the box, but the manager thinks "not fully installed" and an "ipkg files batman-adv" leads to zero output.

Thanks in advance for fixing that 8-)

bye, Bastian Bittorf

#1 lore raw
Quoted 6 lines · Bastian Bittorf

The data.tar.gz in the archive is
not build correct. All file-paths must
be relative, not absolute:

./usr/sbin/batmand-adv (at the moment)
usr/sbin/batmand-adv (correct)

with or without leading "./" - its always the same _relative_ path, i think...

root@tetzlav-uplink:~# touch test-without
root@tetzlav-uplink:~# touch ./test-with
root@tetzlav-uplink:~# ls -l test*
-rw-r--r--    1 root     root            0 Mar 13 15:16 test-with
-rw-r--r--    1 root     root            0 Mar 13 15:16 test-without

Regards
tetzlav

#2 lore raw

Hi,

Quoted 2 lines

with or without leading "./" - its always the same _relative_ path, i think...

I agree.

Quoted 1 line

The files are on the box, but the manager thinks "not fully installed"

Why do you think so ?

Quoted 1 line

and an "ipkg files batman-adv" leads to zero output.

As far as I remember, the ipkg command is pretty dumb. It does not parse packets but only the packet database which can be updated with "ipkg update". But these packages are not included in a repos - it is just a plain install. So, the ipkg command can't help you here or am I mistaken ?

Greetings,
Marek

#3 lore raw
Quoted 1 line

So, the ipkg command can't help you here or am I mistaken ?

Sorry, the mistake was made by myself. I debugged the whole morning and found out, that our repo-build-system was corrupted. Its working again and your .ipk's are fine...

a big sorry again - bye, Bastian.

("Asche auf mein Haupt")

#4 lore raw
In reply to Bastian Bittorf

After some days, I found again some strange things with the provided *.ipk.

On freifunk (v1.6.28) it is impossible to install the package from a (our) repository. ("couldnt find file xy")

I have found out, that is works when the keyword "Filenname: xy" ist removed from the control-file.

"ipkg status batmand-adv"

reports an clean install, but

"ipkg files batmand-adv"

reports no filelist...but its is working. Maybe the pakagebuilder should also include the "depends: kmod-tun"-statement in the control-file.

Thanks and sorry for these "nerv-mails"

bye, Bastian.