apt-ostree/config/debian/bullseye/bootstrap.yaml
Charles Short dfa239a329 compose: Add compose "create" sub-command
The purpose of the create subcommand is to take a
yaml based configuration and turn it into a rootfs
directory and convert into a ostree deployable branch.
This branch would be able to used create virtual machine
images and even linux containers.

To create an apt-ostree configuration use the sample
from config/debian/bookworm/bootstrap.yaml. You can
create a branch by running the following command:

sudo apt-ostree compose create --repo <path to repo> \
	--base <config directory> \
	<name of ostree branch>

If the ostree repo branch doesnt exist, then apt-ostree
will create the spcified repo in the repo flag.

Sample rootfs configuration include

* debian:
   - bookworm
   - bullseye
* starlingx:
   - master

Testing:
PASSED Installed apt-ostree from git repo.
PASSED Run "apt-ostree compose create --base config/debian/bookworm \
       --repo=/tmp/test debian/bookworm"
PASSED Checked for config in /tmp/test.
PASSED Ran "ostree --repo=/tmp/test refs" to see the "test"
       branch.

Story: 2010867
Task: 48556

Change-Id: I7a311f1b93ea2ac80c7ab24efc9c51d0d990e5e0
Signed-off-by: Charles Short <charles.short@windriver.com>
2023-08-14 11:41:09 -04:00

22 lines
340 B
YAML

# Copyright (c) 2023 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
#
---
mmdebstrap:
suite: bullseye
architectures: [amd64]
components: [main, contrib, non-free]
vairant: minbase
setup-hooks:
- 'sync-in overlay/debian/ /'
packages:
- linux-image-amd64
- ostree
- ostree-boot
- dracut