summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_xpkg_prepare.sh
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-10-07 10:31:22 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-10-07 18:27:57 +0200
commit83edc15d8efe689e70ddfa5141d1e0198d047a33 (patch)
treee3f4f1f1d6fba52f919295fd78f7cd4697c61266 /scripts/lib/ptxd_make_xpkg_prepare.sh
parent5349dc0a538ad9e18dc1315582b1407600d8731a (diff)
downloadptxdist-83edc15d8efe689e70ddfa5141d1e0198d047a33.tar.gz
ptxdist-83edc15d8efe689e70ddfa5141d1e0198d047a33.tar.xz
install_check: improve sanity check
The existing check only verifies if the xpkg was start at all. This does not detect incorrect install commands for xpkgs that where started by another package. Improve this with a temporary file that contains package and xpkg. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_xpkg_prepare.sh')
-rw-r--r--scripts/lib/ptxd_make_xpkg_prepare.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_make_xpkg_prepare.sh b/scripts/lib/ptxd_make_xpkg_prepare.sh
index 38d053d0e..cf231465b 100644
--- a/scripts/lib/ptxd_make_xpkg_prepare.sh
+++ b/scripts/lib/ptxd_make_xpkg_prepare.sh
@@ -110,5 +110,6 @@ install_init: @DEPENDS@ -> ${dep}"
echo "not available"
fi
done
+ touch ${PTXDIST_TEMPDIR}/${pkg_stamp}.${pkg_xpkg}
}
export -f ptxd_make_xpkg_prepare