Skip to content

Commit

Permalink
docs: update extension spec
Browse files Browse the repository at this point in the history
Specify allowed contents of the `rootfs`.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
  • Loading branch information
smira committed Jan 25, 2022
1 parent 33082a2 commit 933cdb8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,18 @@ One important note is that the final directory tree of the generated package sho
```

Note that the `manifest.yaml` file lives at the root, while all installed files live under `/rootfs` with the full tree of where they should live on the eventual Talos Linux install.

### `rootfs` Restrictions

The following restrictions are applied to the contents of the `rootfs` of the system extension:

- no symlinks, no hardlinks
- no special files (FIFOs, devices, etc.)
- no world-writeable files or directories
- no empty directories

Any paths in the `rootfs` should be contained within the following hierarchies:

- `/etc/cri/conf.d/`
- `/lib/firmware/`
- `/usr/local/`

0 comments on commit 933cdb8

Please sign in to comment.