ostree-pin: Tool to re-pin ostree deployments

[ gpl, program, utility ] [ Propose Tags ]

CLI tool for easily pinning the current ostree deployment


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.1.1
Change log CHANGELOG.md
Dependencies base (<5), gi-gio, gi-ostree (>=1.0.18), simple-cmd-args, unix [details]
License GPL-3.0-only
Copyright 2019-2021, 2023 Jens Petersen
Author Jens Petersen <juhpetersen@gmail.com>
Maintainer Jens Petersen <juhpetersen@gmail.com>
Category Utility
Home page https://github.com/juhp/ostree-pin
Bug tracker https://github.com/juhp/ostree-pin/issues
Source repo head: git clone https://github.com/juhp/ostree-pin.git
Uploaded by JensPetersen at 2023-10-30T11:38:35Z
Distributions Fedora:0.1.1, NixOS:0.1.1
Executables ostree-pin
Downloads 35 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2023-10-30 [all 2 reports]

Readme for ostree-pin-0.1

[back to package description]

ostree-pin

Hackage GPL-3 license

Summary

A small utility to "pin" the current ostree deployment. eg useful on Fedora Silverblue for preserving the current booted deployment image. The idea is to run this before booting into a new staged deployment.

Help

$ ostree-pin --help

Tool to update pinned ostree deployment

Usage: ostree-pin [--version] [-n|--dryrun] [-p|--rollback]

  See https://github.com/juhp/ostree-pin#readme

Available options:
  -h,--help                Show this help text
  --version                Show version
  -n,--dryrun              Dry run
  -p,--rollback            Pin previous (rollback) deployment

Install

Needs the Fedora ostree-devel package (or better ghc-gi-ostree-devel) or libostree-dev (Debian/Ubuntu). Also needs ghc and cabal-install (or stack).

$ cabal install

or from git:

$ stack install

Usage

$ sudo ostree-pin

Sets the current deployment to pinned, and unpins the previously pinned deployment. If more than one deployment was pinned it doesn't touch them.

Contribute

ostree-pin is distributed under the GPL license version 3 or later.

Contributions are welcome at https://github.com/juhp/ostree-pin