#! /bin/sh # some things inside d-i will make an /etc/mtab file, but it shouldn't # be there in the installed system. Systemd will be desperately unhappy. if [ -f /target/etc/mtab ]; then # Keep this in sync with systemds /usr/lib/tmpfiles.d/debian.conf ln -sf ../proc/self/mounts /target/etc/mtab fi