mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 03:20:46 -05:00
Port the `futility vbutil_kernel --pack` code path used to sign ChromeOS boot images into magiskboot as a new `sign-chromeos` action. The kernel keyblock and data key are embedded into the executable, and all signing parameters previously passed in sign_chromeos are hardcoded. The output is bit-for-bit identical to the reference tool. Rename the existing `sign` action to `sign-avb1` to disambiguate. Remove the prebuilt futility binary and stop shipping the chromeos assets folder; scripts now call magiskboot directly. Assisted-by: Claude Opus 5.5
21 lines
507 B
Plaintext
21 lines
507 B
Plaintext
# Set the default behavior, in case people don't have core.autocrlf set.
|
|
* text eol=lf
|
|
|
|
# Explicitly declare text files you want to always be normalized and converted
|
|
# to native line endings on checkout.
|
|
# *.c text
|
|
# *.h text
|
|
|
|
# Declare files that will always have CRLF line endings on checkout.
|
|
*.cmd text eol=crlf
|
|
*.bat text eol=crlf
|
|
|
|
# Denote all files that are truly binary and should not be modified.
|
|
/tools/keys/** binary
|
|
*.jar binary
|
|
*.exe binary
|
|
*.apk binary
|
|
*.png binary
|
|
*.jpg binary
|
|
*.ttf binary
|