Changeset 268


Ignore:
Timestamp:
Oct 30, 2007, 1:56:26 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • Some updates for Ubuntu 7.10 in VM setup
  • attempt to fix date issue
Location:
devel/pb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r266 r268  
    701701    print SCRIPT "mv .pbrc \$HOME\n";
    702702    print SCRIPT "cd ..\n";
    703     # Force new date to be in the future compared to the date of the tar file by removing 1 minute
     703    # Force new date to be in the future compared to the date of the tar file by adding 1 minute
    704704    my @date=(localtime->sec(), localtime->min(), localtime->hour(), localtime->mday(), localtime->mon(), localtime->year(), localtime->wday(), localtime->yday(), localtime->isdst());
    705     $date[1]--;
     705    $date[1]++;
    706706    my $upddate = strftime("%m%d%H%M%Y", @date);
    707707    print SCRIPT "echo Setting up date on $vmntp...\n";
     708    # Or use ntpdate if available
    708709    print SCRIPT "sudo date $upddate\n";
    709710    print SCRIPT "export PBROOT=\`pwd\`\n";
  • devel/pb/contrib/pbsetupqemu

    r235 r268  
    106106    if (( $dver eq "3.1" ) && ($ddir eq "debian")) {
    107107        system "apt-get update; apt-get -y install autoconf automake libtool g++ wget patch mondo groff imagemagick docbook-utils docbook2x docbook-to-man ssh dpkg-dev sudo debian-builder dh-make fakeroot libnewt-dev ntpdate libncurses5-dev libdate-manip-perl libappconfig-perl";
    108     } else {
     108    } elsif (( $dver eq "7.10" ) && ($ddir eq "ubuntu")) {
     109        system "apt-get update; apt-get -y install autoconf automake libtool g++ wget patch groff imagemagick docbook-utils docbook2x docbook-to-man openssh-server dpkg-dev sudo debian-builder dh-make fakeroot libnewt-dev ntpdate libncurses5-dev libdate-manip-perl libappconfig-perl wodim genisoimage afio buffer";
     110    } else  {
    109111        system "apt-get update; apt-get -y install autoconf automake libtool g++ wget patch mondo groff imagemagick docbook-utils docbook2x docbook-to-man openssh-server dpkg-dev sudo debian-builder dh-make fakeroot libnewt-dev ntpdate libncurses5-dev libdate-manip-perl libappconfig-perl";
    110112    }
Note: See TracChangeset for help on using the changeset viewer.