Skip to content

Commit

Permalink
vmcheck/overlay: Bump ostree version
Browse files Browse the repository at this point in the history
We need the new ostree for livefs. Also while I'm here, rework things so we only
do one HTTP connection by passing multiple URLs at once.
  • Loading branch information
cgwalters committed Mar 21, 2017
1 parent 923f69a commit 3682009
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/vmcheck/overlay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,11 @@ rm -f vmcheck/usr/etc/{.pwd.lock,passwd-,group-,shadow-,gshadow-,subuid-,subgid-
rsync -rlv /var/roothome/sync/insttree/usr/ vmcheck/usr/
# ✀✀✀ BEGIN hack for https://github.com/projectatomic/rpm-ostree/pull/642 ✀✀✀
ostree admin unlock || true
for url in https://kojipkgs.fedoraproject.org//packages/ostree/2017.2/3.fc25/x86_64/ostree-{,libs-,grub2-}2017.2-3.fc25.x86_64.rpm; do
curl -sSL -O $url
done
ver=2017.3
release=2.fc25
baseurl=https://kojipkgs.fedoraproject.org//packages/ostree/${ver}/${release}/x86_64/ostree-
suffix=${ver}-${release}.x86_64.rpm
curl -sS -LO ${baseurl}${suffix} -LO ${baseurl}libs-${suffix} -LO ${baseurl}grub2-${suffix}
rpm -Uvh --force *.rpm
for x in *.rpm; do
rpm2cpio $x | (cd vmcheck && cpio -div)
Expand Down

0 comments on commit 3682009

Please sign in to comment.