Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2019-01-12 Thread Holger Levsen
On Sat, Jan 12, 2019 at 10:08:40AM +0100, Wolfgang Schweer wrote:
> After reading this thread again I figure that commit 805900a (see below)
> (in debian-cd-setup, not debian-cd) needs to be reverted in order to get 
> smaller BDs.

I've reverted that commit now.

> IIRC it has been this commit that triggered the big ones again (and the 
> now merged patch tries to get offline useable BDs w/o the need to mark 
> them explicitly as complete via removing COMPLETE=0). I'm aware that the 
> last remark sounds a bit weird, but that's how it works to my 
> understanding.

ok, we'll see! :)


-- 
cheers,
Holger

---
   holger@(debian|reproducible-builds|layer-acht).org
   PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2019-01-12 Thread Wolfgang Schweer
On Fri, Jan 11, 2019 at 02:00:58PM +, Holger Levsen wrote:
> On Fri, Oct 26, 2018 at 04:56:56PM +0200, Wolfgang Schweer wrote:
> > > As far as I was able to find out, the Debian Edu ISO image build process 
> > > on maintainer.skolelinux.no has been using this (also attached) patch to 
> > > write a content to .disk/cd_type enabling offline installation:
> > ping. Missing attachment should really be attatched this time.
> 
> as discussed on #debian-cd I've merged this patch now.
> 
> KGB-0- | (#debian-cd) debian-cd master 15b482d Holger Levsen 
>  tools/start_new_disc * start_new_disc: correct disk/cd-type for all 
> types 
>* https://deb.li/emfG
 
Thanks.
After reading this thread again I figure that commit 805900a (see below)
(in debian-cd-setup, not debian-cd) needs to be reverted in order to get 
smaller BDs.
IIRC it has been this commit that triggered the big ones again (and the 
now merged patch tries to get offline useable BDs w/o the need to mark 
them explicitly as complete via removing COMPLETE=0). I'm aware that the 
last remark sounds a bit weird, but that's how it works to my 
understanding.

diff --git a/buster/cronjob.weekly b/buster/cronjob.weekly
index 0e56a8b..4443d3b 100755
--- a/buster/cronjob.weekly
+++ b/buster/cronjob.weekly
@@ -304,7 +304,7 @@ if lockfile -r0 $BUILDLOCK ; then
if [ "$NOUSB"x = ""x ] ; then
# USB "BD" image
build_started EDUUSB
-   COMPLETE=0 INSTALLER_CD=K \
+   INSTALLER_CD=K \
CDNAME=debian-edu-usb \
DEBIAN_EDU=1 \

KERNEL_PARAMS="modules=debian-edu-install-udeb" \
@@ -317,7 +317,7 @@ if lockfile -r0 $BUILDLOCK ; then
 
# USB "BD" image with firmware
build_started EDUUSBFIRMWARE
-   COMPLETE=0 INSTALLER_CD=L \
+   INSTALLER_CD=L \
FORCE_FIRMWARE=1 \
CDNAME=firmware-edu-usb \
DEBIAN_EDU=1 \

Please check.

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2019-01-11 Thread Holger Levsen
On Fri, Oct 26, 2018 at 04:56:56PM +0200, Wolfgang Schweer wrote:
> > As far as I was able to find out, the Debian Edu ISO image build process 
> > on maintainer.skolelinux.no has been using this (also attached) patch to 
> > write a content to .disk/cd_type enabling offline installation:
> ping. Missing attachment should really be attatched this time.

as discussed on #debian-cd I've merged this patch now.

KGB-0- | (#debian-cd) debian-cd master 15b482d Holger Levsen 
 tools/start_new_disc * start_new_disc: correct disk/cd-type for all 
types 
 * https://deb.li/emfG


-- 
cheers,
Holger

---
   holger@(debian|reproducible-builds|layer-acht).org
   PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-10-26 Thread Wolfgang Schweer
On Tue, Sep 11, 2018 at 11:09:30AM +0200, Wolfgang Schweer wrote:
> On Sun, Sep 09, 2018 at 03:53:30PM +0200, Wolfgang Schweer wrote:
> > While disk/cd_type now correctly says 
> > 'bluray', the ISO image is way too big again (21GB), maybe caused by 
> > removing COMPLETE=0 from cronjob.weekly?
> > 
> > As far as I understand, disk/cd_type is written by tools/start_new_disc; 
> > so would it be possible to add another if statement for USB?
> 
> As far as I was able to find out, the Debian Edu ISO image build process 
> on maintainer.skolelinux.no has been using this (also attached) patch to 
> write a content to .disk/cd_type enabling offline installation:
> 
> diff --git a/tools/start_new_disc b/tools/start_new_disc
> index 21f412f..0b64a7e 100755
> --- a/tools/start_new_disc
> +++ b/tools/start_new_disc
> @@ -199,7 +199,25 @@ if [ $DISKNUM = 1 ] ; then
>  fi
>  fi
>  else
> -echo "not_complete" > $CDDIR/.disk/cd_type
> +if [ $DISKTYPE = DVD ] || [ $DISKTYPE = DLDVD ]; then
> +if [ "$MAXCDS"x = "1"x ]; then
> +echo "dvd/single/not_complete" > $CDDIR/.disk/cd_type
> +else
> +echo "dvd/not_complete" > $CDDIR/.disk/cd_type
> +fi
> +elif [ $DISKTYPE = BD ] || [ $DISKTYPE = DLBD ]; then
> +if [ "$MAXCDS"x = "1"x ]; then
> +echo "bluray/single/not_complete" > $CDDIR/.disk/cd_type
> +else
> +echo "bluray/not_complete" > $CDDIR/.disk/cd_type
> +fi
> +else
> +if [ "$MAXCDS"x = "1"x ]; then
> +echo "cd/single/not_complete" > $CDDIR/.disk/cd_type
> +else
> +echo "cd/not_complete" > $CDDIR/.disk/cd_type
> +fi
> +fi
>  fi
>  
>  if [ $NUM_ARCHES -gt 1 ]; then
> 
> Steve, could you please check if the Debian Edu patch would be 
> acceptable for the more general case as well?
 
Hi Steve,

ping. Missing attachment should really be attatched this time.

Wolfgang
diff --git a/tools/start_new_disc b/tools/start_new_disc
index 21f412f..0b64a7e 100755
--- a/tools/start_new_disc
+++ b/tools/start_new_disc
@@ -199,7 +199,25 @@ if [ $DISKNUM = 1 ] ; then
 fi
 fi
 else
-echo "not_complete" > $CDDIR/.disk/cd_type
+if [ $DISKTYPE = DVD ] || [ $DISKTYPE = DLDVD ]; then
+if [ "$MAXCDS"x = "1"x ]; then
+echo "dvd/single/not_complete" > $CDDIR/.disk/cd_type
+else
+echo "dvd/not_complete" > $CDDIR/.disk/cd_type
+fi
+elif [ $DISKTYPE = BD ] || [ $DISKTYPE = DLBD ]; then
+if [ "$MAXCDS"x = "1"x ]; then
+echo "bluray/single/not_complete" > $CDDIR/.disk/cd_type
+else
+echo "bluray/not_complete" > $CDDIR/.disk/cd_type
+fi
+else
+if [ "$MAXCDS"x = "1"x ]; then
+echo "cd/single/not_complete" > $CDDIR/.disk/cd_type
+else
+echo "cd/not_complete" > $CDDIR/.disk/cd_type
+fi
+fi
 fi
 
 if [ $NUM_ARCHES -gt 1 ]; then


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-09-11 Thread Wolfgang Schweer
On Sun, Sep 09, 2018 at 03:53:30PM +0200, Wolfgang Schweer wrote:
> While disk/cd_type now correctly says 
> 'bluray', the ISO image is way too big again (21GB), maybe caused by 
> removing COMPLETE=0 from cronjob.weekly?
> 
> As far as I understand, disk/cd_type is written by tools/start_new_disc; 
> so would it be possible to add another if statement for USB?

As far as I was able to find out, the Debian Edu ISO image build process 
on maintainer.skolelinux.no has been using this (also attached) patch to 
write a content to .disk/cd_type enabling offline installation:

diff --git a/tools/start_new_disc b/tools/start_new_disc
index 21f412f..0b64a7e 100755
--- a/tools/start_new_disc
+++ b/tools/start_new_disc
@@ -199,7 +199,25 @@ if [ $DISKNUM = 1 ] ; then
 fi
 fi
 else
-echo "not_complete" > $CDDIR/.disk/cd_type
+if [ $DISKTYPE = DVD ] || [ $DISKTYPE = DLDVD ]; then
+if [ "$MAXCDS"x = "1"x ]; then
+echo "dvd/single/not_complete" > $CDDIR/.disk/cd_type
+else
+echo "dvd/not_complete" > $CDDIR/.disk/cd_type
+fi
+elif [ $DISKTYPE = BD ] || [ $DISKTYPE = DLBD ]; then
+if [ "$MAXCDS"x = "1"x ]; then
+echo "bluray/single/not_complete" > $CDDIR/.disk/cd_type
+else
+echo "bluray/not_complete" > $CDDIR/.disk/cd_type
+fi
+else
+if [ "$MAXCDS"x = "1"x ]; then
+echo "cd/single/not_complete" > $CDDIR/.disk/cd_type
+else
+echo "cd/not_complete" > $CDDIR/.disk/cd_type
+fi
+fi
 fi
 
 if [ $NUM_ARCHES -gt 1 ]; then

Steve, could you please check if the Debian Edu patch would be 
acceptable for the more general case as well?

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-09-09 Thread Wolfgang Schweer
On Tue, Aug 21, 2018 at 02:17:31PM +0100, Steve McIntyre wrote:
> On Tue, Aug 21, 2018 at 12:13:09AM +0200, Wolfgang Schweer wrote:
> >On Sun, Jul 29, 2018 at 01:20:47PM +0100, Steve McIntyre wrote:
> >> On Sun, Jul 29, 2018 at 11:55:45AM +, Holger Levsen wrote:
> >> >I think we should still keep this bug open though, to finish the last
> >> >remaining bit: the offline USB image...
> >
> >Thanks for providing the USB image! Just checked the one built today. 
> >The ISO image seems to contain all packages needed, but one thing is 
> >still missing for this image to be usable in offline mode:
> >
> >[BD ISO image]/.disk/disk_type says 'not_complete'; the content should 
> >be 'bluray' for the image to be usable offline, because otherwise 
> >apt-setup (and some Debian Edu code as well) would try to connect to the 
> >network and fail.
> >
> >I figure setting 'export DISKTYPE=BD' in the related CONF.sh file would 
> >do it right (the default is DISKTYPE=CD).
> 
> It was already being set in the "testingcds" script, but there was a
> stray "COMPLETE=0" that had been copied from the netinst image
> config. I've just removed that now.

Hi Steve,

sorry for the late feedback. After some time on mobile only, I managed 
to check the image again. While disk/cd_type now correctly says 
'bluray', the ISO image is way too big again (21GB), maybe caused by 
removing COMPLETE=0 from cronjob.weekly?

As far as I understand, disk/cd_type is written by tools/start_new_disc; 
so would it be possible to add another if statement for USB?

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-08-21 Thread Steve McIntyre
On Tue, Aug 21, 2018 at 12:13:09AM +0200, Wolfgang Schweer wrote:
>On Sun, Jul 29, 2018 at 01:20:47PM +0100, Steve McIntyre wrote:
>> On Sun, Jul 29, 2018 at 11:55:45AM +, Holger Levsen wrote:
>> >I think we should still keep this bug open though, to finish the last
>> >remaining bit: the offline USB image...
>
>Thanks for providing the USB image! Just checked the one built today. 
>The ISO image seems to contain all packages needed, but one thing is 
>still missing for this image to be usable in offline mode:
>
>[BD ISO image]/.disk/disk_type says 'not_complete'; the content should 
>be 'bluray' for the image to be usable offline, because otherwise 
>apt-setup (and some Debian Edu code as well) would try to connect to the 
>network and fail.
>
>I figure setting 'export DISKTYPE=BD' in the related CONF.sh file would 
>do it right (the default is DISKTYPE=CD).
>
>Steve, would it be possible to try this change?

Hey Wolfgang,

It was already being set in the "testingcds" script, but there was a
stray "COMPLETE=0" that had been copied from the netinst image
config. I've just removed that now.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"Further comment on how I feel about IBM will appear once I've worked out
 whether they're being malicious or incompetent. Capital letters are forecast."
 Matthew Garrett, http://www.livejournal.com/users/mjg59/30675.html



Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-08-20 Thread Wolfgang Schweer
On Sun, Jul 29, 2018 at 01:20:47PM +0100, Steve McIntyre wrote:
> On Sun, Jul 29, 2018 at 11:55:45AM +, Holger Levsen wrote:
> >I think we should still keep this bug open though, to finish the last
> >remaining bit: the offline USB image...

Thanks for providing the USB image! Just checked the one built today. 
The ISO image seems to contain all packages needed, but one thing is 
still missing for this image to be usable in offline mode:

[BD ISO image]/.disk/disk_type says 'not_complete'; the content should 
be 'bluray' for the image to be usable offline, because otherwise 
apt-setup (and some Debian Edu code as well) would try to connect to the 
network and fail.

I figure setting 'export DISKTYPE=BD' in the related CONF.sh file would 
do it right (the default is DISKTYPE=CD).

Steve, would it be possible to try this change?

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-08-09 Thread Wolfgang Schweer
On Wed, Aug 08, 2018 at 10:33:41PM +, Holger Levsen wrote:
> On Tue, Jul 31, 2018 at 12:36:35PM +0200, Wolfgang Schweer wrote:
> > > > do you have a pointer to an "old" ignore.txt and avoid.txt? i cannot
> > > > find it in my old edu svn checkout...
> I suppose we don't need those avoidlists anymore, today?!
 
To my understanding these were once needed to keep the image small 
enough to fit the DVD size; this problem disappeared as soon as images 
of type BD were generated.

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-08-09 Thread Wolfgang Schweer
On Wed, Aug 08, 2018 at 10:31:51PM +, Holger Levsen wrote:
> On Tue, Aug 07, 2018 at 12:40:09PM +0200, Wolfgang Schweer wrote:
> > So this might work:
> > 
> > diff --git a/tasks/buster/debian-edu b/tasks/buster/debian-edu

> I've done this change in debian-cd.git now, but as you said(?), this
> will probably not be enough for the BD image, or will it?

It'll be enough (hopefully). 

> Else we need to add them via tools/generate_debian-edu_task or probably
> better via tasks/buster/Debian-edu-full

Yes, but I tried to keep the above as simple as it is now.
 
> Steve, do you think we could have Stretch Edu images too or is there
> some problem (*besides* the non-free issue still present in Stretch
> today, but I think we could fix this with a point release, see #474745
> for details...)

Thinking about it again, there's one additional point: for the BD image 
to be usefull for offline installations, a multiarch (amd64 and i386) 
image is needed. Reason: the Debian Edu Stretch LTSP chroot is i386 by 
default (for Buster the chroot arch defaults to the server arch).

So maybe too much work.
 
Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-08-08 Thread Holger Levsen
On Tue, Jul 31, 2018 at 12:36:35PM +0200, Wolfgang Schweer wrote:
> > > do you have a pointer to an "old" ignore.txt and avoid.txt? i cannot
> > > find it in my old edu svn checkout...
> > actually it's avoidpackages.txt (generated via blends-dev at build 
> > time, afaict).
> see the 'grep avoid /usr/share/blends-dev/Makefile' output.

ah, thanks!

I suppose we don't need those avoidlists anymore, today?!


-- 
cheers,
Holger

---
holger@(debian|reproducible-builds).org


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-08-08 Thread Holger Levsen
On Tue, Aug 07, 2018 at 12:40:09PM +0200, Wolfgang Schweer wrote:
> After looking up the installation process once again (both netinst and 
> BD image as of 2018-08-06), I noticed that the netinst image could be 
> considerably reduced in size; besides the kernel params only three udebs 
> seem to be needed in addition to the stock Debian netinst image, 
> everything else could be fetched from the network.

Thanks for your analysis and your patches, Wolfgang!

> So this might work:
> 
> diff --git a/tasks/buster/debian-edu b/tasks/buster/debian-edu

I've done this change in debian-cd.git now, but as you said(?), this
will probably not be enough for the BD image, or will it?

Else we need to add them via tools/generate_debian-edu_task or probably
better via tasks/buster/Debian-edu-full

> As far as the BD image is concerned, the size has come considerably down 
> (< 3 GiB for both amd64 and i386). 

cool!

> Now all education-desktop-* packages 
> should be kept on the list, OTOH education-video could be excluded.
 
done in debian-cd.git

> There are some packages missing on the BD image; these should be pulled 
> in once newer binary packages from src:debian-edu and 
> src:debian-edu-install are available in testing.

ok. as you'll have seen, I've uploaded new versions of these packages to
sid today...

> Thanks for providing all these Debian Edu installation media!

I'm pretty happy about this too! blog-post pending...

Steve, do you think we could have Stretch Edu images too or is there
some problem (*besides* the non-free issue still present in Stretch
today, but I think we could fix this with a point release, see #474745
for details...)

The last half sentence is probably a note for myself, but the beginning
of that Paragraph is for Steve :) though this probably also means we'll
need to Stretch point releases until we'd have Edu Stretch images
again. (Our existing Stretch builds have been broken over time, also
because of the Alioth shutdown...)


