gnomeos-run: Put current symlink in correct place
This commit is contained in:
parent
53d388a416
commit
78fa13f966
|
|
@ -81,7 +81,8 @@ for branch in runtime devel; do
|
||||||
if ! test -d ${BRANCH_PREFIX}${branch}-${rev}; then
|
if ! test -d ${BRANCH_PREFIX}${branch}-${rev}; then
|
||||||
ostree --repo=repo checkout ${rev} ${BRANCH_PREFIX}${branch}-${rev}
|
ostree --repo=repo checkout ${rev} ${BRANCH_PREFIX}${branch}-${rev}
|
||||||
fi
|
fi
|
||||||
ln -sf ${BRANCH_PREFIX}${branch}-${rev} ${BRANCH_PREFIX}${branch}-current
|
rm -f ${BRANCH_PREFIX}${branch}-current
|
||||||
|
ln -s ${BRANCH_PREFIX}${branch}-${rev} ${BRANCH_PREFIX}${branch}-current
|
||||||
done
|
done
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|
@ -90,6 +91,7 @@ cp -a ./ostree/${BRANCH_PREFIX}${branch}-current/usr/sbin/ostree-init .
|
||||||
|
|
||||||
cd ${WORKDIR}
|
cd ${WORKDIR}
|
||||||
|
|
||||||
|
sync
|
||||||
umount fs
|
umount fs
|
||||||
rmdir fs
|
rmdir fs
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue