summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2010-02-22 21:59:48 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-02-22 22:00:28 +0100
commit7b114957094ff88c59fc0cb228ce53cd2b0aad77 (patch)
tree5f960d874aff2159e6e1c358981036d3214e7234 /bin
parent057147e31e06a7b1b2ca4eac5bf50550e0d4fe16 (diff)
downloadptxdist-7b114957094ff88c59fc0cb228ce53cd2b0aad77.tar.gz
ptxdist-7b114957094ff88c59fc0cb228ce53cd2b0aad77.tar.xz
[ptxdist] remove permission files during "clean root"
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ptxdist6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/ptxdist b/bin/ptxdist
index 42a5bdc08..aa65eb748 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -843,8 +843,10 @@ clean() {
echo "${PROMPT}cleaning packages..."
rm -fr -- "${PKGDIR}"/*.ipk
echo "${PROMPT}cleaning targetinstall stages..."
- rm -f -- "${STATEDIR}"/*.targetinstall*
- rm -f -- "${STATEDIR}"/*.xpkg.map
+ rm -f -- \
+ "${STATEDIR}"/*.perms \
+ "${STATEDIR}"/*.targetinstall* \
+ "${STATEDIR}"/*.xpkg.map
echo "${PROMPT}done."
echo
return