Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ ConditionPathExists=/run/ostree-live
What=tmpfs
Where=/var/ostreecontainer
Type=tmpfs
Options=size=4G
Options=size=5G
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ if test -f /run/ostree-live; then
if [ -d /ostree/repo/refs/heads/ostree/container ]; then
echo "Importing base content from system repo for deduplication"
ostree pull-local --repo="${ostree_repo}" /ostree/repo
df -h "${ostree_repo}"
fi
# but we won't be able to force hardlinks cross-device
hardlink=''
Expand All @@ -56,6 +57,7 @@ while ! ostree container image pull --authfile "/root/.docker/config.json" \
echo 'Failed to fetch release image; retrying...'
sleep 10
done
df -h "${ostree_repo}"

# ideally, `ostree container image pull` would support `--write-ref` or a
# command to escape a pullspec, but for now it's pretty easy to tell which ref
Expand Down