]> xenbits.xensource.com Git - people/sstabellini/raisin.git/log
people/sstabellini/raisin.git
9 years agopatch default2 WIP
Stefano Stabellini [Tue, 12 May 2015 10:43:24 +0000 (10:43 +0000)]
patch default2

9 years agoraisin: update defaults according to the current content of Config.mk xen-tested-master
Stefano Stabellini [Mon, 11 May 2015 17:17:58 +0000 (17:17 +0000)]
raisin: update defaults according to the current content of Config.mk

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoraisin: do not exit if sudo is not installed.
Stefano Stabellini [Fri, 24 Apr 2015 10:40:10 +0000 (10:40 +0000)]
raisin: do not exit if sudo is not installed.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoraisin: add components/ovmf file, forgot from previous commit
Stefano Stabellini [Fri, 24 Apr 2015 10:34:01 +0000 (10:34 +0000)]
raisin: add components/ovmf file, forgot from previous commit

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoraisin: disable seabios in Xen, if the user disabled it in Raisin
Stefano Stabellini [Wed, 22 Apr 2015 15:30:07 +0000 (15:30 +0000)]
raisin: disable seabios in Xen, if the user disabled it in Raisin

If the user disabled seabios in the raisin config, disable seabios in
Xen.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoraisin: build linux
Stefano Stabellini [Tue, 21 Apr 2015 16:04:27 +0000 (16:04 +0000)]
raisin: build linux

Add a component, disabled by default, to build a linux kernel with the
Xen kconfig options enabled.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
10 years agoraisin: introduce ovmf
Stefano Stabellini [Tue, 21 Apr 2015 16:04:19 +0000 (16:04 +0000)]
raisin: introduce ovmf

Add a component to build ovmf and pass the output binary to the xen
build.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
---

Changes in v2:

- only enable ovmf in Xen, if we actually have built ovmf.

10 years agoraisin: pass --with-system-seabios with seabios was built
Stefano Stabellini [Tue, 21 Apr 2015 16:03:19 +0000 (16:03 +0000)]
raisin: pass --with-system-seabios with seabios was built

Detect whether we have built seabios and only pass the relative command
line argument to Xen if we actually did.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoraisin: rename ARCH to RAISIN_ARCH
Stefano Stabellini [Tue, 21 Apr 2015 15:49:50 +0000 (15:49 +0000)]
raisin: rename ARCH to RAISIN_ARCH

Rename exported environmental variable ARCH to RAISIN_ARCH not to
conflict with any component Makefile variables.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
10 years agoraisin: remove duplicate source config in raise
Stefano Stabellini [Tue, 21 Apr 2015 15:42:33 +0000 (15:42 +0000)]
raisin: remove duplicate source config in raise

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
10 years agoraisin: introduce verbose_echo
Stefano Stabellini [Tue, 21 Apr 2015 15:42:06 +0000 (15:42 +0000)]
raisin: introduce verbose_echo

A new utility function to make the code more readable and compact:
prints a message if VERBOSE = 1.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
---

Changes in v2:
- rename _verbose_echo to verbose_echo

10 years agoraisin: introduce seabios component
Stefano Stabellini [Mon, 20 Apr 2015 17:08:55 +0000 (17:08 +0000)]
raisin: introduce seabios component

Build SeaBIOS as a separate component.
Pass --with-system-seabios to the xen configure script.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
10 years agoraisin: add a component to build qemu_traditional
Stefano Stabellini [Mon, 20 Apr 2015 17:08:50 +0000 (17:08 +0000)]
raisin: add a component to build qemu_traditional

Introduce a component to build qemu-traditional out of xen-unstable.
Do not compile qemu-traditional from xen-unstable by passing the right
command line option to configure.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
10 years agoraisin: Rework component specification
George Dunlap [Mon, 20 Apr 2015 15:58:11 +0000 (15:58 +0000)]
raisin: Rework component specification

From: George Dunlap <george.dunlap@eu.citrix.com>

Allow COMPONENTS to be specified in the config (or on the command-line)

Now you can keep all components enabled in your config but build only
one like so:

