tree: 9cf2d7071b7864182995425fa90134857660e01d [path history] [tgz]
  1. files/
  2. dump-capture-kernel-6.1.ebuild
  3. Manifest
  4. metadata.xml
  5. 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