Miss. Alice Halim

2009-02-06 Thread Miss. Alice Halim
Hi Dear,
How are you today I hope that everything is ok with you as it is my great 
pleasure to contact you in having communication with you starting from today, 
please i wish you will have the desire with me so that we can get to know each 
other better and see what happens in future. 
 
I will be very happy if you can write me through my email for easy 
communication so that we can know each other, I will give you my pictures and 
details about me upon hearing from you. waiting for your response as i wish you 
all the best.
 
Your new friend
 
Miss Alice Halim
 


-
Find the home of your dreams with eircom net property
Sign up for email alerts now http://www.eircom.net/propertyalerts



-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#514237: debian-cd: Support non-i386 mirrors, and support D-I modules in non-main

2009-02-06 Thread Frans Pop
On Thursday 05 February 2009, Frans Pop wrote:
> On Thursday 05 February 2009, Jonathan Hall wrote:
> > --- debian-cd/tools/update_tasks(revision 7407)
> > +++ debian-cd/tools/update_tasks(revision 7487)

> Wouldn't it be much simpler to use tools/which_deb instead?
> That would also avoid having arch lists (which will need to be
> updated!) all over the place.

This is not going to work as we don't only need the tasksel package, but 
also the Packages file for a specific arch as that is our basis for the 
task expansion. So, although which_deb could be used to get tasksel, it 
would not solve the whole problem.

So the following really has to be implemented in update_tasks itself.

On Thursday 05 February 2009, Frans Pop wrote:
> So IMO:
> * ideally we should run update_tasks for every architecture separately,
>   using the Packages file for that arch; for source-only CDs we should
>   use i386 with fallback to amd64, and fail otherwise
> * but as long as we do not do that
>   - for binary or binary/source CDs: prefer i386, with fallback to:
> 1) amd64
> 2) arches listed in $ARCHES
>   - for source-only CDs: use i386, with fallback to amd64, and fail
> otherwise

But, given the reasons I gave in [1], we could also do this a bit 
differently and as a bonus improve the task expansion:

* if ARCHES contains a single arch OR a single arch + "source", then
  use that arch
* if ARCHES contains multiple arches or is source-only, then use i386
  with a fallback to the arches listed in ARCHES

This means in most cases we'll do exactly the right thing. Except for 
multi-arch images, and for those we use the most "generic" default we 
have, which at least ensures consistency ("amd64 i386 powerpc" will give 
the same result as "powerpc amd64 i386").

[1] http://bugs.debian.org/514237#40



-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#514237: New patch to address some issues

2009-02-06 Thread Jonathan Hall
This new patch, I believe, addresses most of the issues that have been 
brought up with my initial patch, and one or two others:


* It eliminates the hard-coded list of arches in which_deb, 
update_tasks, and generate_di_lists, in favor of the ARCHES environment 
variable, and falls back to (i386, amd64) when the ARCHES variable is 
unavailable, or when building a source-only CD

* update_tasks uses which_deb to determine a valid/existing arch
* It does not address the issue of running update_tasks independently 
for each arch; I'm afraid I don't fully understand how update_tasks is 
used well enough to make this change at the current time
* which_deb and generate_di_list now build the @components array 
explicitly, based on whether CONTRIB, NONFREE, and LOCAL variables are 
set, rather than just looking for directory names that exist under the 
pool/ directory--this in response to some comments Frans made in 
relation to another forum thread.
* which_deb now needs to be able to look up 'coreutils', which I 
allowed by creating a fall-through mode, effectively making which_deb 
work for any existing deb--I hope this approach is sane




Index: tools/update_tasks
===
--- tools/update_tasks(revision 7407)
+++ tools/update_tasks(revision 7522)
@@ -149,10 +149,15 @@
}' | sort -s -n -k1 | cut -d: -f2 >> $file
}

-# We need to gunzip a copy of the appropriate Packages.gz file
-# Assume i386, use the $CODENAME main Packages file
+# Look for the coreutils package (which should exist in all archs, and is
+# a non -all package) to determine a valid arch for the rest of this
+# script
+arch=$(which_deb $MIRROR $CODENAME coreutils binary | sed -e 
"s/\.deb//" -e "s/.*_//")

