Skip to content
Daniel Hiepler edited this page Sep 2, 2023 · 16 revisions

/bootstrap-plugins/dist - transfer files from dist directory to disk image

Config parameters

Name Description Default Value
RPI_DIST_COPY_ON_LOGIN array of files to copy on first login
RPI_DIST_COPY_ON_BOOT array of files to copy on first boot
RPI_DIST_COPY_ON_BAKE array of files to copy during bake
RPI_DISTDIR path to directory where project stores distfiles /home/daniel/code/rpi-cookstrap/bootstrap-dist
RPI_USER_DISTDIR path where user specific distfiles are stored /home/daniel/.bootstrap-dist
RPI_IMG_DISTDIR path relative to image root where distfiles are stored /var/lib/bootstrap-dist

Distfiles

none

Examples

RPI_BOOTSTRAP_PLUGINS+=("dist") to append the plugin or RPI_BOOTSTRAP_PLUGINS=( ... "dist" ... ) to place at some position in the current list.

copy "etc/timezone" from ./bootstrap-dist or ~/.bootstrap-dist to image

RPI_DIST_COPY="/etc/timezone"

copy directories "etc", "home" and "usr" from ./bootstrap-dist or ~/.bootstrap-dist to image

RPI_DIST_COPY=( "/etc", "/home", "/usr" )

Tests

Clone this wiki locally