/usr/share/live/build/hooks/008-remove-udev-persistent-rules.chroot is in live-build 3.0~a57-1ubuntu11.
This file is owned by root:root, with mode 0o755.
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 | #!/bin/sh
set -e
# Remove udev persistent rules.
#
# This removes udev persistent rules that cache the host systems mac address to
# remember its device name.
for _FILE in /etc/udev/rules.d/*persistent-net.rules
do
if [ -e "${_FILE}" ]
then
: > ${_FILE}
fi
done
|