COMPONENTS="xen" ./raise build

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoraisin: Fix CentOS build
George Dunlap [Mon, 20 Apr 2015 15:11:58 +0000 (15:11 +0000)]
raisin: Fix CentOS build

From: George Dunlap <george.dunlap@eu.citrix.com>

Add package dependencies for CentOS.  Also use PKGTYPE rather than
DISTRO to determine if we need rpm-build.

I've tested this for xen but not for libvirt or grub.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoraisin: Use PKGTYPE rather than DISTRO to determine how to build a package
George Dunlap [Mon, 20 Apr 2015 15:04:58 +0000 (15:04 +0000)]
raisin: Use PKGTYPE rather than DISTRO to determine how to build a package

From: George Dunlap <george.dunlap@eu.citrix.com>

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoraisin: Use fakeroot for mkdeb so we can build the package as non-root
George Dunlap [Mon, 20 Apr 2015 15:01:33 +0000 (15:01 +0000)]
raisin: Use fakeroot for mkdeb so we can build the package as non-root

From: George Dunlap <george.dunlap@eu.citrix.com>

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
10 years agoraisin: Fix non-verbose case
George Dunlap [Mon, 20 Apr 2015 14:58:36 +0000 (14:58 +0000)]
raisin: Fix non-verbose case

From: George Dunlap <george.dunlap@eu.citrix.com>

Because we use "set -e", we can't use the "a && b" construct, as it will fail and stop the script.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoraisin: remove useless comments and replace them with :
Stefano Stabellini [Mon, 20 Apr 2015 14:31:35 +0000 (14:31 +0000)]
raisin: remove useless comments and replace them with :

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoraisin: build QEMU more specifically for Xen and install under /usr/lib/xen/bin
Stefano Stabellini [Thu, 16 Apr 2015 10:30:11 +0000 (10:30 +0000)]
raisin: build QEMU more specifically for Xen and install under /usr/lib/xen/bin

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoInclude actual config in package, not defconfig
George Dunlap [Thu, 16 Apr 2015 16:19:36 +0000 (17:19 +0100)]
Include actual config in package, not defconfig

We want to include the actual config used to build the packages.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
10 years agoraisin: add $INST_DIR/usr/lib64 to LDFLAGS for QEMU and Libvirt
Stefano Stabellini [Wed, 15 Apr 2015 14:29:04 +0000 (14:29 +0000)]
raisin: add $INST_DIR/usr/lib64 to LDFLAGS for QEMU and Libvirt

Fedora install the Xen libraries under /usr/lib64, so add usr/lib64 to
LDFLAGS for QEMU and Libvirt, that need those libraries.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
10 years agoraisin: rename MAKE to RAISIN_MAKE
Stefano Stabellini [Wed, 15 Apr 2015 14:08:16 +0000 (14:08 +0000)]
raisin: rename MAKE to RAISIN_MAKE

The MAKE environmental variable is used by make for its own purposes. Do
not export it, use RAISIN_MAKE instead.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
10 years agoraisin: remove unneeded chmod +x xencommons xendomains xen-watchdog
Stefano Stabellini [Wed, 15 Apr 2015 11:31:19 +0000 (11:31 +0000)]
raisin: remove unneeded chmod +x xencommons xendomains xen-watchdog

It is actually wrong on Fedora as the init.d paths are different.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
10 years agoraisin: add some debugging output for VERBOSE=1
Stefano Stabellini [Wed, 15 Apr 2015 11:07:38 +0000 (11:07 +0000)]
raisin: add some debugging output for VERBOSE=1

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
10 years agoraisin: remove UPSTREAM_ for URL and REVISION variables
Stefano Stabellini [Tue, 14 Apr 2015 17:25:48 +0000 (17:25 +0000)]
raisin: remove UPSTREAM_ for URL and REVISION variables

It doesn't add any info and just makes the variable names longer.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
10 years agoraisin: add QEMU upstream component
Stefano Stabellini [Tue, 14 Apr 2015 11:57:02 +0000 (11:57 +0000)]
raisin: add QEMU upstream component

Add a component to build upstream QEMU.
Do not build upstream QEMU from xen-unstable.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
10 years agoraisin: use timestamps for dpkg Version to avoid versions that start with letters
Stefano Stabellini [Tue, 14 Apr 2015 14:54:52 +0000 (14:54 +0000)]
raisin: use timestamps for dpkg Version to avoid versions that start with letters

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
10 years agoraisin: do not clean before build
Stefano Stabellini [Tue, 14 Apr 2015 13:28:47 +0000 (13:28 +0000)]
raisin: do not clean before build

Do not force a clean rebuild every time

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
10 years agoIntroduce --no option to reply no to all questions
Stefano Stabellini [Tue, 14 Apr 2015 11:13:47 +0000 (11:13 +0000)]
Introduce --no option to reply no to all questions

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoDocument newly introduced functions and commands
Stefano Stabellini [Fri, 10 Apr 2015 17:21:33 +0000 (17:21 +0000)]
Document newly introduced functions and commands

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoDocument how to source another script
Stefano Stabellini [Fri, 10 Apr 2015 14:05:32 +0000 (14:05 +0000)]
Document how to source another script

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoFirst, create a new global variable, PKGTYPE. At the moment support "deb" and "rpm".
George Dunlap [Fri, 10 Apr 2015 11:57:21 +0000 (11:57 +0000)]
First, create a new global variable, PKGTYPE.  At the moment support "deb" and "rpm".

Define _check-package-$PKGTYPE which returns true if the package is
installed, false otherwise, and _install-package-$PKGTYPE which will
install a list of packages.

Define check-package(), which will take a list of packages, and check
to see if they're installed.  Any missing packages will be added to an
array called "missing".

Change _${COMPONENT}_install_dependencies to
${COMPONENT}_check_package.  Have these call check-package.

Define check-builddeps().  Define an empty "missing" array.  Call
check-package for "raisin" dependincies (like git and rpmbuild).  Then
call for_each_component check_package.

At this point we have an array with all missing packages.  If it's
empty, be happy.  If it's non-empty, and deps=true, try to install the
packages; otherwise print the missing packages and exit.

Add install-builddeps(), which is basically check-builddeps() with
YES=y.

Call check-builddeps from build() to close the loop.

Add function keyword to all other exported functions in commands.sh.

Remove --no-deps command line option.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoAllow the user's config to live outside of git
George Dunlap [Thu, 9 Apr 2015 15:11:45 +0000 (16:11 +0100)]
Allow the user's config to live outside of git

Move the default config to "defconfig" and add config to .gitignore.
If config doesn't exist, then copy defconfig to it in common_init.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoImport raise.sh and unraise.sh into library
George Dunlap [Thu, 9 Apr 2015 14:45:37 +0000 (15:45 +0100)]
Import raise.sh and unraise.sh into library

Make as few changes as possible to begin with, just to separate code
motion from changes.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoxen: Require wget
George Dunlap [Thu, 9 Apr 2015 19:12:29 +0000 (20:12 +0100)]
xen: Require wget

The xen build requires eiter wget or ftp.  Use wget.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoxen: Replace iasl with acpica-tools
George Dunlap [Thu, 9 Apr 2015 19:04:00 +0000 (20:04 +0100)]
xen: Replace iasl with acpica-tools

acpica-tools is the new package that replaces iasl.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoMove common-functions.sh and git-checkout.sh into lib
George Dunlap [Thu, 9 Apr 2015 14:40:18 +0000 (15:40 +0100)]
Move common-functions.sh and git-checkout.sh into lib

"script" implies something which is designed to be run standalone.

"lib" implies that this is going to be sourced from another bash script.

Also change "git-checkout" to be a function rather than a script

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoRemove redundant "source" from component definitions
George Dunlap [Thu, 9 Apr 2015 14:27:07 +0000 (15:27 +0100)]
Remove redundant "source" from component definitions

These should be called from other places that have already done the
appropriate "source"

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoMove utility scripts under scripts sub-directory
Stefano Stabellini [Tue, 7 Apr 2015 17:05:58 +0000 (17:05 +0000)]
Move utility scripts under scripts sub-directory

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoAdd .gitignore
Stefano Stabellini [Tue, 7 Apr 2015 16:47:40 +0000 (16:47 +0000)]
Add .gitignore

