Skip to content

Commit a59f541

Browse files
nya3jpChromeos LUCI
authored andcommitted
fast_install_packages: Skip cros-go_pkg_postinst
cros-go_pkg_postinst does nothing for binary packages. BUG=b:303323101 TEST=BOARD=amd64-generic bazel build @portage//host/dev-go/cmp TEST=cat bazel-bin/external/_main~portage~portage/internal/packages/\ stage2/host/chromiumos/dev-go/cmp/cmp-0.5.6-r3_host_deps.log Change-Id: I50d8460e9cf782bf9c2ee64f478ecb86676ef25f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/bazel/+/5051001 Reviewed-by: Maksim Ivanov <[email protected]> Tested-by: Shuhei Takahashi <[email protected]> Commit-Queue: Shuhei Takahashi <[email protected]>
1 parent 4bd3559 commit a59f541

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

portage/bin/fast_install_packages/pkg_hook_check.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ for f in {,pre_,post_}pkg_{setup,preinst,postinst}; do
2121
'pkg_setup () { cros-workon_pkg_setup "$@" } ')
2222
# cros-workon_pkg_setup does nothing for binary packages.
2323
;;
24+
'pkg_postinst () { cros-go_pkg_postinst "$@" } ')
25+
# cros-go_pkg_postinst does nothing for binary packages.
26+
;;
2427
*)
2528
echo "${f} has a custom definition:"
2629
declare -f "${f}"

0 commit comments

Comments
 (0)