From 29d11213f77f4af60792e82b755bae057c5de1d5 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 27 Dec 2021 06:34:22 -0500 Subject: [PATCH] add kernel building instructions for Pixel 6 --- static/build.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/static/build.html b/static/build.html index e1cb8845..60830bc8 100644 --- a/static/build.html +++ b/static/build.html @@ -448,6 +448,22 @@ cd ../.. git submodule sync git submodule update --init --recursive ./build.sh redfin + +

For the Pixel 6 and Pixel 6 Pro, you need a separate repo source tree for + building the kernel:

+ +
mkdir kernel-raviole
+cd kernel-raviole
+repo init -u https://github.com/GrapheneOS/kernel-manifest-raviole.git -b 12
+repo sync -j16
+ +

To build the Pixel 6 and Pixel 6 Pro kernel:

+ +
LTO=full BUILD_KERNEL=1 ./build_slider.sh
+ +

You need to replace the files in the GrapheneOS source tree at + device/google/raviole-kernel with the output from your kernel + build at out/mixed/dist in the kernel-raviole source tree.