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
|
||||
ostree --repo=repo checkout ${rev} ${BRANCH_PREFIX}${branch}-${rev}
|
||||
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
|
||||
cd ..
|
||||
|
||||
|
|
@ -90,6 +91,7 @@ cp -a ./ostree/${BRANCH_PREFIX}${branch}-current/usr/sbin/ostree-init .
|
|||
|
||||
cd ${WORKDIR}
|
||||
|
||||
sync
|
||||
umount fs
|
||||
rmdir fs
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue