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

Missing packages on usbstick ISO image



Hi,

the package ssh-askpass is listed both as Recommends and Avoid in 
different debian-edu.git/tasks files. While that's ok, it leads to an 
exclusion of the package from the image; see the file 
[CD-administrator]/missingpkglist-stretch-usbstick.txt

Maybe the build.sh script could be changed somehow like below to catch 
this case (and similar ones)?

--- a/build.sh	2017-03-28 15:15:39.499715175 +0200
+++ b/build.sh	2017-03-28 15:26:36.966471158 +0200
@@ -130,6 +130,15 @@
      grep -v '^#' ./wantedpkglist-$suite.txt > debian-cd/tasks/$deb_ver/debian-edu
      grep -v '^#' ./unwantedpkglist-$suite.txt > debian-cd/tasks/$deb_ver/debian-edu-exclude
      ;;
+  stretch)
+     grep -v '^#' ./wantedpkglist-$suite.txt > debian-cd/tasks/$deb_ver/debian-edu
+     grep -v '^#' ./unwantedpkglist-$suite.txt > debian-cd/tasks/$deb_ver/debian-edu-exclude
+     for i in $(cat debian-cd/tasks/$deb_ver/debian-edu-exclude) ; do
+	if grep -woq $i debian-cd/tasks/$deb_ver/debian-edu ; then
+	   sed -i "/$i/d" debian-cd/tasks/$deb_ver/debian-edu-exclude
+	fi
+     done  
+     ;;
    *)
      grep -v '^#' ./wantedpkglist-$suite.txt > debian-cd/tasks/$deb_ver/debian-edu
      grep -v '^#' ./unwantedpkglist-$suite.txt > debian-cd/tasks/$deb_ver/debian-edu-exclude

 
Wolfgang

Attachment: signature.asc
Description: PGP signature


Reply to: