Re: How to convert a Debian installation to a Debian Edu installation
[Petter Reinholdtsen]
> Fixed a few minor issues, but now the script seem to be fairly
> robust.
I extended a bit more, and now it can be used to create squeeze (and
probably also jessie) chroots. I just successfully tested it like
this:
#!/bin/sh
set -e
set -x
debootstrap wheezy chroot-test http://http.debian.net/debian
printf '#!/bin/sh\nexit 101\n' > chroot-test/usr/sbin/policy-rc.d
chmod a+rx chroot-test/usr/sbin/policy-rc.d
cp /tmp/debian-edu-bless chroot-test/root/debian-edu-bless
mount -t proc proc chroot-test/proc
PROFILE=Minimal \
DESKTOP=lxde \
EDUSUITE=squeeze-test \
chroot chroot-test root/debian-edu-bless
umount chroot-test/proc
--
Happy hacking
Petter Reinholdtsen
Reply to: