gnomeos-run: Put current symlink in correct place
This commit is contained in:
1 parent
53d388a416
commit
78fa13f966
1 file changed
+3
-1
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user