ANDROID: db845c use initramfs() directly.

No need to use the super big and deprecated kernel_images()
macro, as all we need here is to build initramfs.

Bug: 368689504
Change-Id: I4c971ce5ee66197b9a1c3b020eabda3b42e4f727
Signed-off-by: HONG Yifan <elsk@google.com>
diff --git a/BUILD.bazel b/BUILD.bazel
index e338eb6..4cf2f96 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -21,7 +21,6 @@
     "initramfs",
     "kernel_build",
     "kernel_compile_commands",
-    "kernel_images",
     "kernel_kythe",
     "kernel_modules_install",
     "merge_kzip",
@@ -823,18 +822,17 @@
     kernel_build = ":db845c",
 )
 
-kernel_images(
-    name = "db845c_images",
-    build_initramfs = True,
-    kernel_build = ":db845c",
+initramfs(
+    name = "db845c_initramfs",
     kernel_modules_install = ":db845c_modules_install",
+    visibility = ["//visibility:private"],
 )
 
 pkg_files(
     name = "db845c_dist_files",
     srcs = [
         ":db845c",
-        ":db845c_images",
+        ":db845c_initramfs",
         ":db845c_modules_install",
         ":db845c_merged_kernel_uapi_headers",
         # Mixed build: Additional GKI artifacts.