Use custom packaging for the kernel and debug symbols

Use custom packaging procedure to generate a kernel tarball and
tarball with debug symbols. The package generated by tarxz-pkg
can't be used as a deployment entity for two reasons:
  - It doesn't contain arch-specific image (bzImage or Image) only
    ELF binary (vmlinux)
  - All binaries in it contain debug symbols which pushes the size
    of the resulted tarball to hundreds of megs.

Debug package generation is optional in the custom procedure and can be
enabled by the `-d` command-line switch.

Change-Id: Ib0129f231718d1ad449257d9e6232bc7bf9f5ecf
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/24350
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
Reviewed-by: Oleksandr Tymoshenko <ovt@google.com>
Tested-by: Oleksandr Tymoshenko <ovt@google.com>
1 file changed
tree: 2d8de13d710a93a762c953350c704508f4133b43
  1. release/
  2. src/
  3. testing/
  4. BUILD.bazel
  5. cloudbuild.yaml
  6. CONTRIBUTING.md
  7. deps.bzl
  8. go.mod
  9. go.sum
  10. LICENSE
  11. README.md
  12. run_tests.sh
  13. WORKSPACE
README.md

Tools for Container-Optimized OS

This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.

See CONTRIBUTING.md for how to contribute.