[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#703433: squeeze build can't find debian-tasks.desc

Package: debian-cd
Version: 3.1.11

Building a squeeze NetInstall CD with the above version of debian-cd results in the error:

can't open /home/idms/tmp/squeeze/update_tasks/tasksel/usr/share/tasksel/descs/debian-tasks.desc: No such file or directory

Seems that that file changed location between squeeze and wheezy.

Attached please find a patch file that fixes the error.

Robert Spencer
--- tools/update_tasks~	2012-06-05 17:28:41.000000000 +0000
+++ tools/update_tasks	2013-03-14 11:14:02.000000000 +0000
@@ -72,6 +72,10 @@
 my $descfile = "usr/share/tasksel/descs/debian-tasks.desc";
+if ($codename eq "squeeze") {
+    $descfile = "usr/share/tasksel/debian-tasks.desc";
 open (TASKS, "$tdir/tasksel/$descfile")
     or die "can't open $tdir/tasksel/$descfile: $!\n";

Reply to: