[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic-devel] show what deployment is hotfixed



On 04/29/2016 08:06 PM, Dusty Mabe wrote:
If I `ostree admin unlock --hotfix` a clean clone is created for me to rollback to. That
is pretty awesome. The only thing I don't like is that it's not too clear from a call to
`rpm-ostree status` that the deployment I'm on is "dirty". Would it be reasonable to open
an issue to request some marker (can be a single character) added to the output to know
if a deployment has been hotfixed? See example output below:

Yeah, that would be a good improvement.  Perhaps marking the version field?


It's worth noting that the output of 'ostree admin status' clearly marks the unlocked deployment.

# ostree admin status
* fedora-atomic cd03ffe2ab6d0db670d06f0b5e89be60350118bd1f3acb721b77adfda34235a1.0
    Version: 23.111
    Unlocked: hotfix
origin refspec: fedora-atomic:fedora-atomic/f23/x86_64/testing/docker-host fedora-atomic cd03ffe2ab6d0db670d06f0b5e89be60350118bd1f3acb721b77adfda34235a1.1
    Version: 23.111
origin refspec: fedora-atomic:fedora-atomic/f23/x86_64/testing/docker-host



-bash-4.3# ostree admin unlock --hotfix
Copying /etc changes: 24 modified, 0 removed, 67 added
Transaction complete; bootconfig swap: yes deployment count change: 0
Freed objects: 318.7 MB
Hotfix mode enabled.  A writable overlayfs is now mounted on /usr
for this booted deployment.  A non-hotfixed clone has been created
as the non-default rollback target.
-bash-4.3#
-bash-4.3#
-bash-4.3# rpm-ostree status
  TIMESTAMP (UTC)         VERSION     ID             OSNAME            REFSPEC
* 2016-04-28 22:39:30     23.111      cd03ffe2ab     fedora-atomic     fedora-atomic:fedora-atomic/f23/x86_64/testing/docker-host
  2016-04-28 22:39:30     23.111      cd03ffe2ab     fedora-atomic     fedora-atomic:fedora-atomic/f23/x86_64/testing/docker-host



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]