-- 
cheers,
Holger

---
holger@(debian|reproducible-builds).org


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-08-07 Thread Wolfgang Schweer
On Sun, Jul 29, 2018 at 04:32:26AM +0100, Steve McIntyre wrote:
[..]
> The set of debian-edu packages are making the netinst quite a lot 
> larger than the normal Debian netinst already, which is surprising!

After looking up the installation process once again (both netinst and 
BD image as of 2018-08-06), I noticed that the netinst image could be 
considerably reduced in size; besides the kernel params only three udebs 
seem to be needed in addition to the stock Debian netinst image, 
everything else could be fetched from the network.

So this might work:

diff --git a/tasks/buster/debian-edu b/tasks/buster/debian-edu
index d93d99c..7907a6e 100644
--- a/tasks/buster/debian-edu
+++ b/tasks/buster/debian-edu
@@ -1,10 +1,3 @@
 debian-edu-install-udeb
-debian-edu-config
-debian-edu-install
 debian-edu-profile-udeb
 ltsp-client-builder
-
-/* see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846006#92 for
- * why the next two are needed */
-exim4-daemon-heavy
-sudo-ldap

As far as the BD image is concerned, the size has come considerably down 
(< 3 GiB for both amd64 and i386). Now all education-desktop-* packages 
should be kept on the list, OTOH education-video could be excluded.

So this might be ok:

diff --git a/tools/generate_debian-edu_task b/tools/generate_debian-edu_task
index 4105f3a..85949a3 100755
--- a/tools/generate_debian-edu_task
+++ b/tools/generate_debian-edu_task
@@ -52,13 +52,11 @@ print OUT " */\n";
 open (INPKG, "\$BASEDIR/tools/catz $pkgfiles |") or die "Can't read input 
package files: $!\n";
 $/ = ''; # Browse by paragraph
 
-# Ignore a few tasks that we don't want, e.g. education-development,
-# it's too big and pulls in all sorts of things that end users won't
-# want/need
+# Ignore a few tasks that we don't want, e.g. education-development, these are
+# not recommended because users in a school environment would need them only in
+# special cases.
 my @ignore_list = ('education-development',
-  'education-desktop-gnome',
-  'education-desktop-kde',
-  'education-desktop-lxde');
+  'education-video');
 
 while (defined($_ = )) {
 m/^Package: (\S+)/m and $pkg = $1;


There are some packages missing on the BD image; these should be pulled 
in once newer binary packages from src:debian-edu and 
src:debian-edu-install are available in testing.

Thanks for providing all these Debian Edu installation media!

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-31 Thread Wolfgang Schweer
On Tue, Jul 31, 2018 at 09:09:16AM +0100, Steve McIntyre wrote:
> On Tue, Jul 31, 2018 at 07:51:52AM +, Holger Levsen wrote:
> >On Tue, Jul 31, 2018 at 05:32:30AM +0100, Steve McIntyre wrote:
> >> This is coming from the following task definition, designed to have
> >> all the desktops:
> >> 
> >> #include 
> >
> >why include ? Debian-edu-full seems to be the only taks
> >which has that?
> >
> >I've now commit a change to debian-cd so that all education-desktop
> >packages except xfce and mate are ignored for the full image. we'll see
> >how that goes.
> 
> Cutting back from IRC:
> 
> 2018-07-31 08:52 BST < h01ger> Sledge: as asked on the bug, why include 
> Debian-all?
> 2018-07-31 08:52 BST < Sledge> h01ger: it's where we start with other media 
> sets
> 2018-07-31 08:53 BST < Sledge> it's the one that will include all the bits 
> for all the desktops
> 2018-07-31 08:53 BST < h01ger> ic, not sure we really want that
> 2018-07-31 08:53 BST * h01ger just noted this diff:
> 2018-07-31 08:53 BST < h01ger> -#include 
> 2018-07-31 08:53 BST < h01ger> +#include 
> 2018-07-31 08:54 BST < Sledge> so what you had would have had *no* desktops 
> on the media

Debian Edu has customized desktops. So if education-desktop-* is on the 
list, all stuff for all desktops should be on the image, i.e. edu 
doesn't need task-*-desktop files.

IMO all education-desktop-* files can be added back; the Stretch USB ISO 
with all edu desktops included has ~ 5.5 GiB. Only thing added for 
Buster is education-desktop-lxqt, wich doesn't add much.

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-31 Thread Wolfgang Schweer
On Tue, Jul 31, 2018 at 11:37:52AM +0200, Wolfgang Schweer wrote:
> On Tue, Jul 31, 2018 at 07:33:44AM +, Holger Levsen wrote:
> > do you have a pointer to an "old" ignore.txt and avoid.txt? i cannot
> > find it in my old edu svn checkout...
> actually it's avoidpackages.txt (generated via blends-dev at build 
> time, afaict).

see the 'grep avoid /usr/share/blends-dev/Makefile' output.

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-31 Thread Wolfgang Schweer
On Tue, Jul 31, 2018 at 05:32:30AM +0100, Steve McIntyre wrote:
> OK, after a couple of retries I have the full USB image(s)
> building. Only problem is, they're very large - ~22G. That's too big
> for us to be shipping as full ISO images, so I want to shrink those
> down. Attached is a package list of what's included.
 
'zgrep task- packages.gz' alone shows quite a lot. Any idea why all 
these (and all their depends¹) are pulled in?

Wolfgang

¹ I've checked this for task-cinnamon-desktop


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-31 Thread Wolfgang Schweer
On Tue, Jul 31, 2018 at 07:51:52AM +, Holger Levsen wrote:
> I've now commit a change to debian-cd so that all education-desktop
> packages except xfce and mate are ignored for the full image. we'll see
> how that goes.

