pack_kernel: Add script to package kernel update files

The existing update_kernel.sh updates the device remotely. This
requires execution in a Linux-based environment and is not usable on
Windows machines. To solve this problem, I add a script to package
kernel related files and embed a script for device local update.

BUG=None
TEST=Host: bash pack_kernel.sh --board=rauru
     Device: tar xzf /tmp/$TAR_NAME -C /tmp
             bash /tmp/kernel_bundle/apply_bundle.sh --reboot

Change-Id: I0058520c4b4126727f165f2c2881207a0c2fb394
Signed-off-by: Jason Chen <jason-ch.chen@mediatek.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/7129639
Commit-Queue: Fei Shao <fshao@chromium.org>
Reviewed-by: Fei Shao <fshao@chromium.org>
Reviewed-by: Pin-yen Lin <treapking@chromium.org>
1 file changed