|
|
|
@ -178,10 +178,10 @@ system ("mkdir -p ${dir}etc/apt/preferences.d/")
|
|
|
|
|
if (not -d "${dir}etc/apt/preferences.d/");
|
|
|
|
|
system ("mkdir -p ${dir}usr/share/info/dir")
|
|
|
|
|
if (not -d "${dir}usr/share/info/dir");
|
|
|
|
|
#system ("mkdir -p ${dir}/usr/share/doc/gcc-4.2-base/")
|
|
|
|
|
# if (not -d "${dir}/usr/share/doc/gcc-4.2-base/");
|
|
|
|
|
#system ("touch ${dir}/usr/share/doc/gcc-4.2-base/.copyright");
|
|
|
|
|
#system ("touch ${dir}/usr/share/doc/gcc-4.2-base/#changelog.Debian.gz");
|
|
|
|
|
system ("mkdir -p ${dir}/usr/share/doc/gcc-4.2-base/")
|
|
|
|
|
if (not -d "${dir}/usr/share/doc/gcc-4.2-base/");
|
|
|
|
|
system ("touch ${dir}/usr/share/doc/gcc-4.2-base/.copyright");
|
|
|
|
|
system ("touch ${dir}/usr/share/doc/gcc-4.2-base/changelog.Debian.gz");
|
|
|
|
|
my $msg = sprintf(_g("Unable to create directory '%s'\n"), "${dir}etc/apt/preferences.d/");
|
|
|
|
|
die ($msg)
|
|
|
|
|
if (not -d "${dir}etc/apt/preferences.d/");
|
|
|
|
@ -1009,4 +1009,11 @@ A native multistrap can be used directly with chroot, so
|
|
|
|
|
C<multistrap> runs C<dpkg --configure -a> at the end of the
|
|
|
|
|
multistrap process.
|
|
|
|
|
|
|
|
|
|
=head1 Local repositories
|
|
|
|
|
|
|
|
|
|
apt will not download packages from repositories that use the
|
|
|
|
|
file:// type, so multistrap is unable to locate the package
|
|
|
|
|
files. Always use a http:// or ftp:// method like
|
|
|
|
|
F<http://localhost/debian>.
|
|
|
|
|
|
|
|
|
|
=cut
|
|
|
|
|