+
+# We need to gunzip a copy of the appropriate Packages.gz file(s)
TMP_PKG=$TDIR/Packages
-zcat $MIRROR/dists/$CODENAME/main/binary-i386/Packages.gz > $TMP_PKG
+zcat $MIRROR/dists/$CODENAME/main/binary-$arch/Packages.gz > $TMP_PKG
+[ -n "$LOCAL" ] && zcat 
$MIRROR/dists/$CODENAME/local/binary-$arch/Packages.gz >> $TMP_PKG


# Now grab the appropriate tasksel package
TASKSEL_DEB=$MIRROR/`mawk '
Index: tools/make_disc_trees.pl
===
--- tools/make_disc_trees.pl(revision 7407)
+++ tools/make_disc_trees.pl(revision 7522)
@@ -735,7 +735,7 @@
}


$pdir = "$dir/dists/$codename/$dist";
-if ($section eq "debian-installer") {
+if ($section and $section eq "debian-installer") {
$pdir = "$dir/dists/$codename/$dist/debian-installer";
}
return $pdir;
Index: tools/generate_di_list
===
--- tools/generate_di_list(revision 7407)
+++ tools/generate_di_list(revision 7522)
@@ -5,9 +5,19 @@
die "Missing \$MIRROR variable" unless $ENV{MIRROR};
die "Missing \$DI_CODENAME variable" unless $ENV{DI_CODENAME};
die "Missing \$BASEDIR variable" unless $ENV{BASEDIR};
+die "Missing \$ARCHES variable" unless $ENV{ARCHES};

-my @ARCHES=qw{alpha arm armel hppa hurd-i386 i386 ia64 mips mipsel
-  powerpc s390 sparc amd64};
+# Early exit if we're building a source-only CD
+exit 0 if $ENV{ARCHES} =~ /^\s*source\s*$/;
+
+my @ARCHES;
+if ( $ENV{ARCHES} ) {
+push @ARCHES, 'i386' if $ENV{ARCHES} =~ /i386/;
+push @ARCHES, 'amd64' if $ENV{ARCHES} =~ /amd64/;
+push @ARCHES, grep { !/source|i386|amd64/ } split /\s+/, $ENV{ARCHES};
+}
+...@arches = qw{i386 amd64} unless @ARCHES;
+
my $DATE=`date`;
chomp $DATE;
open(OUT, ">debian-installer") || die "write: $!";
@@ -24,32 +34,42 @@
EOF

my @common_excludes = read_exclude("exclude-udebs");
-
+my $mirror_path = "$ENV{MIRROR}/dists/$ENV{DI_CODENAME}";
+my @components = qw(main);
+push @components, 'contrib' if $ENV{CONTRIB};
+push @components, 'non-free' if $ENV{NONFREE};
+push @components, 'local' if $ENV{LOCAL};
foreach my $arch (@ARCHES) {
-my 
$packagefile="$ENV{MIRROR}/dists/$ENV{DI_CODENAME}/main/debian-installer/binary-$arch/Packages.gz";

-unless (-f $packagefile) {
-print "Missing package file for arch $arch.\n";
-next;
-}
(my $cpparch = $arch) =~ s/-/_/g;
-print OUT "#ifdef ARCH_$cpparch\n";
-my @exclude = @common_excludes;
-push @exclude, read_exclude("exclude-udebs-$arch")
-if -e exclude_path("exclude-udebs-$arch");
-UDEB:foreach my $udeb (map { chomp; $_ } `zcat $packagefile | awk 
'/^Package:/ {print \$2}'`) {

-foreach my $pattern (@exclude) {
-if ($udeb =~ /^$pattern$/) {
-next UDEB;
-}
+my $output = '';
+for my $component ( @components ) {
+my 
$packagefile="$mirror_path/$component/debian-installer/binary-$arch/Packages.gz";

+if ( $component eq 'local' and $ENV{LOCALDEBS} ) {
+   
$packagefile="$ENV{LOCALDEBS}/dists/$ENV{DI_CODENAME}/local/debian-installer/binary-$arch/Packages.gz";

}
-print OUT "$udeb\n";