Bug 10164 - RM_OLD_IMAGE = "1" doesn't remove old .vdi and .hdddirect images
Summary: RM_OLD_IMAGE = "1" doesn't remove old .vdi and .hdddirect images
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: deployment (show other bugs)
Version: 2.1
Hardware: x86 x86
: Undecided normal
Target Milestone: 2.2 M3
Assignee: Jonathan Liu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-08-19 12:21 UTC by Jonathan Liu
Modified: 2016-08-20 23:53 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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