OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: badog on June 04, 2005, 08:12:24 am
-
I made some ipk-packages. but when i installed them,i fonud that files in data-dir(in package) were installed in /data.
ex:
i hope data/usr/lib/XX.lib(in pcakage) to be installed in /usr/lib/XXX.lib(in zaurus /).but it do be installed in /data/usr/lib/XXX.lib(in zaurus /)
why?
-
did you use mkipkg or have you tar the files yourself?
If you make data.tar.gz yourself something like like this should work:
if you have usr/lib/something in data
cd data
tar zcvf data.tar.gz ./usr
-
i do it myself.
mkdir ipkg-tmp
cd ipkg_tmp
mkdir data
cd data
mkdir usr
cp /mnt/cf/XX /ipkg-tmp/data/usr/
....
mkipk /ipkg-tmp
if "mkdir ./usr"??
-
https://www.oesf.org/index.php?title=Pdaxro...Building_an_ipk (https://www.oesf.org/index.php?title=Pdaxrom:_Development#Building_an_ipk)
Try to read it. Use dictionary if you don't understand something. If you don't understand it after that, ask it. I think this article covers the whole ipkg making. Or at least that was my intention when I've written it.
Zumi
-
thank everyone