OpenWrt Forum Archive

Topic: how to make my own package repository?

The content of this topic has been archived on 25 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hey,
I have compiled some packages with the WR SDK. These are on a friend's webserver. I want to use them with ipkg as my own repository.
I have already added the src to /etc/ipkg.conf
but when I make 'ipkg update' it fails to update, because there is no 'Packages'-file in the directory.
the 'packages' file is not created by the SDK when building the packages.
Is there a way to create the packages-filelist automatically?

Yes, the Packages and Packages.filelist is not created automatically. You have to create both of them manually with:

staging_dir_mipsel/usr/bin/ipkg-make-index bin/packages/ > bin/packages/Packages
staging_dir_mipsel/usr/bin/ipkg-make-index -l bin/packages/Packages.filelist -p bin/packages/Packages bin/packages/ > bin/packages/Packages
rm bin/packages/Packages.gz

This works for me.

Thanks you forum2006, :-)
this is exactly what I needed!
bye

(Last edited by openwrt on 4 May 2007, 13:41)

The discussion might have continued from here.