education-video could be dropped. it has been added a year ago, so 
didn't show up for stretch (and - like education-development - is only 
suggested, too).

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-31 Thread Wolfgang Schweer
On Tue, Jul 31, 2018 at 07:33:44AM +, Holger Levsen wrote:
> On Mon, Jul 30, 2018 at 02:29:47PM +0200, Wolfgang Schweer wrote:
> > > > ¹ all blends-dev stuff missing
> > > I dont understand, can you explain please?
> > > (is this good or bad, whats the impact, should we change something?)
> > iirc on each build an up-to-date debian-edu-tasks.desc file was 
> > generated and taken as base to build the list of packages to install, 
> 
> this is now being done in
> https://salsa.debian.org/images-team/debian-cd/blob/master/tools/generate_debian-edu_task
> 
> > also taking into account what has been in hintpkgs-.txt, 
> > ignore.txt, avoid.txt (and whatnot). I believe a great part of it was 
> > useful at DVD building times.
> 
> we could still do that, using the above linked script.
> 
> do you have a pointer to an "old" ignore.txt and avoid.txt? i cannot
> find it in my old edu svn checkout...

actually it's avoidpackages.txt (generated via blends-dev at build 
time, afaict). see the 'wanted-list' and 'unwanted-list' scripts in the 
CD-administrator directory. 

IIRC packages listed as Ignore: in src:debian-edu/tasks files are only 
added to the image if 'export COMPLETE=1' is contained in CONF.sh (last 
time for the squeeze dvd image). 

> we need to get this 22gb image down in size...

Sure, should fit on a 8 GB usb-stick.

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-31 Thread Steve McIntyre
On Tue, Jul 31, 2018 at 07:51:52AM +, Holger Levsen wrote:
>On Tue, Jul 31, 2018 at 05:32:30AM +0100, Steve McIntyre wrote:
>> This is coming from the following task definition, designed to have
>> all the desktops:
>> 
>> #include 
>
>why include ? Debian-edu-full seems to be the only taks
>which has that?
>
>I've now commit a change to debian-cd so that all education-desktop
>packages except xfce and mate are ignored for the full image. we'll see
>how that goes.

Cutting back from IRC:

2018-07-31 08:52 BST < h01ger> Sledge: as asked on the bug, why include 
Debian-all?
2018-07-31 08:52 BST < Sledge> h01ger: it's where we start with other media sets
2018-07-31 08:53 BST < Sledge> it's the one that will include all the bits for 
all the desktops
2018-07-31 08:53 BST < h01ger> ic, not sure we really want that
2018-07-31 08:53 BST * h01ger just noted this diff:
2018-07-31 08:53 BST < h01ger> -#include 
2018-07-31 08:53 BST < h01ger> +#include 
2018-07-31 08:54 BST < Sledge> so what you had would have had *no* desktops on 
the media
2018-07-31 08:54 BST < Sledge> so we're working out what's wanted
2018-07-31 08:54 BST < Sledge> you're going to want one
2018-07-31 08:54 BST < Sledge> could just be xfce?

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
The two hard things in computing:
 * naming things
 * cache invalidation
 * off-by-one errors  -- Stig Sandbeck Mathisen



Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-31 Thread Holger Levsen
On Tue, Jul 31, 2018 at 05:32:30AM +0100, Steve McIntyre wrote:
> This is coming from the following task definition, designed to have
> all the desktops:
> 
> #include 

why include ? Debian-edu-full seems to be the only taks
which has that?

I've now commit a change to debian-cd so that all education-desktop
packages except xfce and mate are ignored for the full image. we'll see
how that goes.


-- 
cheers,
Holger


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-31 Thread Holger Levsen
On Mon, Jul 30, 2018 at 02:29:47PM +0200, Wolfgang Schweer wrote:
> > > ¹ all blends-dev stuff missing
> > I dont understand, can you explain please?
> > (is this good or bad, whats the impact, should we change something?)
> iirc on each build an up-to-date debian-edu-tasks.desc file was 
> generated and taken as base to build the list of packages to install, 

this is now being done in
https://salsa.debian.org/images-team/debian-cd/blob/master/tools/generate_debian-edu_task

> also taking into account what has been in hintpkgs-.txt, 
> ignore.txt, avoid.txt (and whatnot). I believe a great part of it was 
> useful at DVD building times.

we could still do that, using the above linked script.

do you have a pointer to an "old" ignore.txt and avoid.txt? i cannot
find it in my old edu svn checkout...

> IMO we should just sit and wait. 

we need to get this 22gb image down in size...


-- 
cheers,
Holger


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-31 Thread Holger Levsen
On Tue, Jul 31, 2018 at 05:32:30AM +0100, Steve McIntyre wrote:
> OK, after a couple of retries I have the full USB image(s)
> building. 

wheeh!

> Only problem is, they're very large - ~22G. 
[...]
> We could drop the other desktops, maybe...

I think we should, maybe we can keep two (xfce and mate), but keeping
them all is definitly too much. it's also ok if this image doesnt
provide all the desktop in *offline installation mode*. (with network i
suppose it should be possible to still install the others too.)


-- 
cheers,
Holger


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-30 Thread Wolfgang Schweer
On Mon, Jul 30, 2018 at 10:55:20AM +, Holger Levsen wrote:
> On Mon, Jul 30, 2018 at 12:06:07PM +0200, Wolfgang Schweer wrote:
> > On Mon, Jul 30, 2018 at 09:12:54AM +, Holger Levsen wrote:
> > > the only thing missing now is to actually build this image, which I'll 
> > > try to 
> > > tackle later, probably only tomorrow though.
> > the ISO image is supposed to be different¹ from the ones built on a.s.n; 
> > curious to see what would be generated.
> > 
> > ¹ all blends-dev stuff missing
> 
> I dont understand, can you explain please?
> 
> (is this good or bad, whats the impact, should we change something?)

iirc on each build an up-to-date debian-edu-tasks.desc file was 
generated and taken as base to build the list of packages to install, 
also taking into account what has been in hintpkgs-.txt, 
ignore.txt, avoid.txt (and whatnot). I believe a great part of it was 
useful at DVD building times.

Sure the ability to include Ignore: packages is lost, but then these 
were included with the image last time for squeeze, iirc.

IMO we should just sit and wait. 

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-30 Thread Holger Levsen
On Mon, Jul 30, 2018 at 12:06:07PM +0200, Wolfgang Schweer wrote:
> On Mon, Jul 30, 2018 at 09:12:54AM +, Holger Levsen wrote:
> > the only thing missing now is to actually build this image, which I'll try 
> > to 
> > tackle later, probably only tomorrow though.
> the ISO image is supposed to be different¹ from the ones built on a.s.n; 
> curious to see what would be generated.
> 
> ¹ all blends-dev stuff missing

I dont understand, can you explain please?

(is this good or bad, whats the impact, should we change something?)


-- 
cheers,
Holger

---
hol...@debian.orghol...@reproducible-builds.org


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-30 Thread Holger Levsen
On Mon, Jul 30, 2018 at 11:03:42AM +0100, Steve McIntyre wrote:
> >the only thing missing now is to actually build this image, which I'll try 
> >to 
> >tackle later, probably only tomorrow though.
> Just committed an initial cut now. Once the (currently-running) weekly
> build is finished (today is Monday, the weekly day), I'll trigger a
> build by hand.

awesome, thanks a lot!

meanwhile I've just uploaded debian-edu-install with the change from
Wolfgang which will make manually adding exim4-daemon-heavy and
sudo-ldap to the debian-edu CD task obsolete (once it migrated to
buster, will do the cleanup in src:debian-cd then).


-- 
cheers,
Holger

