Allow missing packages lines and add note about using omitdebsrc with debian-ports.
git-svn-id: http://emdebian.org/svn/current@7587 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
parent
c4abe38774
commit
79d2a8c907
3 changed files with 12 additions and 1 deletions
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,3 +1,10 @@
|
||||||
|
multistrap (2.1.9) experimental; urgency=low
|
||||||
|
|
||||||
|
* Allow missing packages lines and add note about using omitdebsrc
|
||||||
|
with debian-ports.
|
||||||
|
|
||||||
|
-- Neil Williams <codehelp@debian.org> Fri, 29 Oct 2010 15:27:21 +0100
|
||||||
|
|
||||||
multistrap (2.1.8) experimental; urgency=low
|
multistrap (2.1.8) experimental; urgency=low
|
||||||
|
|
||||||
[ Wookey ]
|
[ Wookey ]
|
||||||
|
|
|
@ -972,6 +972,7 @@ sub dump_config {
|
||||||
# explain the bootstrap section details explicitly and just refer to
|
# explain the bootstrap section details explicitly and just refer to
|
||||||
# those for the apt sources.
|
# those for the apt sources.
|
||||||
foreach my $sect_name (@check) {
|
foreach my $sect_name (@check) {
|
||||||
|
next unless (defined $packages{$sect_name});
|
||||||
printf ("Section name:\t$sect_name\n");
|
printf ("Section name:\t$sect_name\n");
|
||||||
print "\tsource:\t\t$sources{$sect_name}\n";
|
print "\tsource:\t\t$sources{$sect_name}\n";
|
||||||
my @sorted = split(/ /, $packages{$sect_name});
|
my @sorted = split(/ /, $packages{$sect_name});
|
||||||
|
@ -1006,7 +1007,7 @@ sub dump_config {
|
||||||
$srcmsg .= sprintf(" %s",_g("None."));
|
$srcmsg .= sprintf(" %s",_g("None."));
|
||||||
} else {
|
} else {
|
||||||
foreach my $omit (sort keys %omitdebsrc) {
|
foreach my $omit (sort keys %omitdebsrc) {
|
||||||
$srcmsg .= $omitdebsrc{$omit} if (defined $omitdebsrc{$omit});
|
$srcmsg .= " " . $omitdebsrc{$omit} if (defined $omitdebsrc{$omit});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print "$srcmsg\n";
|
print "$srcmsg\n";
|
||||||
|
|
|
@ -462,6 +462,9 @@ apt-cache size), use the omitdebsrc field in each Section.
|
||||||
suite=testing
|
suite=testing
|
||||||
omitdebsrc=true
|
omitdebsrc=true
|
||||||
|
|
||||||
|
omitdebsrc is necessary when using packages from debian-ports where
|
||||||
|
packages do not have sources, except "unreleased".
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
=head1 fakeroot
|
=head1 fakeroot
|
||||||
|
|
Loading…
Reference in a new issue