From 5e28d08fcf1ee7ba647ddaba533030a8ed70f716 Mon Sep 17 00:00:00 2001 From: Senorsen Date: Sun, 8 Feb 2015 19:16:55 +0800 Subject: [PATCH] Should use fakeroot, in case of wrong uid --- build/debian/build.sh | 2 +- build/openwrt/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/debian/build.sh b/build/debian/build.sh index ae4c125..3cbc9ac 100755 --- a/build/debian/build.sh +++ b/build/debian/build.sh @@ -29,7 +29,7 @@ EOF # dpkg-deb find ./debian -type d | xargs chmod 755 -dpkg-deb --build debian +fakeroot dpkg-deb --build debian mv debian.deb zjunet_${VERSION}_all.deb # remove debian/ diff --git a/build/openwrt/build.sh b/build/openwrt/build.sh index 6bedd92..0020d1c 100755 --- a/build/openwrt/build.sh +++ b/build/openwrt/build.sh @@ -29,7 +29,7 @@ EOF # dpkg-deb find ./debian -type d | xargs chmod 755 -dpkg-deb -Zgzip --build debian # for opkg +fakeroot dpkg-deb -Zgzip --build debian # for opkg mv debian.deb zjunet_${VERSION}_all.opk # remove debian/