---
hol...@debian.orghol...@reproducible-builds.org


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-30 Thread Wolfgang Schweer
On Mon, Jul 30, 2018 at 09:12:54AM +, Holger Levsen wrote:
> the only thing missing now is to actually build this image, which I'll try to 
> tackle later, probably only tomorrow though.

the ISO image is supposed to be different¹ from the ones built on a.s.n; 
curious to see what would be generated.

Wolfgang

¹ all blends-dev stuff missing


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-30 Thread Steve McIntyre
On Mon, Jul 30, 2018 at 09:12:54AM +, Holger Levsen wrote:
>
>done, see
>https://salsa.debian.org/images-team/debian-cd/compare/1927aefa...d2e89a19

Wooyay!

>the only thing missing now is to actually build this image, which I'll try to 
>tackle later, probably only tomorrow though.

Just committed an initial cut now. Once the (currently-running) weekly
build is finished (today is Monday, the weekly day), I'll trigger a
build by hand.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
  Getting a SCSI chain working is perfectly simple if you remember that there
  must be exactly three terminations: one on one end of the cable, one on the
  far end, and the goat, terminated over the SCSI chain with a silver-handled
  knife whilst burning *black* candles. --- Anthony DeBoer



Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-30 Thread Holger Levsen
On Sun, Jul 29, 2018 at 04:43:56PM +0100, Steve McIntyre wrote:
> Look at debian-cd/tools/generate_firmware_task - that's used by the
> build jobs to create a "firmware" task dynamically whenever we
> build - see in debian-cd/Makefile:
[...] 
> You could do something similar when DEBIAN_EDU is defined, to call a
> script to generate $(TASKDIR)/debian-edu-education task. Then you can
> use that task to get all the tasks on the media. OK?

thanks for the pointer, Steve!

On Sun, Jul 29, 2018 at 05:46:25PM +0200, Wolfgang Schweer wrote:
> On Sun, Jul 29, 2018 at 03:24:14PM +, Holger Levsen wrote:
> > wolfgang, are you subscribed to this bug or do you need those cc:s? :)
> subscribed, no need to cc: me

ok, cool :)

> > thanks! and that's a rather sensible list even:
> of course this list is meant in addition to the existing one for 
> netinst.

sure!

> > education-development/unstable 2.10.32 amd64
> this meta-package will pull in quite a lot, hasn't been on the Stretch 
> USB image. that's why I figured the amount of required space to be up to 
> 8 GiB. Could maybe dropped from the list.

ah, ok, we'll ignore this then!

> > though i wonder if there's a smarter way than just hardcoding this...
> would be nice, yes.

done, see
https://salsa.debian.org/images-team/debian-cd/compare/1927aefa...d2e89a19


the only thing missing now is to actually build this image, which I'll try to 
tackle later, probably only tomorrow though.


-- 
cheers,
Holger

---
hol...@debian.orghol...@reproducible-builds.org


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-29 Thread Wolfgang Schweer
On Sun, Jul 29, 2018 at 03:24:14PM +, Holger Levsen wrote:
> wolfgang, are you subscribed to this bug or do you need those cc:s? :)

subscribed, no need to cc: me
 
> thanks! and that's a rather sensible list even:

of course this list is meant in addition to the existing one for 
netinst.
 
> education-development/unstable 2.10.32 amd64

this meta-package will pull in quite a lot, hasn't been on the Stretch 
USB image. that's why I figured the amount of required space to be up to 
8 GiB. Could maybe dropped from the list.
 
> though i wonder if there's a smarter way than just hardcoding this...

would be nice, yes.

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-29 Thread Steve McIntyre
On Sun, Jul 29, 2018 at 03:24:14PM +, Holger Levsen wrote:
>hi,
>
>wolfgang, are you subscribed to this bug or do you need those cc:s? :)
>
>On Sun, Jul 29, 2018 at 04:27:42PM +0200, Wolfgang Schweer wrote:
>> I figure a package list would do. This list should contain all packages 
>> spit out running 'apt list education-*'. Expect an ISO image of maybe 
>> 7-8 GiB.
>
>thanks! and that's a rather sensible list even:
>
>$ schroot apt list education-*
>Listing... Done
>education-astronomy/unstable 2.10.32 amd64
>education-chemistry/unstable 2.10.32 amd64
>education-common/unstable 2.10.32 amd64
>education-desktop-gnome/unstable 2.10.32 amd64
>education-desktop-kde/unstable 2.10.32 amd64
>education-desktop-lxde/unstable 2.10.32 amd64
>education-desktop-lxqt/unstable 2.10.32 amd64
>education-desktop-mate/unstable 2.10.32 amd64
>education-desktop-other/unstable 2.10.32 amd64
>education-desktop-xfce/unstable 2.10.32 amd64
>education-development/unstable 2.10.32 amd64
>education-electronics/unstable 2.10.32 amd64
>education-geography/unstable 2.10.32 amd64
>education-graphics/unstable 2.10.32 amd64
>education-lang-da/unstable 2.10.32 amd64
>education-lang-da-desktop/unstable 2.10.32 amd64
>education-lang-de/unstable 2.10.32 amd64
>education-lang-es/unstable 2.10.32 amd64
>education-lang-fr/unstable 2.10.32 amd64
>education-lang-he/unstable 2.10.32 amd64
>education-lang-he-desktop/unstable 2.10.32 amd64
>education-lang-it/unstable 2.10.32 amd64
>education-lang-ja/unstable 2.10.32 amd64
>education-lang-ja-desktop/unstable 2.10.32 amd64
>education-lang-no/unstable 2.10.32 amd64
>education-lang-no-desktop/unstable 2.10.32 amd64
>education-lang-se/unstable 2.10.32 amd64
>education-lang-zh-tw/unstable 2.10.32 amd64
>education-lang-zh-tw-desktop/unstable 2.10.32 amd64
>education-language/unstable 2.10.32 amd64
>education-laptop/unstable 2.10.32 amd64
>education-logic-games/unstable 2.10.32 amd64
>education-ltsp-server/unstable 2.10.32 amd64
>education-main-server/unstable 2.10.32 amd64
>education-mathematics/unstable 2.10.32 amd64
>education-menus/unstable 2.10.32 amd64
>education-misc/unstable 2.10.32 amd64
>education-music/unstable 2.10.32 amd64
>education-networked/unstable 2.10.32 amd64
>education-networked-common/unstable 2.10.32 amd64
>education-physics/unstable 2.10.32 amd64
>education-primaryschool/unstable 2.10.32 amd64
>education-roaming-workstation/unstable 2.10.32 amd64
>education-standalone/unstable 2.10.32 amd64
>education-tasks/unstable 2.10.32 all
>education-thin-client/unstable 2.10.32 amd64
>education-video/unstable 2.10.32 amd64
>education-workstation/unstable 2.10.32 amd64
>
>though i wonder if there's a smarter way than just hardcoding this...

Look at debian-cd/tools/generate_firmware_task - that's used by the
build jobs to create a "firmware" task dynamically whenever we
build - see in debian-cd/Makefile:

ifeq ($(FORCE_FIRMWARE),1)
# Generate firmware task file using the contents of the archive
$(Q)$(BASEDIR)/tools/generate_firmware_task "$(ARCHES)" 
$(TASKDIR)/firmware
endif

You could do something similar when DEBIAN_EDU is defined, to call a
script to generate $(TASKDIR)/debian-edu-education task. Then you can
use that task to get all the tasks on the media. OK?

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"You can't barbecue lettuce!" -- Ellie Crane



Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-29 Thread Holger Levsen
hi,

wolfgang, are you subscribed to this bug or do you need those cc:s? :)

On Sun, Jul 29, 2018 at 04:27:42PM +0200, Wolfgang Schweer wrote:
> I figure a package list would do. This list should contain all packages 
> spit out running 'apt list education-*'. Expect an ISO image of maybe 
> 7-8 GiB.

