Skip to contentSkip to conversation

package/apparmor: drop APPARMOR_FIXUP_APXS

PATCH Applied Fabrice Fontaine 2 participants 2 messages Feb 19, 2022 – Feb 20, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/apparmor: drop APPARMOR_FIXUP_APXS

Drop APPARMOR_FIXUP_APXS which was added by commit 3c836e54203b16015c9c52cbe007adc92d293a0d but is not needed since the addition of PPD_FIXUP_PATHS in commit b06294e9897e90862656416e8b67fdace15488d7

---
 package/apparmor/apparmor.mk | 10 ----------
 1 file changed, 10 deletions(-)
package/apparmor/apparmor.mk +0 -10
index 6f0e59224d..43bfa05308 100644
@@ -54,16 +54,6 @@ ifeq ($(BR2_PACKAGE_APACHE),y)
 APPARMOR_DEPENDENCIES += apache
 APPARMOR_TOOLS += changehat/mod_apparmor
 APPARMOR_MAKE_OPTS += APXS=$(STAGING_DIR)/usr/bin/apxs
-
-ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y)
-define APPARMOR_FIXUP_APXS
-	$(SED) "s@$(PER_PACKAGE_DIR)/[^/]\+/@$(PER_PACKAGE_DIR)/apparmor/@g" \
-		$(STAGING_DIR)/usr/bin/apxs \
-		$(STAGING_DIR)/usr/build/config_vars.mk \
-		$(STAGING_DIR)/usr/build-1/libtool
-endef
-APPARMOR_POST_CONFIGURE_HOOKS += APPARMOR_FIXUP_APXS
-endif
 endif
 
 define APPARMOR_BUILD_CMDS
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Fabrice, All,

On 2022-02-19 15:19 +0100, Fabrice Fontaine spake thusly:

Quoted 6 lines

Drop APPARMOR_FIXUP_APXS which was added by commit 3c836e54203b16015c9c52cbe007adc92d293a0d but is not needed since the addition of PPD_FIXUP_PATHS in commit b06294e9897e90862656416e8b67fdace15488d7

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 32 lines
---
 package/apparmor/apparmor.mk | 10 ----------
 1 file changed, 10 deletions(-)
package/apparmor/apparmor.mk +0 -10
index 6f0e59224d..43bfa05308 100644
@@ -54,16 +54,6 @@ ifeq ($(BR2_PACKAGE_APACHE),y)
 APPARMOR_DEPENDENCIES += apache
 APPARMOR_TOOLS += changehat/mod_apparmor
 APPARMOR_MAKE_OPTS += APXS=$(STAGING_DIR)/usr/bin/apxs
-
-ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y)
-define APPARMOR_FIXUP_APXS
-	$(SED) "s@$(PER_PACKAGE_DIR)/[^/]\+/@$(PER_PACKAGE_DIR)/apparmor/@g" \
-		$(STAGING_DIR)/usr/bin/apxs \
-		$(STAGING_DIR)/usr/build/config_vars.mk \
-		$(STAGING_DIR)/usr/build-1/libtool
-endef
-APPARMOR_POST_CONFIGURE_HOOKS += APPARMOR_FIXUP_APXS
-endif
 endif
 
 define APPARMOR_BUILD_CMDS
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot