Changeset 1276 in ProjectBuilder
- Timestamp:
- Mar 22, 2011, 1:15:29 AM (14 years ago)
- Location:
- devel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/etc/pb.conf
r1254 r1276 501 501 oschkcmd deb = /usr/bin/lintian 502 502 oschkopt deb = 503 504 # sha method for yum repo 505 ossha rpm = sha256 506 # RHEL before 6 had python 2.4 507 ossha rhel-2.1 = sha1 508 ossha rhel-3 = sha1 509 ossha rhel-4 = sha1 510 ossha rhel-5 = sha1 511 ossha centos-3 = sha1 512 ossha centos-4 = sha1 513 ossha centos-5 = sha1 514 # Fedora before 11 had python 2.4 515 ossha fedora-6 = sha1 516 ossha fedora-7 = sha1 517 ossha fedora-8 = sha1 518 ossha fedora-9 = sha1 519 ossha fedora-10 = sha1 -
devel/pb-modules/etc/pb.conf.pod
r1217 r1276 223 223 Conffile: pb 224 224 Example: osrepo rpm = ftp://ftp.project-builder.org/$ddir/$dver/pb.repo 225 226 =item B<ossha> 227 228 Nature: Optional (Mandatory if rpm type of package) 229 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). 230 Value: sha algorithm used br createrepo 231 Conffile: pb 232 Example: ossha fedora-10 = sha1 225 233 226 234 =item B<ossuffix> -
devel/pb/bin/pb
r1275 r1276 1684 1684 open(PBS,"> $ENV{'PBBUILDDIR'}/pbscript.$$") || die "Unable to create $ENV{'PBBUILDDIR'}/pbscript.$$"; 1685 1685 if ($pbos->{'type'} eq "rpm") { 1686 my $pbsha = pb_distro_get_param($pbos,pb_conf_get("ossha")); 1686 1687 # Also make a pbscript to generate yum/urpmi bases 1687 1688 print PBS << "EOF"; … … 1704 1705 fi 1705 1706 # Create repodata 1706 createrepo .1707 createrepo -s $pbsha . 1707 1708 EOF 1708 1709 if ($pbos->{'family'} eq "md") {
Note:
See TracChangeset
for help on using the changeset viewer.