[oe] Packaged Staging - 'Current' Status

Koen Kooi koen at dominion.kabel.utwente.nl
Fri Mar 14 21:44:37 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Koen Kooi schreef:
| Richard Purdie schreef:
| | As has been mentioned, I'm working on integrating packaged staging and
| | its about time I mentioned the current status. I say 'current' as it
| | applies to what I have offline, not what's in OE.dev. I aim to commit
| | some of it tomorrow but I also have some changes which should first be
| | discussed, more on that below.
| |
| | Basically the current status is good.
|
| There is a small problem with generating the ipkg arch file properly,
| Richard and I are thinking about a solution.

A workaround is to change the staging_helper() method to something like
this:

staging_helper () {
~        # Assemble appropriate ipkg.conf
~        conffile=${PSTAGE_MACHCONFIG}
~        mkdir -p ${DEPLOY_DIR_PSTAGE}/pstaging_lists
~        if [ ! -e $conffile ]; then
	  rm $conffile
	fi
~        ipkgarchs="${BUILD_ARCH} all any noarch ${TARGET_ARCH}
${PACKAGE_ARCHS} ${PACKAGE_EXTRA_ARCHS} ${MACHINE}"
~        priority=1
~        for arch in $ipkgarchs; do
~                echo "arch $arch $priority" >> $conffile
~                priority=$(expr $priority + 5)
~        done
}

Attentive readers will notice that ${TARGET_ARCH} doesn't always hold
the value we want.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFH2vHFMkyGM64RGpERAu0KAKCyiD1o1JGKipSrvY7Dt6BPYqovxACgkxei
KbZn4Mb+OZXJAP84Ra6Uo+s=
=UR5q
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list