Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.49 KB

README.rst

File metadata and controls

48 lines (34 loc) · 1.49 KB

About

This project builds a Debian bootstrap for use as a base for building TurnKey GNU/Linux appliances.

A bootstrap is the minimal root filesystem in which packages can be installed. As of v16.0 / Debian 10/Buster TurnKey uses a default "minbase" variant Debian bootstrap, with the addition of a couple of packages.

For further info please run:

make help

Build & copy to bootstraps directory

If you are building a bootstrap for local use only, then it is not necessary to do a complete make (which will generate a tarball as noted below). Instead you can just build to the install target.

That will build the bootstrap, remove the pre-set list of files noted within the removelist file and copy the bootstrap to $FAB_PATH/bootstraps/$(basename $RELEASE):

make clean
make install

Generate release tarball, sign and publish

These notes have been superceeded by buildtasks/bt-bootstrap but noted here for historical purposes:

ARCH=$(dpkg --print-architecture)
TARBALL=$FAB_PATH/build/bootstrap-$(basename $RELEASE)-$ARCH.tar.gz
ln build/bootstrap.tar.gz $TARBALL

cd turnkey-builds
source vars
export PUBLISH_DEST=${PUBLISH_IMAGES}/bootstrap/
$BT_BIN/generate-signature $TARBALL
$BT_BIN/signature-sign $TARBALL.hash
contrib/publish-files $TARBALL $TARBALL.hash