Author Topic: What is required for IPK to be installed on CF/SD  (Read 3795 times)

rafm

  • Full Member
  • ***
  • Posts: 145
    • View Profile
What is required for IPK to be installed on CF/SD
« 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?
SL-C1000 w/ Cacko ROM 1.23

technojunkie

  • Full Member
  • ***
  • Posts: 172
    • View Profile
What is required for IPK to be installed on CF/SD
« Reply #1 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
« Last Edit: November 17, 2004, 09:47:47 am by technojunkie »
SL 5500 Cacko 3.10 ROM 64-0, Symbol Wifi
storage on 256MB Lexar High Speed SD card
64MB/32MB CF cards for removable storage.
---------------------------------------------------------
Doing my part to keep the 5500 platform alive

rafm

  • Full Member
  • ***
  • Posts: 145
    • View Profile
What is required for IPK to be installed on CF/SD
« Reply #2 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>
SL-C1000 w/ Cacko ROM 1.23

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
What is required for IPK to be installed on CF/SD
« Reply #3 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?

rafm

  • Full Member
  • ***
  • Posts: 145
    • View Profile
What is required for IPK to be installed on CF/SD
« Reply #4 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?
SL-C1000 w/ Cacko ROM 1.23

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
What is required for IPK to be installed on CF/SD
« Reply #5 on: November 21, 2004, 12:21:00 pm »
OZ can install anywhere you choose, and with any directory structure.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva