summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/openjade
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-08 00:01:21 +0100
commiteb29cea7296ca62e96fdcfadefcca03b2383ff85 (patch)
treea047cd17ca511fac2c8e2540f19352fd1151b975 /meta/recipes-devtools/openjade
parent09a5cb0cca109395a4835e25d483019ddd5e773c (diff)
downloadpoky-eb29cea7296ca62e96fdcfadefcca03b2383ff85.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=). (From OE-Core rev: dded280d26b2a5ca2a1e4ac787d36cdd13b603d3) Signed-off-by: Zhixiong Chi <zchi@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/openjade')
0 files changed, 0 insertions, 0 deletions