Changeset 220 in ProjectBuilder


Ignore:
Timestamp:
Oct 15, 2007, 2:13:20 PM (17 years ago)
Author:
Bruno Cornec
Message:
  • date done with sudo in the VM before running pb to avoid time issues
  • Really no macro in spec file for other rpm distro than Mandriva
Location:
devel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r211 r220  
    124124    pb_build2pkg();
    125125} elsif ($action =~ /^build2ssh$/) {
     126    pb_build2ssh();
     127} elsif ($action =~ /^cms2ssh$/) {
     128    pb_cms2build();
    126129    pb_build2ssh();
    127130} elsif ($action =~ /^pkg2ssh$/) {
     
    658661    # Prepare the script to be executed on the VM
    659662    # in $ENV{'PBDESTDIR'}/pbscript
     663    my ($ntp) = pb_conf_get("vmntp");
     664    my $vmntp = $ntp->{$ENV{'PBPROJ'}};
    660665    open(SCRIPT,"> $ENV{'PBDESTDIR'}/pbscript") || die "Unable to create $ENV{'PBDESTDIR'}/pbscript";
    661666    print SCRIPT "#!/bin/bash\n";
     
    669674    print SCRIPT "mv .pbrc \$HOME\n";
    670675    print SCRIPT "cd ..\n";
     676    my $upddate = strftime("%m%d%H%M%Y", @date);
     677    print SCRIPT "echo Setting up date on $vmntp...\n";
     678    print SCRIPT "sudo date $upddate\n";
    671679    print SCRIPT "export PBROOT=\`pwd\`\n";
    672680    print SCRIPT "# Build\n";
     
    850858    print "\tbuild2ssh: Send the tar files to a SSH host               \n";
    851859    print "\n";
     860    print "\tcms2ssh:   cms2build + build2ssh\n";
     861    print "\n";
    852862    print "\tpkg2ssh:   Send the packages built to a SSH host          \n";
    853863    print "\n";
  • devel/pb/contrib/pbsetupqemu

    r203 r220  
    110110    }
    111111} elsif ( $dfam eq "gen" ) {
    112     system "emerge neon newt slang autoconf automake subversion libtool gcc wget vim man groff lynx grub afio buffer mindi mondo-rescue cdrecord mkisofs ntp-client";
     112    system "emerge -u system ; emerge neon newt slang autoconf automake subversion libtool gcc wget vim man groff lynx grub afio buffer mindi ntp";
    113113} else {
    114114    print "No pkg to install\n";
  • devel/pbconf/project-builder/rpm/project-builder.spec

    r204 r220  
    3838
    3939%install
    40 %makeinstall_std
     40export DESTDIR=${RPM_BUILD_ROOT}
     41make install
    4142
    4243%clean
Note: See TracChangeset for help on using the changeset viewer.