/usr/share/ltsp/plugins/ltsp-build-client/Debian/020-kernel-img-conf 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 | case "$MODE" in
configure)
KERNEL_IMG_OPTS="warn_initrd=no do_symlinks=yes relative_links=yes link_in_boot=yes do_bootloader=no"
;;
after-install)
if [ -f "$ROOT/etc/kernel-img.conf" ]; then
mv -f "$ROOT/etc/kernel-img.conf" "$ROOT/etc/kernel-img.conf.orig"
fi
# Setup for kernel install
for opt in $KERNEL_IMG_OPTS; do
echo $opt >> "$ROOT/etc/kernel-img.conf"
done
;;
esac
|