OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: rafm on November 17, 2004, 04:40:12 am

Title: What is required for IPK to be installed on CF/SD
Post by: rafm on November 17, 2004, 04:40:12 am
Some IPKs can be installed only in internal storage and installation on CF/SD card fails. Does anybody know what is required for an application to be installed on CS/SD card?

As posted on the other topic (https://www.oesf.org/forums/index.php?showtopic=7873&st=0&#entry52440), the application should not contain any symbolic links, since they cannot be created on the file system used on CF/SD cards. But what are the other requirements?
Title: What is required for IPK to be installed on CF/SD
Post by: technojunkie on November 17, 2004, 09:43:28 am
Without knowing what rom you use, I'll try to give you a general rundown. As OZ has a decent package manager that  installs / links to CF or SD.

1. your card needs to be formatted in ext2 to allow symlinking
2.  if you use SD make sure it is a known supported brand. ( a lot of cards that appear to work choke up when they suspend while in use, which is what will happen when you have apps installed to the card.
3. If you can, install ipkg-link (when you install use the terminal run it) Otherwise you'll need to symlink the app by hand(sorry I don't know any more about that)

I haven't tried ipkg-link on anything but OZ so I don't know if it will run on anything else
Title: What is required for IPK to be installed on CF/SD
Post by: rafm on November 18, 2004, 05:09:10 am
I cannot install a package on SD/CF under Sharp ROM 3.10.  But I would like to fix that package, so they can be installed on a card under any version of the OS. I checked that symlinks are not the problem, because the package does not contain any. But still, the qinstall says that the package (https://www.oesf.org/forums/index.php?act=Attach&type=post&id=52156) can be installed only in internal memory.  

I am looking for is a checklist what should be done to ensure that the package is installable on a CF/SD card. For example, what tool should I use to create ipk packages?

BTW, what command line does qinstall use to install packages on CF/SD card? ipkg -d <what?> install <file_name.ipk>
Title: What is required for IPK to be installed on CF/SD
Post by: TimW on November 18, 2004, 06:16:24 am
I have a very vague memory that qinstall doesn't like it if you try to install anything outside of the /opt/Qtopia directory tree.  Any chance your problems may be to do with that?
Title: What is required for IPK to be installed on CF/SD
Post by: rafm on November 21, 2004, 12:09:12 pm
Quote
I have a very vague memory that qinstall doesn't like it if you try to install anything outside of the /opt/Qtopia directory tree.  Any chance your problems may be to do with that?
Yes, this was almost the reason in my case. Actually "zbedic" could not be installed on SD/CF because the files were in /opt/Qtopia, instead of /opt/QtPalmtop/. I had to modify mkipks script from Qtopia 1.7 so that it put all files in /opt/QtPalmtop/.

At least for Sharp ROM 3.10 all files must be in /opt/QtPalmtop/ if the application is to be installed on a SD/CF card. Is it the same for other ROMs?
Title: What is required for IPK to be installed on CF/SD
Post by: lardman on November 21, 2004, 12:21:00 pm
OZ can install anywhere you choose, and with any directory structure.


Si