ports-mgmt/pkg-be-plugin 1.0.1 FreeBSD
Plugin for pkg(8) to auto-create ZFS boot environments
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
e621530321- License
- BSD2CLAUSE
- Categories
- ports-mgmt, sysutils
- Package size
- 16.1 KiB, 30.6 KiB installed
Description
pkg-be-plugin is a pkg(8) plugin that automatically creates a ZFS boot environment before each install, upgrade, or deinstall transaction. If a transaction leaves the system in a broken state, the pre-transaction BE provides a clean rollback point.
The plugin uses libbe(3) directly with no subprocess invocations of bectl(8) or zfs(8). Boot environments are pruned automatically based on a configurable keep count and minimum age.
Install
Binary package:
pkg install pkg-be-plugin
From the ports tree:
cd /usr/ports/ports-mgmt/pkg-be-plugin/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= pkg-be-plugin>0:ports-mgmt/pkg-be-plugin
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.0.1 | 1.0.1 | - | - | 1.0.1 |
| FreeBSD:14:quarterly | 1.0.1 | 1.0.1 | n/a | - | 1.0.1 |
| FreeBSD:15:latest | 1.0.1 | 1.0.1 | n/a | - | - |
| FreeBSD:15:quarterly | 1.0.1 | 1.0.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.1 | 1.0.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libpkg.so: ports-mgmt/pkg
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
Options name: ports-mgmt_pkg-be-plugin
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- uidfix
- Service scripts
- none
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| usenix17-pkg-be-plugin-1.0.1_GH0.tar.gz | 33702 | 1582cddbd1f3bce9352d92945722c522ba0b542e86f8df10d6d49dde5d735fa9 |
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
e621530321 |
Sasha Karcz | ports-mgmt/pkg-be-plugin: new port pkg-be-plugin is a pkg(8) plugin that automatically creates a ZFS
boot environment before each install, upgrade, or deinstall
transaction. If a transaction leaves the system in a broken state,
the pre-transaction BE provides a clean rollback point.
The plugin uses libbe(3) directly with no subprocess invocations of
bectl(8) or zfs(8). Boot environments are pruned automatically based
on a configurable keep count and minimum age.
Co-authored-by: Michael Osipov <[email protected]>
PR: 295305 |