Commit b808b277 authored by Jakub Jirutka's avatar Jakub Jirutka Committed by Natanael Copa
Browse files

*/linux-*: fix perms of kernel.release file to 644

/usr/share/kernel/<flavor>/kernel.release is a textual file
containing kernel version, so it shouldn't have executable flag as
it has now.

I'm intentionally not bumping pkgrel to avoid rebuilding all kernels
for such insignificant change.
parent 647d6fd5
......@@ -162,7 +162,7 @@ _package() {
"$_outdir"/lib/modules/${_abi_release}/source
rm -rf "$_outdir"/lib/firmware
install -D include/config/kernel.release \
install -D -m644 include/config/kernel.release \
"$_outdir"/usr/share/kernel/$_buildflavor/kernel.release
}
......
......@@ -144,7 +144,7 @@ _package() {
"$_outdir"/lib/modules/${_abi_release}/source
rm -rf "$_outdir"/lib/firmware
install -D include/config/kernel.release \
install -D -m644 include/config/kernel.release \
"$_outdir"/usr/share/kernel/$_buildflavor/kernel.release
mv "$_outdir"/boot/vmlinux* "$_outdir"/boot/vmlinux.64
......
......@@ -207,7 +207,7 @@ _package() {
"$_outdir"/lib/modules/${_abi_release}/source
rm -rf "$_outdir"/lib/firmware
install -D include/config/kernel.release \
install -D -m644 include/config/kernel.release \
"$_outdir"/usr/share/kernel/$_buildflavor/kernel.release
if [ "$CARCH" = "aarch64" ]; then
......
......@@ -229,7 +229,7 @@ _package() {
"$_outdir"/lib/modules/${_abi_release}/source
rm -rf "$_outdir"/lib/firmware
install -D include/config/kernel.release \
install -D -m644 include/config/kernel.release \
"$_outdir"/usr/share/kernel/$_buildflavor/kernel.release
if [ "$CARCH" = "aarch64" ]; then
......
......@@ -150,7 +150,7 @@ _package() {
"$_outdir"/lib/modules/${_abi_release}/source
rm -rf "$_outdir"/lib/firmware
install -D include/config/kernel.release \
install -D -m644 include/config/kernel.release \
"$_outdir"/usr/share/kernel/$_buildflavor/kernel.release
}
......
......@@ -149,7 +149,7 @@ _package() {
"$_outdir"/lib/modules/${_abi_release}/source
rm -rf "$_outdir"/lib/firmware
install -D include/config/kernel.release \
install -D -m644 include/config/kernel.release \
"$_outdir"/usr/share/kernel/$_buildflavor/kernel.release
}
......
......@@ -147,7 +147,7 @@ _package() {
"$_outdir"/lib/modules/${_abi_release}/source
rm -rf "$_outdir"/lib/firmware
install -D include/config/kernel.release \
install -D -m644 include/config/kernel.release \
"$_outdir"/usr/share/kernel/$_buildflavor/kernel.release
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment