/usr/share/ltsp/plugins/ltsp-build-client/Ubuntu/010-debootstrap is in ltsp-server 5.4.2-6+deb7u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | case "$MODE" in
install)
if [ -n "$EXCLUDE" ] ; then
DEBOOTSTRAPOPTS="$DEBOOTSTRAPOPTS --exclude=$EXCLUDE"
fi
if [ -n "$INCLUDE" ] ; then
DEBOOTSTRAPOPTS="$DEBOOTSTRAPOPTS --include=$INCLUDE"
fi
# Install base packages
case $ARCH in
armel)
debootstrap --foreign $DEBOOTSTRAPOPTS --arch $ARCH $DIST $ROOT $MIRROR
cp /usr/bin/qemu-arm-eabi "$ROOT"/usr/bin || echo "qemu-arm-eabi not found !"
chroot "$ROOT" debootstrap/debootstrap --second-stage
;;
*)
debootstrap $DEBOOTSTRAPOPTS --arch $ARCH $DIST $ROOT $MIRROR
;;
esac
;;
esac
|