]> Raphaƫl G. Git Repositories - distgen/blob - lib/sync.sh
Commit rename
[distgen] / lib / sync.sh
1 #! /bin/sh -e
2
3 # Rsync files (removed P option)
4 rsync --delete -aAX $DISTCOOK/root/ ${MOUNTPOINT}/
5
6 # Fix by hand /var/log/journal
7 #XXX: see warning about copy on write on btrfs filesystem
8 #XXX: disable cow on mysql directory as well
9 chattr +C ${MOUNTPOINT}/var/log/journal ${MOUNTPOINT}/var/lib/mysql