pk4-replace(1) | User Manuals | pk4-replace(1) |
pk4-replace - build sources and replace currently installed packages
pk4-replace [options]
pk4-replace builds the sources in the current directory using sbuild, then replaces the subset of currently installed binary packages with the newly built packages.
# Fetch the i3 source, apply a bugfix, rebuild and replace installed packages: pk4 i3 patch -p1 < /tmp/myfix.patch pk4-replace
The following attributes can be configured in ~/.config/pk4/pk4.deb822:
Example (default):
Build-Command:
sbuild
--post-build-commands
echo %SBUILD_CHANGES > /proc/self/fd/3
-A
--no-clean-source
--dpkg-source-opt=--auto-commit
Example (illustrating how one line is one argv element):
Build-Command:
sbuild
--post-build-commands
echo %SBUILD_CHANGES > /proc/self/fd/3
-d
stretch
Michael Stapelberg <stapelberg at debian.org>
OCTOBER 2017 | Linux |