Ignore build output and temp and working files

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoPrint helpful message when user tries to install but no build is present
Stefano Stabellini [Tue, 7 Apr 2015 15:46:24 +0000 (15:46 +0000)]
Print helpful message when user tries to install but no build is present

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoFix for_each_component
Stefano Stabellini [Tue, 7 Apr 2015 14:59:50 +0000 (14:59 +0000)]
Fix for_each_component

It should check on COMPONENT_UPSTREAM_REVISION rather than
COMPONENT_UPSTREAM_URL.

Also the test statement with eval is wrong and doesn't evaluate
correctly.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoPrint helpful message on user input error
Stefano Stabellini [Tue, 7 Apr 2015 14:49:01 +0000 (14:49 +0000)]
Print helpful message on user input error

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoInstall raisin under /opt/raisin
Stefano Stabellini [Tue, 7 Apr 2015 14:25:29 +0000 (14:25 +0000)]
Install raisin under /opt/raisin

Install itself under /opt/raisin, using the mkdeb and mkrpm scripts.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoIntroduce build, install and configure commands to raise.sh
Stefano Stabellini [Tue, 7 Apr 2015 14:13:42 +0000 (14:13 +0000)]
Introduce build, install and configure commands to raise.sh

Allow a more fine grained command execution by separating installation
and system configuration.  Use command line arguments to select the
actions to take: build, install or configure.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoMissing "then"
Stefano Stabellini [Tue, 7 Apr 2015 13:37:22 +0000 (13:37 +0000)]
Missing "then"

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoAdd message about installing build time dependencies automatically
Stefano Stabellini [Tue, 7 Apr 2015 11:32:16 +0000 (11:32 +0000)]
Add message about installing build time dependencies automatically

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoMake it clear that -i requires sudo
Stefano Stabellini [Tue, 7 Apr 2015 11:27:32 +0000 (11:27 +0000)]
Make it clear that -i requires sudo

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoAdd warning on install and configure and --yes option
Stefano Stabellini [Tue, 7 Apr 2015 11:10:39 +0000 (11:10 +0000)]
Add warning on install and configure and --yes option

Add a warning when the user requests to install and configure the system
as it is potentially harmful.
Also add a -y option to skip the warning and silently continue anyway.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoUpdate CODING_STYLE to exploit modern bash features
Stefano Stabellini [Tue, 7 Apr 2015 10:53:30 +0000 (10:53 +0000)]
Update CODING_STYLE to exploit modern bash features

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoAdd BASH version compatibility check
Stefano Stabellini [Tue, 7 Apr 2015 10:30:06 +0000 (10:30 +0000)]
Add BASH version compatibility check

Require BASH 3.2 or newer.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoFix misspell in error message
Stefano Stabellini [Tue, 7 Apr 2015 10:30:31 +0000 (10:30 +0000)]
Fix misspell in error message

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoIntroduce CODING_STYLE
Stefano Stabellini [Thu, 2 Apr 2015 14:58:35 +0000 (14:58 +0000)]
Introduce CODING_STYLE

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoUse rpm and deb to install and uninstall the components on the system
Stefano Stabellini [Tue, 31 Mar 2015 17:48:50 +0000 (17:48 +0000)]
Use rpm and deb to install and uninstall the components on the system

Rather than copying files to / and manually maintain a list of installed
files, simply repackage the content of INST_DIR into a deb or rpm.
Install the simple package use dpkg or rpm.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoMissing function keyword for for_each_component
Stefano Stabellini [Tue, 31 Mar 2015 17:22:07 +0000 (17:22 +0000)]
Missing function keyword for for_each_component

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoFix libvirt initscript starting/stopping
Stefano Stabellini [Sun, 29 Mar 2015 01:29:44 +0000 (18:29 -0700)]
Fix libvirt initscript starting/stopping

Not all libvirt initscripts are installed on Debian. Only install
libvirt-guests and virtlockd on Fedora and CentOS.

