/usr/share/ltsp/plugins/ltsp-build-client/Debian/010-chroot-tagging 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 | case "$MODE" in
after-install)
if [ "$DIST" = "squeeze" ]; then
echo LTSP_CHROOT=$ROOT >> $ROOT/etc/ltsp_chroot
fi
;;
finalization)
if [ -f $ROOT/etc/ltsp_chroot ]; then
client_version=$(dpkg --root=$ROOT -l ltsp-client-core | awk '/^ii/{print $3}')
if dpkg --compare-versions "$client_version" ge "5.3.7" ; then
# Remove ltsp_chroot tag if ltsp-client-core version is recent enough,
# to allow for possibility of backports.
rm $ROOT/etc/ltsp_chroot
fi
fi
;;
esac
|