Add all packages to the source dir, including calculated dependencies.
git-svn-id: http://emdebian.org/svn/current@7358 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
parent
a3aa1d5aee
commit
bccc15c533
3 changed files with 16 additions and 2 deletions
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,3 +1,10 @@
|
||||||
|
multistrap (2.1.7) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add all packages to the source dir, including calculated
|
||||||
|
dependencies.
|
||||||
|
|
||||||
|
-- Neil Williams <codehelp@debian.org> Mon, 02 Aug 2010 17:49:09 -0400
|
||||||
|
|
||||||
multistrap (2.1.6) unstable; urgency=low
|
multistrap (2.1.6) unstable; urgency=low
|
||||||
|
|
||||||
* [INTL:fr] French manpage translation update (Closes: #584679)
|
* [INTL:fr] French manpage translation update (Closes: #584679)
|
||||||
|
|
|
@ -478,6 +478,7 @@ sub force_unpack {
|
||||||
my $pkg=`LC_ALL=C dpkg -f ./${cachedir}archives/$deb Package`;
|
my $pkg=`LC_ALL=C dpkg -f ./${cachedir}archives/$deb Package`;
|
||||||
chomp ($ver);
|
chomp ($ver);
|
||||||
chomp ($pkg);
|
chomp ($pkg);
|
||||||
|
push @dsclist, $pkg;
|
||||||
mkdir ("./tmp");
|
mkdir ("./tmp");
|
||||||
my $tmpdir = `mktemp -p ./tmp -d -t multistrap.XXXXXX`;
|
my $tmpdir = `mktemp -p ./tmp -d -t multistrap.XXXXXX`;
|
||||||
chomp ($tmpdir);
|
chomp ($tmpdir);
|
||||||
|
@ -587,7 +588,11 @@ sub check_bin_sh {
|
||||||
sub tidy_apt {
|
sub tidy_apt {
|
||||||
print _g("I: Tidying up apt cache and list data.\n");
|
print _g("I: Tidying up apt cache and list data.\n");
|
||||||
if (defined $sourcedir) {
|
if (defined $sourcedir) {
|
||||||
my $str = join (" ", @dsclist);
|
my %uniqdsc=();
|
||||||
|
foreach my $a (@dsclist) {
|
||||||
|
$uniqdsc{$a}++;
|
||||||
|
}
|
||||||
|
my $str = join (" ", sort keys %uniqdsc);
|
||||||
print "(cd $sourcedir; apt-get -d $config_str source $str)";
|
print "(cd $sourcedir; apt-get -d $config_str source $str)";
|
||||||
system ("(cd $sourcedir; apt-get -d $config_str source $str)");
|
system ("(cd $sourcedir; apt-get -d $config_str source $str)");
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,9 @@ as noauth=true
|
||||||
--sourcedir DIR - move the contents of var/cache/apt/archives/ from
|
--sourcedir DIR - move the contents of var/cache/apt/archives/ from
|
||||||
inside the chroot to the specified external directory, then add the
|
inside the chroot to the specified external directory, then add the
|
||||||
Debian source packages for each used binary. Same as retainsources=DIR
|
Debian source packages for each used binary. Same as retainsources=DIR
|
||||||
If the specified directory does not exist, nothing is done.
|
If the specified directory does not exist, nothing is done. Requires
|
||||||
|
--tidy-up in order to calculate the full list of source packages,
|
||||||
|
including dependencies.
|
||||||
|
|
||||||
=head1 Description
|
=head1 Description
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue