aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/lsb
diff options
context:
space:
mode:
authorZhixiong Chi <zchi@windriver.com>2015-07-01 15:54:21 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-07 23:57:12 +0100
commitdded280d26b2a5ca2a1e4ac787d36cdd13b603d3 (patch)
tree4a30b39ad1f827351f7391640daa6b11eee0f0ee /meta/recipes-extended/lsb
parentf322297a48338ba04481faf3743d05a80a492c1f (diff)
downloadopenembedded-core-contrib-dded280d26b2a5ca2a1e4ac787d36cdd13b603d3.tar.gz
rpm: check if the argument(rootpath) exists or be writable
When user execute the command "rpm -qai --root=$dir",if $dir doesn't exist or is unwritable as result of making a typo in rootpath,then it will create dirent $dir and subdirectory. So we should add the check function to fix it before creating relational subdirectory,and warn the incorrect rootpath to user. It just checks the rootpath reasonableness when the user input the argument(--root=/-r=). Signed-off-by: Zhixiong Chi <zchi@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-extended/lsb')
0 files changed, 0 insertions, 0 deletions