Also remove the check on the existence of initscripts from
start_initscripts/stop_initscripts.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoMove components' data under data dir
Stefano Stabellini [Sat, 28 Mar 2015 23:46:54 +0000 (16:46 -0700)]
Move components' data under data dir

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoImprove documentation of the project
Stefano Stabellini [Sat, 28 Mar 2015 22:58:59 +0000 (22:58 +0000)]
Improve documentation of the project

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoSet unraise.sh as executable
Stefano Stabellini [Sat, 28 Mar 2015 22:35:44 +0000 (22:35 +0000)]
Set unraise.sh as executable

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoImprove wording in config and remove unnecessary preamble in COPYING
Stefano Stabellini [Sat, 28 Mar 2015 22:35:00 +0000 (22:35 +0000)]
Improve wording in config and remove unnecessary preamble in COPYING

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoImprove wording of README
Stefano Stabellini [Thu, 26 Mar 2015 20:30:27 +0000 (20:30 +0000)]
Improve wording of README

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoHandle rmdir errors
Stefano Stabellini [Thu, 26 Mar 2015 05:57:30 +0000 (05:57 +0000)]
Handle rmdir errors

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoIntroduce common_init fuction
Stefano Stabellini [Thu, 26 Mar 2015 05:15:17 +0000 (05:15 +0000)]
Introduce common_init fuction

Move common variable initializations from raise.sh and unraise.sh to
common_init in common_functions.sh.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoAdd missing variable initializations in unraise.sh
Stefano Stabellini [Thu, 26 Mar 2015 02:48:38 +0000 (02:48 +0000)]
Add missing variable initializations in unraise.sh

Fix paths in tests

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoExecute modules dynamically
Stefano Stabellini [Wed, 25 Mar 2015 22:36:17 +0000 (22:36 +0000)]
Execute modules dynamically

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agomove xen.sh grub.sh libvirt.sh under components
Stefano Stabellini [Wed, 25 Mar 2015 21:58:55 +0000 (21:58 +0000)]
move xen.sh grub.sh libvirt.sh under components

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoIntroduce unconfigure functions
Stefano Stabellini [Wed, 25 Mar 2015 00:12:15 +0000 (00:12 +0000)]
Introduce unconfigure functions

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoIntroduce unraise and improve build clean
Stefano Stabellini [Wed, 25 Mar 2015 00:00:25 +0000 (00:00 +0000)]
Introduce unraise and improve build clean

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoFix email address of the original author of the Debian libvirt init script
Stefano Stabellini [Mon, 23 Mar 2015 23:35:23 +0000 (23:35 +0000)]
Fix email address of the original author of the Debian libvirt init script

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoImprove error handling
Stefano Stabellini [Fri, 20 Mar 2015 17:33:51 +0000 (17:33 +0000)]
Improve error handling

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoAdd license file
Stefano Stabellini [Fri, 20 Mar 2015 17:24:33 +0000 (17:24 +0000)]
Add license file

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoUse update-grub and grub2-mkconfig to update grub config
Stefano Stabellini [Fri, 20 Mar 2015 17:18:18 +0000 (17:18 +0000)]
Use update-grub and grub2-mkconfig to update grub config

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoRename build.sh raise.sh
Stefano Stabellini [Fri, 20 Mar 2015 16:59:00 +0000 (16:59 +0000)]
Rename build.sh raise.sh

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoAdd README
Stefano Stabellini [Fri, 20 Mar 2015 16:58:30 +0000 (16:58 +0000)]
Add README

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoAdd Xen to Grub config
Stefano Stabellini [Fri, 20 Mar 2015 16:45:26 +0000 (16:45 +0000)]
Add Xen to Grub config

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoFix installation
Stefano Stabellini [Fri, 20 Mar 2015 15:36:32 +0000 (15:36 +0000)]
Fix installation

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoLibvirt version: default to master
Stefano Stabellini [Fri, 20 Mar 2015 15:17:18 +0000 (15:17 +0000)]
Libvirt version: default to master

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoFix Fedora libvirt deps
Stefano Stabellini [Fri, 20 Mar 2015 15:08:06 +0000 (15:08 +0000)]
Fix Fedora libvirt deps

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoForce overwrite on install
Stefano Stabellini [Fri, 20 Mar 2015 15:00:19 +0000 (15:00 +0000)]
Force overwrite on install

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoFix assignment error
Stefano Stabellini [Fri, 20 Mar 2015 14:59:12 +0000 (14:59 +0000)]
Fix assignment error

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoDo not use make -j
Stefano Stabellini [Fri, 20 Mar 2015 14:19:39 +0000 (14:19 +0000)]
Do not use make -j

