add build-initvm

Rev openSUSE:Tools/151 Md5 bd665a8e735521823685fc0a14e9df31 2011-10-25 13:24:31 adrianSuSE None
This commit is contained in:
OBS User adrianSuSE 2011-10-25 13:24:31 +00:00 committed by Git OBS Bridge
parent cca61569ac
commit 8eb11b161f
4 changed files with 89 additions and 20 deletions

8
baselibs.conf Normal file
View File

@ -0,0 +1,8 @@
arch i386 targets x86_64:i386
arch i586 targets x86_64:i586
build-initvm
targetname <name>-<targettype>
targettype i386 provides "build-initvm"
targettype i586 provides "build-initvm"
targettype i386 +/usr
targettype i586 +/usr

12
build-initvm.changes Normal file
View File

@ -0,0 +1,12 @@
-------------------------------------------------------------------
Tue Oct 4 12:43:27 UTC 2011 - adrian@suse.de
- use new qemu-*-binfmt handler to run commands with correct $0
- fix build for Factory
-------------------------------------------------------------------
Mon Mar 21 07:02:52 UTC 2011 - adrian@suse.de
- initial package for new cross build support for OBS. Done by
James Perkins from LinuxFoundation

54
build-initvm.spec Normal file
View File

@ -0,0 +1,54 @@
#
# spec file for package build-initvm
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: build-initvm
License: GPLv2+
Group: Development/Tools/Building
AutoReqProv: on
Summary: A Script to Build SUSE Linux RPMs
Version: 2011.07.01
Release: 0
Source: build-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: off
Requires: build
BuildRequires: gcc glibc-devel
%if 0%{?suse_version} > 1200
BuildRequires: glibc-devel-static
%endif
%description
This package provides a script for building RPMs for SUSE Linux in a
chroot or a secure virtualized environment.
%prep
%setup -q -n build-%version
%build
make CFLAGS="$RPM_BUILD_FLAGS" initvm-all
%install
make DESTDIR=$RPM_BUILD_ROOT initvm-install
%files
%defattr(-,root,root)
/usr/lib/build/initvm
%changelog

View File

@ -3,6 +3,12 @@ Mon Oct 10 19:29:20 CEST 2011 - mls@suse.de
- add sles11sp2 build config and adapt autodetection [bnc#711770]
-------------------------------------------------------------------
Tue Oct 4 12:43:27 UTC 2011 - adrian@suse.de
- use new qemu-*-binfmt handler to run commands with correct $0
- fix build for Factory
-------------------------------------------------------------------
Mon Sep 26 20:33:59 UTC 2011 - adrian@suse.de
@ -51,6 +57,13 @@ Wed Apr 27 12:34:17 UTC 2011 - adrian@suse.de
- revert to single cpu build default for debian packages
-------------------------------------------------------------------
Fri Apr 15 08:55:14 UTC 2011 - adrian@suse.de
- switch back to single process build for debian to be conform with
their policy
- use cpuid kvm64 on kvm for 64bit as workaround for a cpuid bug
-------------------------------------------------------------------
Tue Mar 29 14:59:28 UTC 2011 - lnussel@suse.de
@ -59,26 +72,8 @@ Tue Mar 29 14:59:28 UTC 2011 - lnussel@suse.de
-------------------------------------------------------------------
Tue Mar 1 15:35:21 UTC 2011 - adrian@suse.de
- fix xen build support
-------------------------------------------------------------------
Mon Feb 28 09:02:32 UTC 2011 - adrian@suse.de
- do not use current git branch for stable build package in distributions
- require bsdtar for vm builds to ensure a safe build
-------------------------------------------------------------------
Wed Dec 15 14:05:09 CET 2010 - mls@suse.de
- also use -o when using bsdtar --chroot
-------------------------------------------------------------------
Thu Dec 9 11:51:40 UTC 2010 - adrian@suse.de
- support bsdtar for setting up build enviroment
- make expanddeps use the highest version of a package if multiple
versions aver available in a repository [bnc#656599]
- support other file formats (esp. for .ZIP and .EXE export for crossbuild)
- support new cross build initvm. Done by James Perkins from LinuxFoundation
- do not use loop device anymore when using block devices directly
-------------------------------------------------------------------
Thu Nov 11 12:24:13 UTC 2010 - adrian@suse.de