summaryrefslogtreecommitdiff
path: root/tests/test-admin-deploy-uboot.sh
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2017-05-30 14:07:13 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2017-06-01 18:15:56 +0000
commit1eff3e83436b6129c0dc350dbbda52ba330e3834 (patch)
tree5c293c9332409816fdb573f1993bd852cc137cf9 /tests/test-admin-deploy-uboot.sh
parent241470460922c71e69beb3e0ac09c3840f33e200 (diff)
downloadostree-1eff3e83436b6129c0dc350dbbda52ba330e3834.tar.gz
Add a notion of "physical" sysroot, use for remote writing
Using `${sysroot}` to mean the physical storage root: We don't want to write to `${sysroot}/etc/ostree/remotes.d`, since nothing will read it, and really `${sysroot}` should just have `/ostree` (ideally). Today the Anaconda rpmostree code ends up writing there. Fix this by adding a notion of "physical" sysroot. We determine whether the path is physical by checking for `/sysroot`, which exists in deployment roots (and there shouldn't be a `${sysroot}/sysroot`). In order to unit test this, I added a `--sysroot` argument to `remote add`. However, doing this better would require reworking the command line parsing for the `remote` argument to support specifying `--repo` or `--sysroot`, and I didn't quite want to do that yet in this patch. Closes: https://github.com/ostreedev/ostree/issues/892 Closes: #896 Approved by: jlebon
Diffstat (limited to 'tests/test-admin-deploy-uboot.sh')
-rwxr-xr-xtests/test-admin-deploy-uboot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-admin-deploy-uboot.sh b/tests/test-admin-deploy-uboot.sh
index d4c3a0db..d9104f8c 100755
--- a/tests/test-admin-deploy-uboot.sh
+++ b/tests/test-admin-deploy-uboot.sh
@@ -20,7 +20,7 @@
set -euo pipefail
-echo "1..17"
+echo "1..19"
. $(dirname $0)/libtest.sh