From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH 3/8] raisin: Use fakeroot for mkdeb so we can build the package as non-root Date: Fri, 17 Apr 2015 09:43:02 +0100 Message-ID: <1429260182.25195.197.camel@citrix.com> References: <1429201182-1044-1-git-send-email-george.dunlap@eu.citrix.com> <1429201182-1044-3-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-3-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: George Dunlap Cc: Stefano Stabellini , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2015-04-16 at 17:19 +0100, George Dunlap wrote: > Signed-off-by: George Dunlap AIUI raisin does build dependency handling/tracking. If so then fakeroot ought to be added to it I think? > --- > CC: Stefano Stabellini Does CC below a CC work? Interesting. > --- > 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"