From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v2] OSSTEST: introduce a raisin build test Date: Wed, 6 May 2015 16:15:21 +0100 Message-ID: <1430925321.2660.309.camel@citrix.com> References: <1430923410-25487-1-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1430923410-25487-1-git-send-email-stefano.stabellini@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: Stefano Stabellini Cc: wei.liu2@citrix.com, ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2015-05-06 at 15:43 +0100, Stefano Stabellini wrote: [...] > + echo >>config ENABLED_COMPONENTS=\\"seabios ovmf xen qemu qemu_traditional libvirt\\" [...] > + echo >>config XEN_URL=\\"$r{tree_xen}\\" > + echo >>config QEMU_URL=\\"$r{tree_qemuu}\\" > + echo >>config QEMU_TRADITIONAL_URL=\\"$r{tree_qemu}\\" > + echo >>config SEABIOS_URL=\\"$r{tree_seabios}\\" > + echo >>config LIBVIRT_URL=\\"$r{tree_libvirt}\\" > + echo >>config OVMF_URL=\\"$r{tree_ovmf}\\" What will raisin do if one or more of these runvars is not set for some reason yet the thing is listed in ENABLED_COMPONENTS? > + store_revision($ho, 'xen', "$raisindir/xen-dir", 1); > + store_revision($ho, 'qemu', "$raisindir/qemu-traditional-dir", 1); > + store_revision($ho, 'qemuu', "$raisindir/qemu-dir", 1); > + store_revision($ho, 'seabios', "$raisindir/seabios-dir", 1); > + store_revision($ho, 'ovmf', "$raisindir/ovmf-dir", 1); > + store_revision($ho, 'libvirt', "$raisindir/libvirt-dir", 1); Is $component-dir considered a stable path in raisin (i.e. will you promise not to change it). > +} > + > +sub divide () { > + # Only move hv to xeninstall, so that we can have > + # xenpolicy in tools tarball. > + # > + # The files inside boot/ after `make dist' are > + # xen-$XEN_VERSION: Xen binary > + # xen.gz/xen: symlink to xen-$XEN_VERSION > + # xen-$MAJOR: symlink to xen-$XEN_VERSION > + # xen-$MAJOR.$MINOR: symlink to xen-$XEN_VERSION > + # xen-sym-$XEN_VERSION: Xen symbol > + # xenpolicy-$XEN_VERSION: flask policy binary if xsm is enabled > + # > + # So the following snippet will leave xenpolicy* in > + # install/boot and get packaged to tools tarball. > + target_cmd_build($ho, 100, $builddir, < + cd raisin $raisindir? (here and in various places further down) Ian.