tree: ea89d94df3cb6ca5d9dc0990fe74ef562afba4b7 [path history] [tgz]
  1. dump-capture-kernel-6.6-r22.ebuild
  2. dump-capture-kernel-9999.ebuild
  3. metadata.xml
  4. README.md
project-lakitu/sys-kernel/dump-capture-kernel/README.md

How to update dump-capture-kernel

Find the dump-capture-kernel commit you want to use for the tarball at https://cos.googlesource.com/third_party/dump-capture-kernel. Download the dump-capture-kernel tarball and upload it to chromeos-localmirror using the following commands:

# Better do this outside the chroot otherwise gsutil will complain
# For example: Consider the kernel commit to be f8649a7.
$ wget https://cos.googlesource.com/third_party/dump-capture-kernel/+archive/f8649a7.tar.gz
$ gsutil cp -n -a public-read f8649a7.tar.gz \
    gs://chromeos-localmirror/distfiles/cos-dump-capture-kernel-f8649a7.tar.gz
$ rm f8649a7.tar.gz

Update the EGIT_COMMIT variable in the ebuild file with the new commit.

  1. If you have just changed the dump-capture-kernel commit in the same kernel version, use the following command:

    # Outside chroot
    $ git mv dump-capture-kernel-<kernel_version>-r<revision>.ebuild dump-capture-kernel-<kernel_version>-r<revision+1>.ebuild
    
    # Inside chroot
    $ equery-lakitu w dump-capture-kernel
    $ ebuild-lakitu </path/to/ebuild>.ebuild manifest
    $ emerge-lakitu dump-capture-kernel
    
  2. If you have changed the kernel version for dump-capture-kernel, use the following commands:

    # Outside chroot
    $ git mv dump-capture-kernel-<old_kernel_version>-r<revision>.ebuild dump-capture-kernel-<new_kernel_version>-r1.ebuild
    
    # Inside chroot
    $ equery-lakitu w dump-capture-kernel
    $ ebuild-lakitu </path/to/ebuild>.ebuild manifest
    $ emerge-lakitu dump-capture-kernel