mirror of
https://github.com/topjohnwu/Magisk
synced 2025-08-31 10:55:11 +00:00
Fix Pixel C installation
This commit is contained in:
@@ -32,12 +32,7 @@ get_outfd() {
|
||||
}
|
||||
|
||||
ui_print() {
|
||||
if $BOOTMODE; then
|
||||
echo "$1"
|
||||
else
|
||||
echo -n -e "ui_print $1\n" >> /proc/self/fd/$OUTFD
|
||||
echo -n -e "ui_print\n" >> /proc/self/fd/$OUTFD
|
||||
fi
|
||||
$BOOTMODE && echo "$1" || echo -e "ui_print $1\nui_print" >> /proc/self/fd/$OUTFD
|
||||
}
|
||||
|
||||
mount_partitions() {
|
||||
@@ -155,8 +150,9 @@ flash_boot_image() {
|
||||
}
|
||||
|
||||
sign_chromeos() {
|
||||
echo > empty
|
||||
ui_print "- Signing ChromeOS boot image"
|
||||
|
||||
echo > empty
|
||||
./chromeos/futility vbutil_kernel --pack new-boot.img.signed \
|
||||
--keyblock ./chromeos/kernel.keyblock --signprivate ./chromeos/kernel_data_key.vbprivk \
|
||||
--version 1 --vmlinuz new-boot.img --config empty --arch arm --bootloader empty --flags 0x1
|
||||
|
Reference in New Issue
Block a user