thanks! and that's a rather sensible list even:

$ schroot apt list education-*
Listing... Done
education-astronomy/unstable 2.10.32 amd64
education-chemistry/unstable 2.10.32 amd64
education-common/unstable 2.10.32 amd64
education-desktop-gnome/unstable 2.10.32 amd64
education-desktop-kde/unstable 2.10.32 amd64
education-desktop-lxde/unstable 2.10.32 amd64
education-desktop-lxqt/unstable 2.10.32 amd64
education-desktop-mate/unstable 2.10.32 amd64
education-desktop-other/unstable 2.10.32 amd64
education-desktop-xfce/unstable 2.10.32 amd64
education-development/unstable 2.10.32 amd64
education-electronics/unstable 2.10.32 amd64
education-geography/unstable 2.10.32 amd64
education-graphics/unstable 2.10.32 amd64
education-lang-da/unstable 2.10.32 amd64
education-lang-da-desktop/unstable 2.10.32 amd64
education-lang-de/unstable 2.10.32 amd64
education-lang-es/unstable 2.10.32 amd64
education-lang-fr/unstable 2.10.32 amd64
education-lang-he/unstable 2.10.32 amd64
education-lang-he-desktop/unstable 2.10.32 amd64
education-lang-it/unstable 2.10.32 amd64
education-lang-ja/unstable 2.10.32 amd64
education-lang-ja-desktop/unstable 2.10.32 amd64
education-lang-no/unstable 2.10.32 amd64
education-lang-no-desktop/unstable 2.10.32 amd64
education-lang-se/unstable 2.10.32 amd64
education-lang-zh-tw/unstable 2.10.32 amd64
education-lang-zh-tw-desktop/unstable 2.10.32 amd64
education-language/unstable 2.10.32 amd64
education-laptop/unstable 2.10.32 amd64
education-logic-games/unstable 2.10.32 amd64
education-ltsp-server/unstable 2.10.32 amd64
education-main-server/unstable 2.10.32 amd64
education-mathematics/unstable 2.10.32 amd64
education-menus/unstable 2.10.32 amd64
education-misc/unstable 2.10.32 amd64
education-music/unstable 2.10.32 amd64
education-networked/unstable 2.10.32 amd64
education-networked-common/unstable 2.10.32 amd64
education-physics/unstable 2.10.32 amd64
education-primaryschool/unstable 2.10.32 amd64
education-roaming-workstation/unstable 2.10.32 amd64
education-standalone/unstable 2.10.32 amd64
education-tasks/unstable 2.10.32 all
education-thin-client/unstable 2.10.32 amd64
education-video/unstable 2.10.32 amd64
education-workstation/unstable 2.10.32 amd64

though i wonder if there's a smarter way than just hardcoding this...


-- 
cheers,
Holger


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-29 Thread Wolfgang Schweer
On Sun, Jul 29, 2018 at 01:20:47PM +0100, Steve McIntyre wrote:
> On Sun, Jul 29, 2018 at 11:55:45AM +, Holger Levsen wrote:
> >I think we should still keep this bug open though, to finish the last
> >remaining bit: the offline USB image...
> 
> OK, so what's wanted for that? If it's just a package list then we
> should add a task for it.

I figure a package list would do. This list should contain all packages 
spit out running 'apt list education-*'. Expect an ISO image of maybe 
7-8 GiB.

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-29 Thread Steve McIntyre
On Sun, Jul 29, 2018 at 11:55:45AM +, Holger Levsen wrote:
>
>> You can lean back now, guys: the installation of a Debian Edu combined 
>> server (profiles 'Main-Server', 'Workstation', 'LTSP-Server') just 
>> happened to finish with success.
>
>wheh! yay yay yay!
>
>> Great job done! Thanks a lot!
>
>my pleasure! Though most of this was Steve's work! :)
>
>I think we should still keep this bug open though, to finish the last
>remaining bit: the offline USB image...

OK, so what's wanted for that? If it's just a package list then we
should add a task for it.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"When C++ is your hammer, everything looks like a thumb." -- Steven M. Haflich



Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-29 Thread Steve McIntyre
On Sun, Jul 29, 2018 at 12:32:42PM +0200, Wolfgang Schweer wrote:
>On Sun, Jul 29, 2018 at 04:32:26AM +0100, Steve McIntyre wrote:
>[..]
>> Holger has added these now. I'm curious why you thing these packages
>> in particular need to be on the netinst itself, though - can't you
>> just grab from the network?
>
>Debian Edu modifies di via debian-edu-profile-udeb; this part of the 
>debian-edu-profile code explains the issue:
>
>case "$server" in
>"true")
># install exim4-daemon-heavy early.
>db_set "base-installer/includes" "exim4-daemon-heavy"
>;;
>esac
>
>The 'server' variable is set to true in case the 'Main-Server' profile 
>has been chosen.
>
>And the base-installer expects all needed packages to be on the image 
>and doesn't try to fetch from the network; apt-setup happens later on 
>(iirc).

OK, I guess. Wouldn't it maybe make more sense to just add this kind
of thing to a task rather than modifying the base-install package set?

>> The set of debian-edu packages are making the netinst quite a lot 
>> larger than the normal Debian netinst already, which is surprising!
>
>It's supposed to be so due to the 'debian-edu-config' package beeing 
>included with the image and debian-cd pulling in all depends and 
>recommends recursively.
>
>You can lean back now, guys: the installation of a Debian Edu combined 
>server (profiles 'Main-Server', 'Workstation', 'LTSP-Server') just 
>happened to finish with success.
>
>Great job done! Thanks a lot!

Woo!

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"The problem with defending the purity of the English language is that
 English is about as pure as a cribhouse whore. We don't just borrow words; on
 occasion, English has pursued other languages down alleyways to beat them
 unconscious and rifle their pockets for new vocabulary."  -- James D. Nicoll



Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-29 Thread Holger Levsen
Dear Wolfgang,

On Sun, Jul 29, 2018 at 12:32:42PM +0200, Wolfgang Schweer wrote:
> Debian Edu modifies di via debian-edu-profile-udeb; this part of the 
> debian-edu-profile code explains the issue:
[...] 
> And the base-installer expects all needed packages to be on the image 
> and doesn't try to fetch from the network; apt-setup happens later on 
> (iirc).

thanks for explaining! Finally this makes sense! :)

> > The set of debian-edu packages are making the netinst quite a lot 
> > larger than the normal Debian netinst already, which is surprising!
> It's supposed to be so due to the 'debian-edu-config' package beeing 
> included with the image and debian-cd pulling in all depends and 
> recommends recursively.

ah, right.

> You can lean back now, guys: the installation of a Debian Edu combined 
> server (profiles 'Main-Server', 'Workstation', 'LTSP-Server') just 
> happened to finish with success.

wheh! yay yay yay!

> Great job done! Thanks a lot!

my pleasure! Though most of this was Steve's work! :)


I think we should still keep this bug open though, to finish the last
remaining bit: the offline USB image...


-- 
cheers,
Holger


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-29 Thread Wolfgang Schweer
Hi Steve, moin Holger,

On Sun, Jul 29, 2018 at 04:32:26AM +0100, Steve McIntyre wrote:
> On Sat, Jul 28, 2018 at 11:17:16PM +0200, Wolfgang Schweer wrote:
> >exim4-daemon-heavy is needed as well; reason is: Debian Edu needs this 
> >package early to avoid a clash with exim4-daemon-light (iirc installed 
> >by default) later on in the installation process. The exim4-daemon-heavy 
> >package is expected to be available on the ISO image to make debootstrap 
> >happy.
[..]
> Holger has added these now. I'm curious why you thing these packages
> in particular need to be on the netinst itself, though - can't you
> just grab from the network?

