Remove duplicated target.json file

In the 6.3 cycle target.json moved to `scripts`[^0] [^1] which is
installed as a whole anyway. Installing it to `rust` thus isn't needed.

See also discussion here: https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/merge_requests/6#note_255153

[^0]: c83b16cefd
[^1]: 6a135dd2ab
This commit is contained in:
Raphael Nestler 2025-03-18 16:44:34 +01:00
parent 59f987c713
commit e9f0e942bf

View File

@ -179,7 +179,6 @@ _package-headers() {
# Rust support # Rust support
echo "Installing Rust files..." echo "Installing Rust files..."
install -Dt "$builddir/rust" -m644 scripts/target.json
install -Dt "$builddir/rust" -m644 rust/*.rmeta install -Dt "$builddir/rust" -m644 rust/*.rmeta
install -Dt "$builddir/rust" -m644 rust/*.so install -Dt "$builddir/rust" -m644 rust/*.so