Skip to content

radhus/meta-etckeeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meta-etckeeper

OpenEmbedded meta layer for etckeeper. Contains both a recipe for the tools to be used on target and in sysroot, as well as a rootfs class.

Usage

Include the layer in your bbclasses.conf.

Creation

Include the rootfs class and image type as in your configuration:

IMAGE_CLASSES += "etckeeper_rootfs"
IMAGE_FSTYPES += "etckeeper-bare"

This will initialize /etc on your normal rootfs as a Git repository using etckeeper, and also deploy this as a bare Git repo in your deploy directory.

Rebasing /etc

It is possible to specify a commit as base for your /etc repository in the build. This could e.g. be used to release /etc repositories which are based on previous releases. Possibly this can then be used to solve configuration conflicts during upgrades, using Git merges or rebases.

List the commit to use as root and the path to the repository containing the commit:

ETCKEEPER_REBASE_REPO = "file:///path/to/etcrepo.git"
ETCKEEPER_REBASE_REV = "abcdef123456"

About

Etckeeper meta-layer for OpenEmbedded

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published