It causes the OOM killer to intervene. Use make -j2 instead.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoadd bridge-utils as xen dependency
Stefano Stabellini [Thu, 19 Mar 2015 16:40:04 +0000 (16:40 +0000)]
add bridge-utils as xen dependency

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoHandle $PREFIX and $BRIDGE in ifcfg-xenbr0 and libvirt.debian.init
Stefano Stabellini [Thu, 19 Mar 2015 16:33:28 +0000 (16:33 +0000)]
Handle $PREFIX and $BRIDGE in ifcfg-xenbr0 and libvirt.debian.init

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoNeed root priviledges to install files under /
Stefano Stabellini [Thu, 19 Mar 2015 15:46:20 +0000 (15:46 +0000)]
Need root priviledges to install files under /

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoConfigure support in Fedora
Stefano Stabellini [Thu, 19 Mar 2015 15:44:48 +0000 (15:44 +0000)]
Configure support in Fedora

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoFedora fixes
Stefano Stabellini [Wed, 18 Mar 2015 18:36:02 +0000 (18:36 +0000)]
Fedora fixes

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoRemove "Ubuntu" everywhere: It is not treated as Debian
Stefano Stabellini [Wed, 18 Mar 2015 18:13:31 +0000 (18:13 +0000)]
Remove "Ubuntu" everywhere: It is not treated as Debian

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoAdd basic installation and configuration functionalities
Stefano Stabellini [Wed, 18 Mar 2015 16:47:56 +0000 (16:47 +0000)]
Add basic installation and configuration functionalities

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoAdd cmd line option to avoid installing any dependencies
Stefano Stabellini [Wed, 18 Mar 2015 16:05:07 +0000 (16:05 +0000)]
Add cmd line option to avoid installing any dependencies

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoCope with which not being present
Stefano Stabellini [Wed, 18 Mar 2015 15:45:07 +0000 (15:45 +0000)]
Cope with which not being present

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoMove get_distro and get_arch to common-functions.sh
Stefano Stabellini [Wed, 18 Mar 2015 15:44:24 +0000 (15:44 +0000)]
Move get_distro and get_arch to common-functions.sh

Install git from build.sh

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoUse local variables to store the list dependencies
Stefano Stabellini [Wed, 18 Mar 2015 14:52:17 +0000 (14:52 +0000)]
Use local variables to store the list dependencies

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoIntroduce generic function to install dependencies
Stefano Stabellini [Wed, 18 Mar 2015 14:43:40 +0000 (14:43 +0000)]
Introduce generic function to install dependencies

Use variables to store dependency list.
Treat Ubuntu like Debian.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoFix Fedora dependency installation line
Stefano Stabellini [Wed, 18 Mar 2015 13:06:34 +0000 (13:06 +0000)]
Fix Fedora dependency installation line

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoHandle missing "which" from the system
Stefano Stabellini [Wed, 18 Mar 2015 13:03:54 +0000 (13:03 +0000)]
Handle missing "which" from the system

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoFedora dependencies for Xen, Grub and Libvirt
Stefano Stabellini [Tue, 17 Mar 2015 17:22:32 +0000 (17:22 +0000)]
Fedora dependencies for Xen, Grub and Libvirt

Fix stubdom build

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoFix dependencies for ARM
Stefano Stabellini [Tue, 17 Mar 2015 14:59:59 +0000 (14:59 +0000)]
Fix dependencies for ARM

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoNo need to remove INST_DIR
Stefano Stabellini [Tue, 17 Mar 2015 14:08:49 +0000 (14:08 +0000)]
No need to remove INST_DIR

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10 years agoFix libnl package name for Debian
Stefano Stabellini [Tue, 17 Mar 2015 13:50:24 +0000 (13:50 +0000)]
Fix  libnl package name for Debian

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>