* Setting architecture of only DEB files (arm vs armel)
@ 2012-06-15 0:17 Tyler Jones
2012-06-15 6:18 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Tyler Jones @ 2012-06-15 0:17 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 480 bytes --]
I am compiling a distro for my hardware using DEBs for my package
management. In meta/classes/package_deb.bbclass I need DPKG_ARCH = "armel"
instead of TARGET_ARCH (which is "arm"). When I run dpkg on my device armel
is the architecture, not arm, but yocto wants my TARGET_ARCH to be set to
"arm". Is there a non hackish way to do this from my BSP layer or config
file?
The dpkg error I get is:
package architecture (arm) does not match system (armel)
-Tyler Jones
[-- Attachment #2: Type: text/html, Size: 568 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Setting architecture of only DEB files (arm vs armel)
2012-06-15 0:17 Setting architecture of only DEB files (arm vs armel) Tyler Jones
@ 2012-06-15 6:18 ` Khem Raj
2012-06-16 1:18 ` Tyler Jones
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2012-06-15 6:18 UTC (permalink / raw)
To: yocto
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6/14/2012 5:17 PM, Tyler Jones wrote:
> I am compiling a distro for my hardware using DEBs for my package
> management. In meta/classes/package_deb.bbclass I need DPKG_ARCH =
> "armel" instead of TARGET_ARCH (which is "arm"). When I run dpkg on
> my device armel is the architecture, not arm, but yocto wants my
> TARGET_ARCH to be set to "arm". Is there a non hackish way to do
> this from my BSP layer or config file?
>
> The dpkg error I get is: package architecture (arm) does not match
> system (armel)
>
set DPKG_ARCH = "armel" in your local.conf
> -Tyler Jones
>
>
>
>
> _______________________________________________ yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk/a06sACgkQuwUzVZGdMxRBvgCeJAinKceaUDI8gQHPbvzGiOSt
tuQAnRDOpYZvovXfg6UHji6it4YehqvR
=7G4e
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Setting architecture of only DEB files (arm vs armel)
2012-06-15 6:18 ` Khem Raj
@ 2012-06-16 1:18 ` Tyler Jones
0 siblings, 0 replies; 3+ messages in thread
From: Tyler Jones @ 2012-06-16 1:18 UTC (permalink / raw)
To: Khem Raj; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 1904 bytes --]
On 14 June 2012 23:18, Khem Raj <raj.khem@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 6/14/2012 5:17 PM, Tyler Jones wrote:
> > I am compiling a distro for my hardware using DEBs for my package
> > management. In meta/classes/package_deb.bbclass I need DPKG_ARCH =
> > "armel" instead of TARGET_ARCH (which is "arm"). When I run dpkg on
> > my device armel is the architecture, not arm, but yocto wants my
> > TARGET_ARCH to be set to "arm". Is there a non hackish way to do
> > this from my BSP layer or config file?
> >
> > The dpkg error I get is: package architecture (arm) does not match
> > system (armel)
> >
>
> set DPKG_ARCH = "armel" in your local.conf
>
> > -Tyler Jones
> >
> >
> >
> >
> > _______________________________________________ yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/a06sACgkQuwUzVZGdMxRBvgCeJAinKceaUDI8gQHPbvzGiOSt
> tuQAnRDOpYZvovXfg6UHji6it4YehqvR
> =7G4e
> -----END PGP SIGNATURE-----
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
That didn't seem to work I also tried editing in the top of the
meta/classes/package_deb.bbclass setting
DPKG_ARCH = "armel"
But that did not work either.
When I change:
@@ -249,6 +249,7 @@ python do_package_deb () {
localdata.setVar('OVERRIDES', pkg)
bb.data.update_data(localdata)
+ localdata.setVar('DPKG_ARCH', 'armel')
basedir = os.path.join(os.path.dirname(root))
pkgoutdir = os.path.join(outdir, localdata.getVar('PACKAGE_ARCH',
True))
the packages are created properly.
-Tyler Jones
[-- Attachment #2: Type: text/html, Size: 2946 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-16 1:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-15 0:17 Setting architecture of only DEB files (arm vs armel) Tyler Jones
2012-06-15 6:18 ` Khem Raj
2012-06-16 1:18 ` Tyler Jones
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.