[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3/8] raisin: Use fakeroot for mkdeb so we can build the package as non-root
On Fri, 17 Apr 2015, Ian Campbell wrote: > On Thu, 2015-04-16 at 17:19 +0100, George Dunlap wrote: > > Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> > > AIUI raisin does build dependency handling/tracking. If so then fakeroot > ought to be added to it I think? Good point! Please add fakeroot as Debian specific dependency for every component, like rpm-build for Fedora. > > --- > > CC: Stefano Stabellini <stefano.stabellini@xxxxxxxxxx> > > 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" > > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |