apt dir hierarchy retained in the chroot with essential variant
I can just rm -rf $1/etc/apt in a customize hook
Unfortunately, that results in:
...
I: cleaning package lists and apt cache...
done
done
E: failed to unlink /etc/apt/apt.conf.d/…
apt dir hierarchy retained in the chroot with essential variant
variable expansion in special hooks
Thanks @josch. I did wonder if the special hooks weren't execute in the shell. Does that not limit their use somewhat, though?
For example, if a user has to know up-front about the location…
variable expansion in special hooks