large-file-support: fix missing function for running manually

The function die is provided by portage when running as a hook, and is
missing when running manually. This CL adds a simple die()
implementation just like what was done for eqawarn().

BUG=b:205061175
TEST=Run ./hooks/install/large-file-support.sh <path_to_so>

Change-Id: Iadbb6dd80cdc3f6bb80639c59a17353b73c2faef
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/5098789
Auto-Submit: Shik Chen <shik@chromium.org>
Reviewed-by: Greg Edelston <gredelston@google.com>
Tested-by: Shik Chen <shik@chromium.org>
Commit-Queue: Greg Edelston <gredelston@google.com>
1 file changed
tree: 5c45819c0cd9f1322bb9f46436bd5da2ab26f17d
  1. bin/
  2. build_library/
  3. chroot_version_hooks.d/
  4. hooks/
  5. lib/
  6. mod_for_test_scripts/
  7. sdk_lib/
  8. .gitignore
  9. build_image.sh
  10. build_kernel_image.sh
  11. build_sdk_board
  12. common.sh
  13. create_sdk_board_root
  14. cros_show_stacks
  15. DIR_METADATA
  16. image_to_vm.sh
  17. make_netboot.sh
  18. mod_image_for_recovery.sh
  19. mount_gpt_image.sh
  20. OWNERS
  21. OWNERS.kernel
  22. PRESUBMIT.cfg
  23. README.md
  24. remote_access.sh
  25. set_shared_user_password.sh
  26. update_bootloaders.sh
  27. update_chroot
  28. update_chroot.sh
  29. update_kernel.sh
README.md

src/scripts directory

This repository contains build tools and scripts written in shell (e.g., Bash). Historically, much of our build process was written in shell in this directory, however, we're currently in the process of migrating many scripts to Python in Chromite.

In general, we're not currently accepting new scripts in this directory.

If you want to host a script for yourself/local team, feel free to use the src/platform/dev/contrib/ directory instead.