apt-ostree/etc
Charles Short 4f1bba5c62 Add support for "compose exec"
Add support to run shell commands inside a checked out
ostree branch.

The way that this works is the following:

1. Determine the branch to checkout.
2. Checkout the branch in the workspace.
3. Use systemd-nspawn to create a shell inside
   the branch.

Test Plan
PASSED Installed apt-ostree from git repo.
PASSED Run sudo apt-ostree compose create \
           --base config/debian/bookworm \
           --repo /repo debian/bookworm \
           bookworm-test
PASSED Run sudo apt-ostree compose exec --repo /repo --branch
       bookwork-test "cat /etc/debian_version"

Story: 2010867
Task: 48556

Change-Id: I6ff9658fc04ec83d50d2cb5f3b8dbb70e3065688
Signed-off-by: Charles Short <charles.short@windriver.com>
2023-10-26 08:03:46 -04:00
..
mounts.yaml Add support for "compose exec" 2023-10-26 08:03:46 -04:00