Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

wic: Make sure file exists before removing it

Bunch of os.remove calls were added to the partition.py lately.
They're causing wic to fail with OSError: [Errno 2] No such file or directory
if file doesn't exist.

Added check for file existence to all recently added calls of
os.remove. That should fix this regression.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
latest commit 75162b05b5
Ed Bartosh authored rpurdie committed
..
Failed to load latest commit information.
contrib python3: Upgrade from 3.4.2 to 3.4.3
jhbuild Convert to use direct access to the data store (instead of bb.data.*V…
lib wic: Make sure file exists before removing it
native-intercept
postinst-intercepts
pybootchartgui scripts: use '/usr/bin/env' in shebangs with python
tiny scripts: Add ksize.py and dirsize.py
README Further cleanup of various poky references
bitbake-prserv-tool bitbake-prserv-tool: make help text show .conf suffix
bitbake-whatchanged scripts: consolidate code to find bitbake path
buildhistory-collect-srcrevs buildhistory-collect-srcrevs: match new buildhistory-diff command lin…
buildhistory-diff
cleanup-workdir cleanup-workdir: Fix crosssdk reference after addition of PN
combo-layer combo-layer: handle unset dest_dir in sanity_check()
combo-layer-hook-default.sh combo-layer-hook-default.sh: handle patches without Signed-off-by
combo-layer.conf.example combo-layer: partial import for '--history init'
cp-noerror scripts/cp-noerror: Avoid a race
create-pull-request create-pull-request: fix git GIT_VERSION
create-recipe scripts/create-recipe: minor fixes
crosstap crosstap: handle hyphenated x86_64 target arch
devtool devtool: if workspace layer exists, still ensure it's in bblayers.conf
gen-lockedsig-cache gen-lockedsig-cache: Allow cross-filesystem copies.
gen-site-config siteconfig: generate configuration data caches for autoconf
hob scripts/hob: enable additional arguments
lnr
multilib_header_wrapper.h multilib_header.bbclass: Add oe_multilib_header wrapper
oe-buildenv-internal scripts/oe-buildenv-internal: add means of skipping SDK check during …
oe-find-native-sysroot oe-find-native-sysroot: minor optimization
oe-git-proxy oe-git-proxy: Redirect error messages to STDERR
oe-pkgdata-util lib/oe/package_manager: support exclusion from complementary glob pro…
oe-selftest scripts/oe-selftest: add command line option to list test classes
oe-setup-builddir oe-init-build-env: fix for build dirs that have spaces in their path
oe-setup-rpmrepo oe-setup-rpmrepo: add native sysroot so nativepython can be found by env
oe-trim-schemas Rename the remaining poky-* scripts to oe-* or runqemu-*
oepydevshell-internal.py devshell: Add interactive python shell
opkg-query-helper.py
pythondeps recipetool: add python dependency scanning support
recipetool recipetool: add appendfile subcommand
relocate_sdk.py relocate_sdk: Skip to do relocation if the file size is less than 64 …
rootfs_rpm-extract-postinst.awk meta/classes/rootfs_rpm.bbclass: re implement base on rpm5
rpm2cpio.sh rpm2cpio.sh: make compression tests case-insensitive
runqemu
runqemu-addptable2image Rename the remaining poky-* scripts to oe-* or runqemu-*
runqemu-export-rootfs runqemu-export-rootfs: Fix missing # in comment
runqemu-extract-sdk
runqemu-gen-tapdevs runqemu: Replace use of ifconfig with ip
runqemu-ifdown runqemu-ifdown: clean up the remaining iptables rules
runqemu-ifup runqemu-ifup: when tunctl can't be found, say what package builds it
runqemu-internal runqemu-internal: correctly set format for root FS as raw
runqemu.README scripts/runqemu.README: Clean this up to accurately reflect what the …
send-error-report scripts/send-error-report: Rework script to support new features
send-pull-request send-pull-request: add extra CC argument
sstate-cache-management.sh
sstate-diff-machines.sh sstate-diff-machines.sh: Return non-zero return code when there was s…
sstate-sysroot-cruft.sh sstate-sysroot-cruft.sh: Improve to use it from CI
swabber-strace-attach scripts: replace os.system with subprocess.call
sysroot-relativelinks.py image/populate_sdk: Ensure symlinks in target sysroot are relative
test-dependencies.sh test-dependencies.sh: strip only .bb suffix
test-reexec test-reexec: Add script to address issues when task re-execution
test-remote-image scripts/test-remote-image: use the scriptpath module
wic wic: code cleanup: wildcard imports
wipe-sysroot wipe-sysroot: explain what is being deleted, and check for arguments

README

This directory contains Various useful scripts for working with OE builds
Something went wrong with that request. Please try again.