Jump to content


Photo

pli oe-core request


  • Please log in to reply
9 replies to this topic

#1 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 21 May 2012 - 19:42

Hi can you add to openpli.conf

PACKAGE_EXTRA_ARCHS = "mipsel ${TUNE_PKGARCH}"

and under recipes-devtools\opkg

opkg-config-base_1.0.bbappend

PR .= "-openpli1"

this add mipsel arch to the image

Re: pli oe-core request #2 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 21 May 2012 - 19:52

1. mipsel should be at the very back (lowest prio)
2. PACKAGE_EXTRA_ARCHS affects distro-feed-configs as well, so opkg will start complaining about download failures (unless we create a mipsel feed on the server...)

Perhaps we should just drop the mipsel arch, it would only be for old binary-ipk's, perhaps a good moment to consider to get rid of those?

Re: pli oe-core request #3 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 21 May 2012 - 19:55

its for many ipks and plugins in the wild how use the mipsel arch in controll file, and this ipks cannot install anymore for normal users via the gui

Edited by babsy98, 21 May 2012 - 19:59.


Re: pli oe-core request #4 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 21 May 2012 - 20:11

thanks for the implementation :)

Re: pli oe-core request #5 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 21 May 2012 - 20:15

I'll just let the build run, and then we see what needs fixing (empty Packages.gz in mipsel feed for instance)

Re: pli oe-core request #6 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 21 May 2012 - 20:28

in my build only arch.conf was changes

arch all 1
arch any 6
arch noarch 11
arch mipsel 16
arch mips32el 21
arch dm7020hd 26


i dont have empty Packages.gz files

Re: pli oe-core request #7 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 21 May 2012 - 20:38

if you rebuild distro-feed-configs as well, /etc/opkg/mipsel-feed.opkg will probably be added, and opkg will complain about an invalid feed url.

Re: pli oe-core request #8 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 21 May 2012 - 21:13

yes i see

or we use

PACKAGE_ARCHS = "all any noarch mipsel ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"

to overrite the bitbake.conf settings

Re: pli oe-core request #9 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 21 May 2012 - 21:48

but even PACKAGE_ARCHS is used in a lot of bbclasses, so packages might still draw the wrong conclusions.

I'm not sure what the best workaround is. Perhaps just patch opkg-config-base

Re: pli oe-core request #10 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 21 May 2012 - 22:30

arch all 1
arch any 6
arch noarch 11
arch mips32el 16
arch et9x00 21
arch mipsel 26


yes its works thanks


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users