Debian Edu modifies di via debian-edu-profile-udeb; this part of the 
debian-edu-profile code explains the issue:

case "$server" in
"true")
# install exim4-daemon-heavy early.
db_set "base-installer/includes" "exim4-daemon-heavy"
;;
esac

The 'server' variable is set to true in case the 'Main-Server' profile 
has been chosen.

And the base-installer expects all needed packages to be on the image 
and doesn't try to fetch from the network; apt-setup happens later on 
(iirc).

> The set of debian-edu packages are making the netinst quite a lot 
> larger than the normal Debian netinst already, which is surprising!

It's supposed to be so due to the 'debian-edu-config' package beeing 
included with the image and debian-cd pulling in all depends and 
recommends recursively.

You can lean back now, guys: the installation of a Debian Edu combined 
server (profiles 'Main-Server', 'Workstation', 'LTSP-Server') just 
happened to finish with success.

Great job done! Thanks a lot!

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-29 Thread Holger Levsen
On Sun, Jul 29, 2018 at 01:18:29PM +0530, shirish शिरीष wrote:
> Sorry for jumping in. Just a small voice. While I haven't tried the
> latest netinstall

shirish, *no*.

a.) this bug has nothing to do with normal netinstalls
b.) even if it had, rehashing your experiences without trying the latest
netinstall would also not be helpful.


-- 
cheers,
Holger


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-29 Thread shirish शिरीष
Hi all,

Sorry for jumping in. Just a small voice. While I haven't tried the
latest netinstall but my experience in alpha 2 was that I had to run
it couple of times before it was able to do the needful. I do not know
the reason for it other than the fact that net connectivity at my end
goes down sometime.

https://flossexperiences.wordpress.com/2018/07/28/broadband-issues-and-reliance-jio/

The whole idea of netinstall at least for me is and was a progressive
installer. Just having the base image should be enough to have a
console and a sources.list which has

  Debian buster #
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian buster main
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

as the default.

I removed contrib and non-free (for firmware related packages) and
have a base for people to use from start. Also maybe have a different
desktop then LXDE (mate being preferred) but dunno if this can be
achieved. If there is a way to workaround so that it doesn't download
LXDE and downloads mate-desktop and at the very least gives me a
console and apt would be pretty satisfying. I know this is bit
different than Debian Edu goals (lxde being preferred for low-memory
usage) .

If needed can make another bug report but would like to hear what
other people think before putting the bug against debian-cd if it's a
worthwhile pursuit.

-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8



Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-28 Thread Steve McIntyre
Hi Wolfgang,

On Sat, Jul 28, 2018 at 11:17:16PM +0200, Wolfgang Schweer wrote:
>On Sat, Jul 28, 2018 at 03:17:02AM +0100, Steve McIntyre wrote:
>> 
>> ACK. Just added them back now. In discussion with Holger yesterday, we
>> thought it was best to start with a small set and build up to what's
>> needed.
>
>exim4-daemon-heavy is needed as well; reason is: Debian Edu needs this 
>package early to avoid a clash with exim4-daemon-light (iirc installed 
>by default) later on in the installation process. The exim4-daemon-heavy 
>package is expected to be available on the ISO image to make debootstrap 
>happy.
>
>So please consider to adjust 
>https://salsa.debian.org/images-team/debian-cd/blob/master/tasks/buster/debian-edu
>  
>accordingly.
>
>Same might apply to the sudo-ldap package...

Holger has added these now. I'm curious why you thing these packages
in particular need to be on the netinst itself, though - can't you
just grab from the network? The set of debian-edu packages are making
the netinst quite a lot larger than the normal Debian netinst already,
which is surprising!

>Thanks a lot for working on Debian Edu installation media!

No problem, glad to help. :-)

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
Welcome my son, welcome to the machine.



Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-28 Thread Holger Levsen
On Sat, Jul 28, 2018 at 11:17:16PM +0200, Wolfgang Schweer wrote:
> exim4-daemon-heavy is needed as well; reason is: Debian Edu needs this 
> package early to avoid a clash with exim4-daemon-light (iirc installed 
> by default) later on in the installation process. The exim4-daemon-heavy 
> package is expected to be available on the ISO image to make debootstrap 
> happy.
> 
> So please consider to adjust 
> https://salsa.debian.org/images-team/debian-cd/blob/master/tasks/buster/debian-edu
>   
> accordingly.
> 
> Same might apply to the sudo-ldap package...
 
I don't really get why these are downloaded via the net but i've added
them now to tasks/buster/debian-edu...

> Thanks a lot for working on Debian Edu installation media!

thank you too for testing and debugging! :)


-- 
cheers,
Holger


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-28 Thread Wolfgang Schweer
On Sat, Jul 28, 2018 at 03:17:02AM +0100, Steve McIntyre wrote:
> >IMO at least these udebs should be added
> >debian-edu-profile-udeb
> >ltsp-client-builder
> 
> ACK. Just added them back now. In discussion with Holger yesterday, we
> thought it was best to start with a small set and build up to what's
> needed.

exim4-daemon-heavy is needed as well; reason is: Debian Edu needs this 
package early to avoid a clash with exim4-daemon-light (iirc installed 
by default) later on in the installation process. The exim4-daemon-heavy 
package is expected to be available on the ISO image to make debootstrap 
happy.

So please consider to adjust 
https://salsa.debian.org/images-team/debian-cd/blob/master/tasks/buster/debian-edu
  
accordingly.

Same might apply to the sudo-ldap package...

Thanks a lot for working on Debian Edu installation media!

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-28 Thread Wolfgang Schweer
On Sat, Jul 28, 2018 at 07:18:14AM +, Holger Levsen wrote:
> On Sat, Jul 28, 2018 at 09:05:14AM +0200, Wolfgang Schweer wrote:
> > Congratulations! Good progress with the latest ISO image.
> 
> yay! good the edu profile question?

yes.
 
> > IMO these packages need to be added as well:
> 
> why?
> 
> > exim4-daemon-heavy (sure)
> > sudo-ldap (most probably)

the base system installation fails due to missing exim4-daemon-heavy on 
the ISO image (expected, because it's non-standard but required for 
edu).

iirc sudo-ldap needs to be there to prevent the simple sudo 
(standard) to get installed.

keep on going :)
I'll test the ISO image if time permits.

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-28 Thread Holger Levsen
On Sat, Jul 28, 2018 at 09:05:14AM +0200, Wolfgang Schweer wrote:
> Congratulations! Good progress with the latest ISO image.

yay! good the edu profile question?

> IMO these packages need to be added as well:

why?

> exim4-daemon-heavy (sure)
> sudo-ldap (most probably)

& thanks for testing!


-- 
cheers,
Holger


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-28 Thread Steve McIntyre
On Sat, Jul 28, 2018 at 03:20:58AM +0100, Steve McIntyre wrote:
>On Fri, Jul 27, 2018 at 06:24:06PM +0200, Wolfgang Schweer wrote:
>>On Fri, Jul 27, 2018 at 06:14:22PM +0200, Wolfgang Schweer wrote:
>>> IMO at least these udebs should be added
>>> debian-edu-profile-udeb
>>> ltsp-client-builder
>>
>>Maybe consider as well:
>>udebs are missing on the ISO (even the debian-edu-install-udeb), also 
>>the kernel param 'desktop=xfce' (CONF.sh has a variable for it).
>>Maybe also the kernel param 'modules=debian-edu-install-udeb' is 
>>required.
>
>OK, I'll take a look. I've explicitly added "desktop=xfce" at build
>time, but it hasn't worked. I'll check that too.

