Changeset 1652 in ProjectBuilder for devel/pb-modules
- Timestamp:
- Oct 7, 2012, 7:54:06 PM (12 years ago)
- Location:
- devel/pb-modules
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/bin/pbdistrocheck
r1551 r1652 30 30 =head1 SYNOPSIS 31 31 32 pbdistrocheck [- d][-v][-l [-c][-i][-r][-a]][-s] [distro-ver-arch]32 pbdistrocheck [-h][-d][-v][-l [-c][-i][-r][-a]][-s] [distro-ver-arch] 33 33 34 34 =head1 OPTIONS 35 35 36 36 =over 4 37 38 =item B<-h|--help> 39 40 Prints this help 37 41 38 42 =item B<-v|--verbose> … … 42 46 =item B<-a|--all> 43 47 44 print all parameters48 Print all parameters 45 49 46 50 =item B<-s|--short> 47 51 48 generate a short format user friendly, comma separated allowing parsing52 Generate a short format user friendly, comma separated allowing parsing 49 53 50 54 =item B<-l|--lsb> 51 55 52 generate an LSB compliant output56 Generate an LSB compliant output 53 57 54 58 =item B<-d|--description> 55 59 56 print only description (LSB only)60 Print only description (LSB only) 57 61 58 62 =item B<-r|--release> 59 63 60 print only release (LSB only)64 Print only release (LSB only) 61 65 62 66 =item B<-c|--codename> 63 67 64 print only codename (LSB only)68 Print only codename (LSB only) 65 69 66 70 =item B<-i|--id> 67 71 68 print only distribution identificator (LSB only)72 Print only distribution identificator (LSB only) 69 73 70 74 =item B<-a|--all> 71 75 72 print all LSB fields76 Print all LSB fields 73 77 74 78 =back … … 76 80 =head1 ARGUMENTS 77 81 78 arguments are optional. If none given, analyzes the underlying operating system82 Arguments are optional. If none given, analyzes the underlying operating system 79 83 If one is given, it should have the format osname-version-architecture, and in that case pbdistrocheck will provide all the information related to that OS needed by pb. 80 84 … … 107 111 "verbose|v+" => \$opts{'v'}, 108 112 "short|s" => \$opts{'s'}, 113 "help|h" => \$opts{'h'}, 109 114 "description|d" => \$opts{'d'}, 110 115 "id|i" => \$opts{'i'}, -
devel/pb-modules/etc/pb.conf
r1651 r1652 301 301 # These deps are needed for rpmbootstrap to install a base distribution 302 302 # Originally reuse from rinse conf files 303 rbsmindep redhat-6.2 = MAKEDEV,SysVinit,authconfig,basesystem,bash,binutils,bzip2,chkconfig,console-tools,cracklib,cracklib-dicts,dev,dev86,diffutils,dhcpcd,e2fsprogs,file,filesystem,fileutils,findutils,gawk,gdbm,glib,glibc,gmp,grep,gzip,info,initscripts,iproute,iputils,kernel,krb5-configs,krb5-libs,ldconfig,ld.so,libc,libelf,libstdc++,libtermcap,logrotate,make,mingetty,mktemp,modutils,mount,newt,ncurses,net-tools,pam,passwd,patch,perl,popt,procps,psmisc,pwdb,python,readline,redhat-release,rpm,rpm-python,sed,setup,shadow-utils,sh-utils,slang,sysklogd,tar,tcsh,termcap,textutils,util-linux,vim-common,vim-minimal,vixie-cron,which,wget,xntp3,zlib 303 # For Rd Hat 6.2 perl is excluded as a manual install from http://www.cpan.org/src/5.0/perl-5.6.2.tar.gz is required 304 rbsmindep redhat-6.2 = MAKEDEV,SysVinit,authconfig,basesystem,bash,binutils,bzip2,chkconfig,console-tools,cracklib,cracklib-dicts,dev,dev86,diffutils,dhcpcd,e2fsprogs,file,filesystem,fileutils,findutils,gawk,gdbm,glib,glibc,gmp,grep,gzip,info,initscripts,iproute,iputils,kernel,krb5-configs,krb5-libs,ldconfig,ld.so,libc,libelf,libstdc++,libtermcap,logrotate,make,mingetty,mktemp,modutils,mount,newt,ncurses,net-tools,pam,passwd,patch,popt,procps,psmisc,pwdb,python,readline,redhat-release,rpm,rpm-build,rpm-python,sed,setup,shadow-utils,sh-utils,slang,sysklogd,tar,tcsh,termcap,textutils,util-linux,vim-common,vim-minimal,vixie-cron,which,wget,xntp3,zlib 304 305 # 305 306 rbsmindep fedora-4 = MAKEDEV,SysVinit,audit-libs,basesystem,bash,beecrypt,bzip2-libs,chkconfig,coreutils,cracklib,cracklib-dicts,db4,device-mapper,e2fsprogs,elfutils-libelf,ethtool,expat,filesystem,findutils,gawk,gdbm,glib2,glibc,glibc-common,grep,info,initscripts,iproute,iputils,krb5-libs,libacl,libattr,libcap,libgcc,libidn,libselinux,libsepol,libstdc++,libtermcap,libxml2,libxml2-python,mingetty,mktemp,module-init-tools,ncurses,neon,net-tools,openssl,pam,pcre,popt,procps,psmisc,python,python-elementtree,python-sqlite,python-urlgrabber,readline,rpm,rpm-libs,rpm-python,sed,setup,shadow-utils,sqlite,sysklogd,termcap,tzdata,udev,util-linux,yum,zlib -
devel/pb-modules/lib/ProjectBuilder/Base.pm
r1651 r1652 453 453 454 454 This function returns the architecture of our local environment and 455 standardize on i386 for those platforms. It also solves issues where a i386 VE on x86_64 returns x86_64 wrongly455 standardize on i386 for those platforms. 456 456 457 457 =cut -
devel/pb-modules/lib/ProjectBuilder/Distribution.pm
r1651 r1652 132 132 # Initialize arch 133 133 $pbos->{'arch'} = pb_get_arch() if (not defined $pbos->{'arch'}); 134 # Solves a bug on Red Hat 6.x where real arch is not detected when using setarch and a chroot 135 # As it was only i386 forcing it here. 136 $pbos->{'arch'} = "i386" if (($pbos->{'name'} eq "redhat") && ($pbos->{'version'} =~ /^6\./)); 134 137 135 138 # Dig into the tuple to find the best answer … … 330 333 # Get dependencies in the build file if not forced 331 334 $deps = pb_distro_getdeps($f,$pbos) if (not defined $deps); 332 pb_log(1, "ftp_proxy=$ENV{ftp_proxy} http_proxy=$ENV{http_proxy}\n"); 335 pb_log(1, "ftp_proxy=$ENV{ftp_proxy}\n") if (defined $ENV{ftp_proxy}); 336 pb_log(1, "http_proxy=$ENV{http_proxy}\n") if (defined $ENV{http_proxy}); 333 337 pb_log(2,"deps: $deps\n"); 334 338 return if ((not defined $deps) || ($deps =~ /^\s*$/));
Note:
See TracChangeset
for help on using the changeset viewer.