canonical / chisel-releases

35 stars 50 forks source link

feat(20.04): add slice to generate DB #358

Closed rebornplusplus closed 3 days ago

rebornplusplus commented 4 days ago

This commit adds a new slice base-files_chisel which does not extract anything from the package, rather comes with an artificial path where the Chisel DB should be generated.

This commit is the first one to introduce the "generate" keyword to paths. The "generate" keyword is designed to generate various bookkeeping stuff for a chiselled file system. Right now, it only supports one value: "manifest". Mark a path with "generate: manifest" to generate a Chisel DB at that location. Please note that, the marking path must be in the following format:

/absolute/path/to/dir/**

The path must be an absolute directory path with no wildcard in it's name followed by trailing ** which makes sure nothing else is generated in that directory.

Related PRs

github-actions[bot] commented 4 days ago

Diff of dependencies:

slices/base-files.yaml ```diff @@ -1,3 +0,0 @@ -awk -libc6 -libcrypt1 ```