Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libguestfs: update to 1.26.7-1, improve packaging
Changes: - Allow the python version to be changed (default to 3 instead of 2). - Disable OCaml to reduce dependencies. - Disable building static libraries. - Remove `-j3` from `make`, this option should be set in /etc/makepkg.conf using MAKEFLAGS. - To reduce bandwidth usage for RH, and to speed up the installation process, keep the downloaded appliance cached in /var/cache/guestfs. - Remove use of temporary directory for the appliance, saving 510 MiB in /tmp/. - Fix mixed tabs/spaces, trailing spaces. - Added check target, disabled due to spurious (?) failures. - Added file and fuse to depends, removing fuse from makedepends (fixes namcap warnings). - Avoid outputting download progress when output is not a tty (e.g. a file) to avoid spamming adding 1.8k lines to /var/log/pacman.log.
- Loading branch information
1 parent
a5a4ebd
commit 0e73d6f
Showing
3 changed files
with
64 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
post_install() { | ||
usr/sbin/update-libguestfs-appliance | ||
usr/sbin/update-libguestfs-appliance | ||
} | ||
|
||
remove_old_appliance() { | ||
rm -f usr/lib/guestfs/{kernel,initrd,root,README.fixed} | ||
} | ||
|
||
pre_remove() { | ||
rm -f usr/lib/guestfs/{kernel,initrd,root,README.fixed} | ||
remove_old_appliance | ||
rm -f /var/cache/guestfs/appliance-* | ||
} | ||
|
||
pre_upgrade() { | ||
pre_remove | ||
remove_old_appliance | ||
} | ||
|
||
post_upgrade() { | ||
post_install | ||
post_install | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters