Changeset 1082 in ProjectBuilder
- Timestamp:
- Aug 9, 2010, 2:23:35 AM (14 years ago)
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/rpmbootstrap/bin/rpmbootstrap
r1064 r1082 35 35 =head1 DESCRIPTION 36 36 37 rpmbootstrap creates a chroot environment (Virtual Environment or VE) with a minimal distribution in it, 38 suited for building packages for example. It's very much like debootstrap but for RPM based distribution. 39 It aims at supporting all distributions supported by project-builder;org (RHEL, RH, Fedora, OpeSUSE, SLES, Mandriva, ...) 40 41 It is inspired by work done by Steve Kemp for rinse (http://www.steve.org.uk/), and similar to mock, but fully integrated with project-builder.org (which also supports rinse and mock). 37 rpmbootstrap creates a chroot environment (Virtual Environment or VE) 38 with a minimal distribution in it, suited for building packages for example. 39 It's very much like debootstrap but for RPM based distribution. 40 It aims at supporting all distributions supported by project-builder.org 41 (RHEL, RH, Fedora, OpeSUSE, SLES, Mandriva, ...) 42 43 It is inspired by work done by Steve Kemp for rinse (http://www.steve.org.uk/), 44 and similar to mock, but fully integrated with project-builder.org 45 (which also supports rinse and mock). 42 46 43 47 =head1 SYNOPSIS … … 45 49 rpmbootstrap [-vhmqpdk][-s script][-i iso][-a pkg1[,pkg2,...]] distribution-version-arch [target-dir] [mirror [script]] 46 50 47 pb [--verbose][--help][--man][--quiet][--print-rpms][--download-only][--keep][--add pkg1,[pkg2,...]][--script script][--iso iso] distribution-version-arch [target-dir] [mirror [script]] 51 rpmbootstrap [--verbose][--help][--man][--quiet][--print-rpms][--download-only] 52 [--keep][--script script][--iso iso][--add pkg1,[pkg2,...]] distribution-version-arch [target-dir] [mirror [script]] 48 53 49 54 =head1 OPTIONS … … 69 74 =item B<-p|--print-rpms> 70 75 71 Print the packages to be installed, and exit. Note that a target directory must be specified so 72 rpmbootstrap can determine which packages should be installed, and to resolve dependencies. The target directory will be deleted. 76 Print the packages to be installed, and exit. 77 Note that a target directory must be specified so rpmbootstrap can determine 78 which packages should be installed, and to resolve dependencies. 79 The target directory will be deleted. 73 80 74 81 =item B<-d|--download-only> … … 83 90 84 91 Name of the script you want to execute on the related VEs after the installation. 85 It is executed in host environment. You can use the chroot command to execute actions in the VE. 92 It is executed in host environment. 93 You can use the chroot command to execute actions in the VE. 86 94 87 95 =item B<-i|--iso iso_image> … … 91 99 =item B<-a|--add pkg1[,pkg2,...]> 92 100 93 Additional packages to add from the distribution you want to install on the related VE at the end of the chroot build. 101 Additional packages to add from the distribution you want to install on the related VE 102 at the end of the chroot build. 94 103 95 104 =back … … 105 114 =item B<target-dir> 106 115 107 This is the target directory under which the VE will be created. Created on the fly if needed. If none is given use the default directory hosting VE for project-builder.org (Cf: vepath parameter in $HOME/.pbrc) 116 This is the target directory under which the VE will be created. 117 Created on the fly if needed. 118 If none is given use the default directory hosting VE for project-builder.org 119 (Cf: vepath parameter in $HOME/.pbrc) 108 120 109 121 =back … … 117 129 =head1 WEB SITES 118 130 119 The main Web site of the project is available at L<http://www.project-builder.org/>. Bug reports should be filled using the trac instance of the project at L<http://trac.project-builder.org/>. 131 The main Web site of the project is available at L<http://www.project-builder.org/>. 132 Bug reports should be filled using the trac instance of the project at L<http://trac.project-builder.org/>. 120 133 121 134 =head1 USER MAILING LIST 122 135 123 Cf: L<http://www.mondorescue.org/sympa/info/pb-announce> for announces and L<http://www.mondorescue.org/sympa/info/pb-devel> for the development of the pb project. 136 Cf: L<http://www.mondorescue.org/sympa/info/pb-announce> for announces and 137 L<http://www.mondorescue.org/sympa/info/pb-devel> for the development of the pb project. 124 138 125 139 =head1 CONFIGURATION FILE -
pbconf/devel/project-builder/deb/copyright
r238 r1082 1 1 This package was originally debianized by Bruno Cornec <bruno@project-builder.org> 2 Fri, 19 Oct 200711:08:11 +0100.2 Fri, 25 Apr 2008 11:08:11 +0100. 3 3 4 4 The current upstream source was downloaded from … … 7 7 Upstream Authors: Bruno Cornec <bruno@project-builder.org> 8 8 9 Copyright 2010 Bruno Cornec <bruno@project-builder.org> 9 10 Copyright: 10 11 … … 24 25 25 26 On Debian systems, the complete text of the GNU General 26 Public License can be found in `/usr/share/common-licenses/GPL '.27 Public License can be found in `/usr/share/common-licenses/GPL-2'. -
pbconf/devel/rpmbootstrap/deb/copyright
r972 r1082 1 1 This package was originally debianized by Bruno Cornec <bruno@project-builder.org> 2 Thu, 18 Feb 201011:08:11 +0100.2 Fri, 25 Apr 2008 11:08:11 +0100. 3 3 4 4 The current upstream source was downloaded from … … 7 7 Upstream Authors: Bruno Cornec <bruno@project-builder.org> 8 8 9 Copyright 2010 Bruno Cornec <bruno@project-builder.org> 9 10 Copyright: 10 11 … … 24 25 25 26 On Debian systems, the complete text of the GNU General 26 Public License can be found in `/usr/share/common-licenses/GPL '.27 Public License can be found in `/usr/share/common-licenses/GPL-2'. -
pbconf/devel/rpmbootstrap/deb/rules
r972 r1082 10 10 #export DH_VERBOSE=1 11 11 12 # If set to a true value then MakeMaker's prompt function will 13 # always return the default without waiting for user input. 14 export PERL_MM_USE_DEFAULT=1 15 16 ifndef PERL 17 PERL = /usr/bin/perl 18 endif 19 12 20 # Define package name variable for a one-stop change. 13 21 PACKAGE_NAME = PBPKG 14 15 # These are used for cross-compiling and for saving the configure script16 # from having to guess our platform (since we know it already)17 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)18 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)19 20 CFLAGS = -Wall -g21 22 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))23 CFLAGS += -O024 else25 CFLAGS += -O226 endif27 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))28 INSTALL_PROGRAM += -s29 endif30 22 31 23 build: build-stamp … … 35 27 36 28 # Add here commands to compile the package. 37 perl Makefile.PL29 $(PERL) Makefile.PL INSTALLDIRS=vendor PBKEYWORD=$(CURDIR)/PBFINALDIR MANDIR=/usr/share/man 38 30 $(MAKE) 39 31 touch $@ … … 55 47 dh_installdirs 56 48 57 # Add here commands to install the package into debian/linuxcoe-sd 49 # Remove extra files 50 # Add here commands to install the package 58 51 $(MAKE) install DESTDIR=$(CURDIR)/debian/PBPKG 52 53 # Build architecture-dependent files here. 54 binary-arch: build install 55 # We have nothing to do by default. 59 56 60 57 # Build architecture-independent files here. 61 58 binary-indep: build install 62 # We have nothing to do by default.63 64 # Build architecture-dependent files here.65 binary-arch: build install66 59 dh_testdir 67 60 dh_testroot 68 61 dh_installchangelogs ChangeLog 69 62 dh_installdocs 70 dh_installexamples71 72 73 74 75 76 77 78 79 80 81 63 # dh_installexamples 64 # dh_install 65 # dh_installmenu 66 # dh_installdebconf 67 # dh_installlogrotate 68 # dh_installemacsen 69 # dh_installpam 70 # dh_installmime 71 # dh_python 72 # dh_installinit 73 # dh_installcron 74 # dh_installinfo 82 75 dh_installman 76 dh_perl 83 77 dh_strip 84 78 dh_compress 85 79 dh_fixperms 86 # dh_perl 87 # dh_makeshlibs 80 # dh_makeshlibs 88 81 dh_installdeb 89 dh_shlibdeps82 # dh_shlibdeps 90 83 dh_gencontrol 91 84 dh_md5sums -
pbconf/devel/rpmbootstrap/pbfilter/all.pbf
r972 r1082 1 filter PBDESC = rpmbootstrap is a tool similar to debootstrap for RPM based distributions.$/It helps building a chrooted environment for the related distribution1 filter PBDESC = It helps building a chrooted environment for RPM based distributions$/in a similar way as debootstrap for deb based distributions. 2 2 # Summary of package 3 filter PBSUMMARY = rpmbootstrap is atool similar to debootstrap for RPM based distributions3 filter PBSUMMARY = tool similar to debootstrap for RPM based distributions
Note:
See TracChangeset
for help on using the changeset viewer.