On Mon, Apr 25, 2016 at 10:35:21PM +0200, Wolfgang Schweer wrote: > On Mon, Apr 25, 2016 at 09:59:46PM +0200, Petter Reinholdtsen wrote: > > > > Why would the LTSP chroot fail to install because it is missing on > > the ISO? > > No idea so far. The package debian-edu-install is missing on the > jessie ISO as well and LTSP chroot installation does work. > > > I would expect it to fetch the debian-edu-install package from the > > APT source via http, like the normal installation? > > Yes, me too. I tried different mirrors: the chroot installation always > fails cause the package could not be found. With this file dropped into Debian-custom the chroot installation succeeds; one other manual intervention needed in d-i environment is to create /skole/tjener/home0/images and link it to /opt/ltsp/images to get enough space for the NBD image file. # File Debian-custom/001-ltsp-settings # Deal with case that ltsp-client-builder doesn't look up another mirror # if cdrom is still mounted. Existing code seems to be evaluated too late. # case $MODE in configure) if [ file:///media/cdrom = "$option_mirror_value" ] ; then NEWMIRROR=$(awk '/^deb (http|ftp):\/\/.* main/ { if (!first) { print $2; first=1 } }' < /etc/apt/sources.list) echo "info: Changing LTSP mirror from '$option_mirror_value' to '$NEWMIRROR'" option_mirror_value=$NEWMIRROR fi ;; install) mkdir -p $ROOT/etc/apt/apt.conf.d ( echo 'APT::Get::AllowUnauthenticated "true";' echo 'APT::Authentication::TrustCDROM "true";' echo 'APT::Cmdline::ignore-trust-violations "true";' ) >> $ROOT/etc/apt/apt.conf.d/90ltsp-build-client ;; esac Wolfgang
Attachment:
signature.asc
Description: Digital signature