Replies: 2 comments 5 replies
-
My guess is that the deployment origin file isn't setup correctly and therefore |
Beta Was this translation helpful? Give feedback.
-
This is a local ref. I.e., one under When you do the original deployment, you want to specify the remote refspec to deploy from. Like |
Beta Was this translation helpful? Give feedback.
-
I have the following setup:
I'm booting a system that has one commit
03...
.I have a remote that has two commits, the same as the booted system
03...
and another one that adds/modifies a few files97...
which has03...
as the parent commit.On the booted system:
My remote repo:
The booted system has the remote configured and it can pull the new commit:
But when I try to do an upgrade, OSTree claims 'no update available':
But if I specify the commit id to upgrade, it works:
I have tried to investigate the issue. I see the 'no update available' message comes from here because
changed
is false.changed
's value is determined here inostree_sysroot_upgrader_pull_one_dir
based on a comparision of the old and new revision (commit id).What I don't understand is why
self->new_revision
does not seem to have the value97...
in my case. My understanding based on the code and my experiments is that bothfrom_revision
andself->new_revision
have the value03...
which leads to the 'no update available' message.It looks like
self->new_revision
is only changed when the commit is overriden explicitly. Am I looking at the wrong code?Can someone tell me how I can make the upgrade without explicitly specifying the latest commit id? I do want to upgrade to the latest commit without any exceptions.
Beta Was this translation helpful? Give feedback.
All reactions