Hi there,
I'm having a question regarding OpenEmbedded.
I've added a MACHINEBUILD variable to get different builds based on what I set it to.
So my openpli distro config:
meta-openpli/conf/distro/openpli.conf
FEED_NAME ?= "${DISTRO_NAME}-${DISTRO_VERSION}/${MACHINEBUILD}" DISTRO_FEED_URI ?= "http://${DISTRO_HOST}/feeds/${FEED_NAME}" DISTRO_FEED_PREFIX ?= "${DISTRO_NAME}" IMAGE_NAME = "${IMAGE_BASENAME}-${DISTRO_VERSION}-${MACHINE}" # We don't need a link, but a bug in OE makes image creation fail when # the link name is empty. IMAGE_LINK_NAME = "${IMAGE_BASENAME}" CACHE ?= "${TMPDIR}/cache/${LIBC}/${MACHINEBUILD}/${MACHINE}" DEPLOY_DIR ?= "${TMPDIR}/deploy/${LIBC}" DEPLOY_DIR_IPK = "${DEPLOY_DIR}/${MACHINEBUILD}/ipk" DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINEBUILD}/${MACHINE}"
For example:
MACHINE=dm8000 MACHINEBUILD=gst151 bitbake openpli-enigma2-image
Will build a perfectly working image with gstreamer 1.5.1 for my dm8000.
The resulting image will be present in: build/tmp/deploy/images/gst151/dm8000/
The packages will be available in: build/tmp/deploy/gst151/ipk/
Now when I set MACHINEBUILD to "gstgit" It'll build a perfectly working image using the latest gstreamer master git:
MACHINE=dm8000 MACHINEBUILD=gstgit bitbake openpli-enigma2-image.
The image will be present in: build/tmp/deploy/images/gstgit/dm8000/
And the packages will be available in: build/tmp/deploy/gstgit/ipk/
However the problem is when I switch MACHINEBUILD to "gstgit", the old ipk packages in build/tmp/deploy/gst151/ipk/ will be deleted?
The image remains, but it will remove the ipk packages.
Same thing when I switch MACHINEBUILD back to "gst151", all packages will be placed in build/tmp/deploy/gst151/ipk/ but they'll be removed from: build/tmp/deploy/gstgit/ipk/
So the images remain, but it's like it moves over the ipks.
Is there a way I can stop this from happening?