ensure_resolvconf

Function ensure_resolvconf 

Source
fn ensure_resolvconf<'d>(
    rootfs: &'d Dir,
    proc1_root: &Dir,
) -> Result<Option<Renamer<'d>>>
Expand description

Work around https://github.com/containers/buildah/issues/4242#issuecomment-2492480586 among other things. We unconditionally replace the contents of /etc/resolv.conf in the target root with whatever the host uses (in Fedora 41+, that’s systemd-resolved for Anaconda).