diff options
Diffstat (limited to 'ostree_commit.sh')
| -rwxr-xr-x | ostree_commit.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ostree_commit.sh b/ostree_commit.sh new file mode 100755 index 0000000..23a04e0 --- /dev/null +++ b/ostree_commit.sh @@ -0,0 +1,8 @@ +#!/bin/bash -xe + +ROOTFS_DIR=$1 + +[ ! -d repo ] && \ + ostree --repo=repo init + +ostree --repo=repo commit --branch=rootfs "$ROOTFS_DIR" |
