From: George Dunlap Subject: [PATCH 3/8] raisin: Use fakeroot for mkdeb so we can build the package as non-root Date: Thu, 16 Apr 2015 17:19:37 +0100 Message-ID: <1429201182-1044-3-git-send-email-george.dunlap@eu.citrix.com> References: <1429201182-1044-1-git-send-email-george.dunlap@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1429201182-1044-1-git-send-email-george.dunlap@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: George Dunlap , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Signed-off-by: George Dunlap --- CC: Stefano Stabellini --- lib/common-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common-functions.sh b/lib/common-functions.sh index 06c894a..373d6fb 100644 --- a/lib/common-functions.sh +++ b/lib/common-functions.sh @@ -242,7 +242,7 @@ function for_each_component () { function build_package() { if [[ $DISTRO = "Debian" ]] then - ./scripts/mkdeb "$1" + fakeroot bash ./scripts/mkdeb "$1" elif [[ $DISTRO = "Fedora" ]] then ./scripts/mkrpm "$1" -- 1.9.1