def task__squashfs_resolv():
    """
    Install resolv.conf into squashfs-root

    Installs the local resolv.conf into squashfs-root to enable chrooted networking.

    :actions:
      - ``sudo cp /etc/resolv.conf squashfs-root/etc/resolv.conf``
    :targets:
      - squashfs-root/etc/resolv.conf
    :task_dep:
      - :func:`task__squashfs_modinfo`
    :uptodate:
      - _doit.tools.check_timestamp_unchanged('squashfs-root/etc/resolv.conf')
    """
    return {'actions': [
        'sudo cp /etc/resolv.conf squashfs-root/etc/resolv.conf'],
        'targets': ['squashfs-root/etc/resolv.conf'], 'task_dep': [
        '_squashfs_modinfo'], 'uptodate': [True]}
