blob: ed2dd131d090c70615f1ee9ee16ac001ddd4eacd (
plain)
- #!/bin/sh
- set -e
- . ./config-DEFAULTS || exit 1
- . ./config-HOST || exit 1
- . ./config-TARGET || exit 1
- . ./config-MANDATED || exit 1
- . ./functions || exit 1
- mount "$rootdev_host" "$mountpoint"
- rsync -av --delete --one-file-system "$mountpoint/"* "$targettemp/" --exclude 'etc/shadow*' --exclude 'etc/gshadow*' --exclude 'etc/ssh/ssh_host_*_key*' --exclude 'root/**' --dry-run
- '/root:[^:]*/root:'
- umount "$mountpoint"
|