Bug 10164

Summary: RM_OLD_IMAGE = "1" doesn't remove old .vdi and .hdddirect images
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jonathan Liu <net147>
Component: deploymentAssignee: Jonathan Liu <net147>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: laurentiu.palcu, liezhi.yang
Version: 2.1   
Target Milestone: 2.2 M3   
Hardware: x86   
OS: x86   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Jonathan Liu 2016-08-19 12:21:58 UTC
Build Configuration:
BB_VERSION        = "1.31.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1+snapshot-20160818"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta
meta-poky
meta-yocto-bsp    = "master:6c24a6446a2e5310088bd13c0deaa2d2ac3484c9"


Commands to reproduce:
git clone git://git.yoctoproject.org/poky
cd poky
. oe-init-build-env
cat >> conf/local.conf << 'EOF'
RM_OLD_IMAGE = "1"
PRSERV_HOST = "localhost:0"
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1"
INHERIT += "rm_work"
IMAGE_FSTYPES = "vdi"
EOF
bitbake core-image-minimal
bitbake -c cleanall core-image-minimal
bitbake core-image-minimal
ls -l tmp/deploy/images/qemux86