New build in place now at the same URL, which looks much better to
me. Please take a look?

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"I can't ever sleep on planes ... call it irrational if you like, but I'm
 afraid I'll miss my stop" -- Vivek Das Mohapatra



Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-28 Thread Wolfgang Schweer
On Sat, Jul 28, 2018 at 03:17:02AM +0100, Steve McIntyre wrote:
> >This file seems to be missing some packages:
> >
> >https://salsa.debian.org/images-team/debian-cd/blob/b8045bd73ba44af23a6df3f7cf46a00a0b1d/tasks/buster/debian-edu
> >
> >IMO at least these udebs should be added
> >debian-edu-profile-udeb
> >ltsp-client-builder
> 
> ACK. Just added them back now. In discussion with Holger yesterday, we
> thought it was best to start with a small set and build up to what's
> needed.

Congratulations! Good progress with the latest ISO image.
IMO these packages need to be added as well:
exim4-daemon-heavy (sure)
sudo-ldap (most probably)

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-27 Thread Steve McIntyre
On Fri, Jul 27, 2018 at 06:24:06PM +0200, Wolfgang Schweer wrote:
>On Fri, Jul 27, 2018 at 06:14:22PM +0200, Wolfgang Schweer wrote:
>> IMO at least these udebs should be added
>> debian-edu-profile-udeb
>> ltsp-client-builder
>
>Maybe consider as well:
>udebs are missing on the ISO (even the debian-edu-install-udeb), also 
>the kernel param 'desktop=xfce' (CONF.sh has a variable for it).
>Maybe also the kernel param 'modules=debian-edu-install-udeb' is 
>required.

OK, I'll take a look. I've explicitly added "desktop=xfce" at build
time, but it hasn't worked. I'll check that too.

>(If executed in a di-shell, 'anna-install debian-edu-profile-udeb'
>does nothing; the udebs seem to be fetched from the web only in case of 
>the mini.iso, not in case a netinst image is used.)

Nod. The netinst is meant to complete in terms of udebs.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
< Aardvark> I dislike C++ to start with. C++11 just seems to be
handing rope-creating factories for users to hang multiple
instances of themselves.



Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-27 Thread Steve McIntyre
On Fri, Jul 27, 2018 at 06:14:22PM +0200, Wolfgang Schweer wrote:
>Hi,
>
>thanks for working on it!
>
>This file seems to be missing some packages:
>
>https://salsa.debian.org/images-team/debian-cd/blob/b8045bd73ba44af23a6df3f7cf46a00a0b1d/tasks/buster/debian-edu
>
>IMO at least these udebs should be added
>debian-edu-profile-udeb
>ltsp-client-builder

ACK. Just added them back now. In discussion with Holger yesterday, we
thought it was best to start with a small set and build up to what's
needed.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
  Mature Sporty Personal
  More Innovation More Adult
  A Man in Dandism
  Powered Midship Specialty



Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-27 Thread Wolfgang Schweer
Hi,

thanks for working on it!

This file seems to be missing some packages:

https://salsa.debian.org/images-team/debian-cd/blob/b8045bd73ba44af23a6df3f7cf46a00a0b1d/tasks/buster/debian-edu

IMO at least these udebs should be added
debian-edu-profile-udeb
ltsp-client-builder

Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-07-27 Thread Wolfgang Schweer
On Fri, Jul 27, 2018 at 06:14:22PM +0200, Wolfgang Schweer wrote:
> IMO at least these udebs should be added
> debian-edu-profile-udeb
> ltsp-client-builder

Maybe consider as well:
udebs are missing on the ISO (even the debian-edu-install-udeb), also 
the kernel param 'desktop=xfce' (CONF.sh has a variable for it).
Maybe also the kernel param 'modules=debian-edu-install-udeb' is 
required.

(If executed in a di-shell, 'anna-install debian-edu-profile-udeb'
does nothing; the udebs seem to be fetched from the web only in case of 
the mini.iso, not in case a netinst image is used.)
 
Wolfgang


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-03-30 Thread Wolfgang Schweer
On Mon, Jan 15, 2018 at 12:49:52PM +, Holger Levsen wrote:
> > [...] please provide a flavor/spin
> > netinst image with debian-edu-profile-udeb installed. #846003 has the
> > implementation details, this bug is for tracking installable media with
> > debian-edu-profile enabled.
> > 
> > This probably needs a boot menu entry with
> > preseed/early_command="anna-install debian-edu-profile-udeb"

As far as I can tell, some requirements must be met to use official 
Debian netinst ISO images.

'modules=debian-edu-install-udeb desktop=kde' must be present on the 
kernel command line; the udebs 'debian-edu-profile-udeb' and 
'ltsp-client-builder' will be pulled in.

Information how to install Debian Edu using the current official Debian 
Stretch mini.iso is available on the Debian Edu Stretch status page¹.

Using the mini.iso works, because all udebs are fetched via the network. 
In case a netinst ISO image is used, the prospective ISOs must contain 
the udebs; iirc the Debian Edu and LTSP ones are not contained by 
default on official Debian ISO images.

Also, as Debian Edu supports more desktops than just KDE (and in case 
LTSP is used should definitely use a desktop with small footprint), it 
would be nice, to have these choices as well, i.e. menu entries with 
params:
'modules=debian-edu-install-udeb desktop=lxde' 
'modules=debian-edu-install-udeb desktop=xfce' 
'modules=debian-edu-install-udeb desktop=mate' 
'modules=debian-edu-install-udeb desktop=gnome' 
'modules=debian-edu-install-udeb desktop=lxqt' 

Alternatively different (desktop related) ISOs could be built.

Further, to be documented: The Debian Edu ISO images contain non-free 
firmware packages; these would be missing on official Debian ISO images.
 
Seeing forward to work on this at MiniDebConf Hamburg...

Wolfgang

¹https://wiki.debian.org/DebianEdu/Status/Stretch


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2018-01-15 Thread Holger Levsen
version: 1.944

On Sun, Nov 27, 2016 at 06:00:00PM +0100, Holger Levsen wrote:
> Package: debian-cd
> [...] please provide a flavor/spin
> netinst image with debian-edu-profile-udeb installed. #846003 has the
> implementation details, this bug is for tracking installable media with
> debian-edu-profile enabled.
> 
> This probably needs a boot menu entry with
>   preseed/early_command="anna-install debian-edu-profile-udeb"
> 
> Please note that in the past Debian Edu enabled and used non-free by
> default. This is *not* the case anymore today! Today, we have non-free
> (and contrib) enabled, but we dont install any packages from there.
> #474745 is the bug for tracking that we will also stop doing that. Once
> this bug has a number, I will make it blocked by #474745.

since debian-edu-config 1.944 (which is in Buster since two days) we
don't enable non-free+contrib anymore, so there should be nothing
blocking official Debian images which can install Debian Edu anymore.

We just need a boot menu entry as described above…

Steve, please let us know if you need anything else from us?!


-- 
cheers,
Holger


signature.asc
Description: PGP signature


Bug#846006: debian-cd: please provide flavor/spin netinst image for Debian Edu

2016-11-27 Thread Holger Levsen
Package: debian-cd
Version: 3.1.18
Severity: wishlist
Tags: d-i

Hi,

as a followup to #846002 and #846003, please provide a flavor/spin
netinst image with debian-edu-profile-udeb installed. #846003 has the
implementation details, this bug is for tracking installable media with
debian-edu-profile enabled.

This probably needs a boot menu entry with
preseed/early_command="anna-install debian-edu-profile-udeb"

Please note that in the past Debian Edu enabled and used non-free by
default. This is *not* the case anymore today! Today, we have non-free
(and contrib) enabled, but we dont install any packages from there.
#474745 is the bug for tracking that we will also stop doing that. Once
this bug has a number, I will make it blocked by #474745.

Thanks!

-- 
cheers,
Holger


signature.asc
Description: Digital signature