diff options
-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! ./! !' | \ |