AnsweredAssumed Answered

Error adding new packages on ltib

Question asked by Unai Gonzalez on Mar 16, 2015
Latest reply on Mar 18, 2015 by gusarambula

i want to add olsrd to the packages list, to build it in to the imx28evk using ltib.



I followed the next steps:



1. copy source in /opt/freescale/pkgs

2. create file source_name.md5

md5sum source_name > source_name.md5

3. create directory in <you_ltib_dir>dist/lfs-5.1/<you_package> and copy spec-file to it

After this you can use ltib for build package:

1. ./ltib -m prep -p package.spec

2. ./ltib -m scbuild -p package.spec

3. ./ltib -m scdeploy -p package.spec



i also added on config/userspace/packages.lkc (alphabetic order)

      config PKG_OLSRD

           bool "olsrd"

and on config/userspace/pkg_map (build order)

       PKG_OLSRD = olsrd



but, when i execute the comand:



./ltib -m prep -p olsrd.spec



this error appear:



plc@ubuntu:~/ltib$ ./ltib -m prep -p olsrd.spec



Processing: olsrd


Build path taken because: build key set, no prebuilt rpm,

Testing network connectivity




Try olsrd-current.tar.bz2.md5 from the GPP

06:25:58 ERROR 404: Not Found.

Try olsrd-current.tar.bz2 from the GPP

06:25:58 ERROR 404: Not Found.

Can't get: olsrd-current.tar.bz2 at ./ltib line 790.





f_prep() returned an error, exiting





Exiting on error or interrupt



I know that olsrd is not able at gpp, but i thought this was enought to found it on ppp or lpp, i think im missing something, but i dont know what.



Thanks for the help.