Author Topic: ipkg-link doesn't obey /etc/ipkg.conf dest entries  (Read 8641 times)

donotresus

  • Newbie
  • *
  • Posts: 8
    • View Profile
ipkg-link doesn't obey /etc/ipkg.conf dest entries
« Reply #15 on: October 27, 2004, 07:43:20 pm »
I shall try formatting my card to ext2, thanks alot if it works, if it doesn't thanks anyways

carpman

  • Newbie
  • *
  • Posts: 14
    • View Profile
ipkg-link doesn't obey /etc/ipkg.conf dest entries
« Reply #16 on: October 27, 2004, 07:55:28 pm »
Yes, formating any sd or cf card to ext2 will allow you to link to it. You can also split the card and have a fat and ext2 partition. This is useful if you want to use usb-storage and have a windows machine read the SD card, or use the sd card in a camera as well.

Bundabrg

  • Full Member
  • ***
  • Posts: 183
    • View Profile
ipkg-link doesn't obey /etc/ipkg.conf dest entries
« Reply #17 on: October 28, 2004, 07:23:47 am »
Yeah, copy everything off the CF, and do the following:

Code: [Select]
umount /mnt/card
mkfs.ext2 /mnt/card
mount /mnt/card

Now things should be ok. However you won't be able to use this card in a windows box or camera etc... now (Though you can of course reformat it on these).

 - Bundabrg
[img]http://www.worldguard.com.au/brendan-ambi.png\" border=\"0\" class=\"linked-sig-image\" /]

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
ipkg-link doesn't obey /etc/ipkg.conf dest entries
« Reply #18 on: October 28, 2004, 11:01:04 am »
Shameless self-promotion: for multiple partitions on a card, see my How-to.

z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

systemparadox

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • http://www.systemparadox.co.uk
ipkg-link doesn't obey /etc/ipkg.conf dest entries
« Reply #19 on: December 14, 2004, 07:44:47 am »
I have two partitions on my sd card. It all worked fine before, as i changed sdcontol to mount mmcda2 (the ext2 partition) automatically, not mmcda1 (the fat partition). This got annoying as I would have to change sdcontrol everytime i wanted to use a fat card.
I have tried both new versions of ipkg-link on this thread, but they both fail when trying to link packages on /mnt/ext. For some reason they are either trying to make the links on /mnt/card (which is fat) or they are trying to link files from /mnt/card, which dont actually exist. Output:
Command: add
Locating package
found package on /mnt/ext
adding glider
ln: /mnt/card/opt/QtPalmtop/bin/glider: Operation not permitted
(the above is repeated for several files in the package)

What is going on?

Thanks
Simon
My Site: The System Paradox (http://www.systemparadox.co.uk)

FOR SALE: Zaurus SL-C750: /Symbol Spectrum24 CF WiFi/Pilot Pentopia extending stylus (worth every penny)/Currently running Cacko.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
ipkg-link doesn't obey /etc/ipkg.conf dest entries
« Reply #20 on: December 14, 2004, 08:37:06 am »
Both fail with the same error?

What 'dest' lines do you have in /etc/ipkg.conf?

What is the exact command line you passed to ipkg-link?

What does 'mount' show?


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

systemparadox

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • http://www.systemparadox.co.uk
ipkg-link doesn't obey /etc/ipkg.conf dest entries
« Reply #21 on: December 14, 2004, 10:41:20 am »
I found out what it was. The lists for each package store the full path, which is a little stupid, if you change the mount point the packages won't link any more.
My Site: The System Paradox (http://www.systemparadox.co.uk)

FOR SALE: Zaurus SL-C750: /Symbol Spectrum24 CF WiFi/Pilot Pentopia extending stylus (worth every penny)/Currently running Cacko.

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
ipkg-link doesn't obey /etc/ipkg.conf dest entries
« Reply #22 on: January 05, 2005, 12:41:41 pm »
lardman, did you submit this fix to the handhelds.org people yet?
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
ipkg-link doesn't obey /etc/ipkg.conf dest entries
« Reply #23 on: January 05, 2005, 01:12:10 pm »
Yep, I submitted a bug with an explanation and a link to this thread as an example of the way of solving it.

I did this pretty much as soon as the two examples ipkg-link scripts were posted to give you an idea of time.

I suppose I should just submit the new script itself (with credit to the author of course).


Si
« Last Edit: January 05, 2005, 01:12:59 pm by lardman »
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

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
ipkg-link doesn't obey /etc/ipkg.conf dest entries
« Reply #24 on: January 05, 2005, 07:31:32 pm »
Send it also to oe@handhelds.org (or directly to me) and I'll include it in OZ for the time being.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
ipkg-link doesn't obey /etc/ipkg.conf dest entries
« Reply #25 on: January 06, 2005, 09:27:26 am »
When using this new ipkg-link script with a new directory in /home on a Z with a 2 partition flash (e.g. 5600, c-7xx) what would be the equivalent of the command:

ipkg-link mount /mnt/card

for linking multiple dependencies in /home/user?

ipkg-link add 'whatever' works great for a single app but some apps have many libs

Many thanks to everyone involved in fixing this.

Greg

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
ipkg-link doesn't obey /etc/ipkg.conf dest entries
« Reply #26 on: January 13, 2005, 01:45:22 pm »
A follow up note for 5600 owners:

I realize that my last question sounded a bit strange but using

ipkg-link mount /home/user

failed to link all the ipk dependencies in /home/user... (I don't know why?) however after a clean install on a 5600 with oz3.5.2 official using the new *ipkg-link and adding the line

dest home /home/

to the ipkg.conf and installing to /home you can use

ipkg-link mount /home

and it will find and link everything in /home

*This ipkg-link:
http://dev.worldguard.com.au/ipkg-link

This has given me the cleanest and easiest install of OZ on a 5600 in over a year. YMMV

Hope this helps someone.

Greg
« Last Edit: January 13, 2005, 01:52:14 pm by Greg2 »

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
ipkg-link doesn't obey /etc/ipkg.conf dest entries
« Reply #27 on: January 14, 2005, 05:21:14 am »
Quote
I realize that my last question sounded a bit strange but using

ipkg-link mount /home/user

failed to link all the ipk dependencies in /home/user... (I don't know why?)

Strange, it works fine for me.

'ipkg-link mount /home/user'

with 'dest user /home/user/' in /etc/ipkg.conf


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