Skip to content

Commit

Permalink
attr: update patch for CE22
Browse files Browse the repository at this point in the history
  • Loading branch information
Zabrimus committed Sep 25, 2024
1 parent 3292019 commit 45ff882
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions patches/CoreELEC.coreelec-22/copy_include_attr.patch
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
diff --git a/packages/devel/attr/package.mk b/packages/devel/attr/package.mk
index 051a9ab9c1..42b82bfdc8 100644
index ef8af654f4..1090ca3756 100644
--- a/packages/devel/attr/package.mk
+++ b/packages/devel/attr/package.mk
@@ -30,4 +30,10 @@ makeinstall_target() {
@@ -25,6 +25,12 @@ else
fi

mkdir -p ${SYSROOT_PREFIX}/usr/include/attr
cp include/*.h ${SYSROOT_PREFIX}/usr/include/attr
+ cp include/attr/*.h ${SYSROOT_PREFIX}/usr/include/attr
post_makeinstall_target() {
+ cp include/*.h ${SYSROOT_PREFIX}/usr/include/attr
+ cp include/attr/*.h ${SYSROOT_PREFIX}/usr/include/attr
+
+ mkdir -p ${INSTALL}/usr/bin
+ cp setfattr ${INSTALL}/usr/bin
+ cp getfattr ${INSTALL}/usr/bin
+
safe_remove ${INSTALL}/etc
- safe_remove ${INSTALL}/usr/bin
}

0 comments on commit 45ff882

Please sign in to comment.