diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-23 20:15:01 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-23 20:15:01 +0100 |
commit | 9c9d5cb90a86edf1e9dc240bf0f38572f2ab26d6 (patch) | |
tree | c0e33c7d91a81add61f64f0be2b3ab9248dfc7e3 | |
parent | a2551a501de86302a6da9ba956a82e300ab7cd34 (diff) |
avoid gnu tar warnings in cfgfs
-rw-r--r-- | package/cfgfs/Makefile | 2 | ||||
-rw-r--r-- | package/cfgfs/src/fwcf.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/package/cfgfs/Makefile b/package/cfgfs/Makefile index 70eb75a1f..a3af3dd62 100644 --- a/package/cfgfs/Makefile +++ b/package/cfgfs/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= cfgfs PKG_VERSION:= 1.0.8 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_DESCR:= compressed config filesystem PKG_SECTION:= base PKG_URL:= http://openadk.org/ diff --git a/package/cfgfs/src/fwcf.sh b/package/cfgfs/src/fwcf.sh index ae2886d79..6f99393dd 100644 --- a/package/cfgfs/src/fwcf.sh +++ b/package/cfgfs/src/fwcf.sh @@ -163,7 +163,7 @@ if test $1 = setup; then mount --bind /etc /tmp/.cfgfs/root mkdir /tmp/.cfgfs/temp mount -t tmpfs none /tmp/.cfgfs/temp - (cd /tmp/.cfgfs/root; tar cf - .) | (cd /tmp/.cfgfs/temp; tar xpf -) + (cd /tmp/.cfgfs/root; tar cf - .) | (cd /tmp/.cfgfs/temp; tar xpf - 2>/dev/null) unclean=0 if [[ $1 = -N ]]; then unclean=2 @@ -247,7 +247,7 @@ if test $1 = commit; then [[ $1 = -f ]] || exit 7 fi mount -t tmpfs none /tmp/.cfgfs/temp - (cd /etc; tar cf - .) | (cd /tmp/.cfgfs/temp; tar xpf -) + (cd /etc; tar cf - .) | (cd /tmp/.cfgfs/temp; tar xpf - 2>/dev/null) cd /tmp/.cfgfs/temp find . -type f | grep -v -e '^./.cfgfs' -e '^./.rnd$' | sort | \ xargs md5sum | sed 's! ./! !' | \ |