BSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.11.0.1--1.0.1
FreeBSD:14:quarterly1.0.11.0.1n/a-1.0.1
FreeBSD:15:latest1.0.11.0.1n/a--
FreeBSD:15:quarterly1.0.11.0.1n/an/an/a
FreeBSD:16:latest1.0.11.0.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

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

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
uidfix
Service scripts
none

Message after installing

pkg(8) loads only plugins that are explicitly enabled.  To activate
pkg-be-plugin, add the following line to /usr/local/etc/pkg.conf:

	PLUGINS [ "be" ];

The plugin works without a configuration file; all keys have built-in
defaults.  To customize, edit /usr/local/etc/pkg/be.conf.

See pkg-be-plugin(8) for details.

Files

distinfo 1
FileSizeSHA256
usenix17-pkg-be-plugin-1.0.1_GH0.tar.gz337021582cddbd1f3bce9352d92945722c522ba0b542e86f8df10d6d49dde5d735fa9

Commit history 1

DateCommitCreditsLog 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