- Timestamp:
- Sep 4, 2017, 1:21:19 PM (7 years ago)
- Location:
- devel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-doc/SECURITY
r2241 r2289 9 9 In the Distributions.pm module there are sudo calls, corresponding to the abilty to configure automatically additional repositories. That feature may not be used on RM or solved manually without problem. In case this is used, and sudo isn't configured accordingly, then the additional repo will NOT be added and the build will probably fail. 10 10 11 In the default pb. confmain configuration files, parameters for osupd and osins for the various distributions call sudo to make the installation of missing packages. These calls are done as 'pb' user by default (or the account configured as rmlogin in the configuration file). In case this is used, and sudo isn't configured accordingly, then the additional required packages will NOT be added and the build will probably fail.11 In the default pb.yml main configuration files, parameters for osupd and osins for the various distributions call sudo to make the installation of missing packages. These calls are done as 'pb' user by default (or the account configured as rmlogin in the configuration file). In case this is used, and sudo isn't configured accordingly, then the additional required packages will NOT be added and the build will probably fail. 12 12 For RM, we may consider that all required packages for the build are already installed on the system, or give rpm/yum/dnf/apt/urpmi/zypper... sudo rights to the build account manually. 13 13 Recommended for a manual setup (not using rmsetup): Add manually to your system sudo access for the pb account to the local package install and update command such as /bin/rpm e.g: -
devel/pb-modules/Makefile.PL
r2279 r2289 84 84 # Produce the man page for pb.yml 85 85 $text .= "\t".'mkdir -p $(DESTDIR)'."$mandir/man5\n"; 86 $text .= "\t".'pod2man --section=5 etc/pb. conf.pod > $(DESTDIR)'."$mandir/man5/pb.conf.5\n";86 $text .= "\t".'pod2man --section=5 etc/pb.yml.pod > $(DESTDIR)'."$mandir/man5/pb.yml.5\n"; 87 87 return($text); 88 88 } -
devel/pb-modules/lib/ProjectBuilder/Distribution.pm
r2287 r2289 107 107 Mandriva, Open SuSE and Fedora have all the same "rpm" type of build system. Ubuntu and Debian have the same "deb" type of build system. 108 108 And "fc" is the extension generated for all Fedora packages (Version will be added by pb). 109 All this information is stored in an external configuration file typically at /etc/pb/pb. conf109 All this information is stored in an external configuration file typically at /etc/pb/pb.yml 110 110 111 111 When passing the distribution name and version as parameters, the B<pb_distro_init> function returns the parameter of that distribution instead of the underlying one. … … 643 643 my $dirdest = ""; 644 644 my $reponame = ""; 645 # TODO: could go in pb. confin fact645 # TODO: could go in pb.yml in fact 646 646 if ($pbos->{install} =~ /\byum\b/) { 647 647 $reponame="yum";
Note:
See TracChangeset
for help on using the changeset viewer.