Browse Source

avoid gnu tar warnings in cfgfs

Waldemar Brodkorb 15 years ago
parent
commit
9c9d5cb90a
2 changed files with 3 additions and 3 deletions
  1. 1 1
      package/cfgfs/Makefile
  2. 2 2
      package/cfgfs/src/fwcf.sh

+ 1 - 1
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/

+ 2 - 2
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!  ./! !' | \