/etc/piuparts/scripts-jessie/post_setup_jessie-fake-essential is in piuparts 0.64ubuntu1.
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 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #!/bin/sh
set -e
# The following issues won't be fixed in jessie:
# - unconditional use of ucf during postrm purge
# so add these packages to the "fake" essential set.
USED_DURING_PURGE="ucf"
# For purging configuration from /var/lib/systemd/
INITSYSTEMHELPERS="init-system-helpers"
case ${PIUPARTS_DISTRIBUTION} in
lenny*|squeeze*|wheezy*)
# package does not exist
INITSYSTEMHELPERS=""
;;
esac
case ${PIUPARTS_OBJECTS%%=*} in
dpkg)
# don't install fake essential packages while creating the tarball
exit 0
;;
ucf|init-system-helpers)
# allow testing of the fake essential packages
exit 0
;;
esac
echo "*** Adding fake essential packages ***"
apt-get install -yf $USED_DURING_PURGE $INITSYSTEMHELPERS
|