Git: version for GNU / Linux distribution
I am working on my own version of the GNU / Linux distribution. I need to add / remove packages, edit scripts ... I am running on an unsquashed filesystem (squashfs-root /) used as root for chroot. I am wondering which is the best way to manage my work. Should I create a git repository and add squashfs-root /? My main fear is messing up the chroot env and can't go back to working version. Thanks, hamen
UPDATE : I'll try rdiff-backup. Thanks.
a source to share
The problem with git (and other sets of version controls) is that it doesn't handle permissions and special files very well.
etckeeper is a collection of scripts on top of git for managing /etc
. This can already provide you with more security.
Finally, you say what you are working with chroot()
. This will allow you to easily create backups from overseas chroot for example. with rdiff-backup , which creates a nice compact view on disk while allowing you to view the most recent version at the same time.
a source to share