Skip to contentSkip to conversation

libselinux: remove library host symlink

PATCH New Fabrice Fontaine 3 participants 7 messages Oct 10, 2018 – Oct 11, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libselinux: remove library host symlink

Since bump to version 2.7 and addition of 0003-revert-ln-relative.patch, the creation of a symlink through ln -sf libselinux.so.1 $(HOST_DIR)/lib/libselinux.so is not needed anymore so remove it

---
 package/libselinux/libselinux.mk | 1 -
 1 file changed, 1 deletion(-)
package/libselinux/libselinux.mk +0 -1
index b3d48f7105..97b4f03062 100644
@@ -102,7 +102,6 @@ endef
 define HOST_LIBSELINUX_INSTALL_CMDS
 	$(HOST_MAKE_ENV) $(MAKE) -C $(@D) \
 		$(HOST_LIBSELINUX_MAKE_OPTS) install
-	ln -sf libselinux.so.1 $(HOST_DIR)/lib/libselinux.so
 	# Install python interface wrapper
 	$(HOST_MAKE_ENV) $(MAKE) -C $(@D) \
 		$(HOST_LIBSELINUX_MAKE_OPTS) install-pywrap
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 libsepol: remove library host symlink

Since bump to version 2.7 and addition of 0003-revert-ln-relative.patch, the creation of a symlink through ln -sf libsepol.so.1 $(HOST_DIR)/lib/libsepol.so
is not needed anymore so remove it

---
 package/libsepol/libsepol.mk | 1 -
 1 file changed, 1 deletion(-)
package/libsepol/libsepol.mk +0 -1
index 5932ca1464..a9a9c652ea 100644
@@ -41,7 +41,6 @@ endef
 
 define HOST_LIBSEPOL_INSTALL_CMDS
 	$(HOST_LIBSEPOL_MAKE_ENV) $(MAKE) -C $(@D) install $(HOST_CONFIGURE_OPTS)
-	ln -sf libsepol.so.1 $(HOST_DIR)/lib/libsepol.so
 endef
 
 $(eval $(generic-package))
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/2 libsepol: remove library host symlink

Fabrice,

Quoted 7 lines · Fabrice Fontaine

Since bump to version 2.7 and addition of 0003-revert-ln-relative.patch, the creation of a symlink through ln -sf libsepol.so.1 $(HOST_DIR)/lib/libsepol.so
is not needed anymore so remove it

Quoted 19 lines
---
 package/libsepol/libsepol.mk | 1 -
 1 file changed, 1 deletion(-)
package/libsepol/libsepol.mk +0 -2
index 5932ca1464..a9a9c652ea 100644
@@ -41,7 +41,6 @@ endef
 
 define HOST_LIBSEPOL_INSTALL_CMDS
        $(HOST_LIBSEPOL_MAKE_ENV) $(MAKE) -C $(@D) install $(HOST_CONFIGURE_OPTS)
-       ln -sf libsepol.so.1 $(HOST_DIR)/lib/libsepol.so
 endef
 
 $(eval $(generic-package))
--

2.17.1

Signature · 8 lines
Matthew L Weber / Pr Software Engineer
Airborne Information Systems / RC Linux Secure Platforms
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
www.rockwellcollins.com

Note: Any Export License Required Information and License Restricted
Third Party Intellectual Property (TPIP) content must be encrypted and
sent to matthew.weber at corp.rockwellcollins.com.
#3 lore raw

PATCH 2/2 libsepol: remove library host symlink

In reply to Fabrice Fontaine

Fabrice,

Quoted 7 lines · Fabrice Fontaine

Since bump to version 2.7 and addition of 0003-revert-ln-relative.patch, the creation of a symlink through ln -sf libsepol.so.1 $(HOST_DIR)/lib/libsepol.so
is not needed anymore so remove it

Sorry long day, shouldn't have sent that signed off.

Quoted 19 lines
---
 package/libsepol/libsepol.mk | 1 -
 1 file changed, 1 deletion(-)
package/libsepol/libsepol.mk +0 -2
index 5932ca1464..a9a9c652ea 100644
@@ -41,7 +41,6 @@ endef
 
 define HOST_LIBSEPOL_INSTALL_CMDS
        $(HOST_LIBSEPOL_MAKE_ENV) $(MAKE) -C $(@D) install $(HOST_CONFIGURE_OPTS)
-       ln -sf libsepol.so.1 $(HOST_DIR)/lib/libsepol.so
 endef
 
 $(eval $(generic-package))
--

2.17.1

Signature · 8 lines
Matthew L Weber / Pr Software Engineer
Airborne Information Systems / RC Linux Secure Platforms
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
www.rockwellcollins.com

Note: Any Export License Required Information and License Restricted
Third Party Intellectual Property (TPIP) content must be encrypted and
sent to matthew.weber at corp.rockwellcollins.com.
#4 lore raw

PATCH 1/2 libselinux: remove library host symlink

In reply to Fabrice Fontaine

Fabrice,

Quoted 7 lines · Fabrice Fontaine

Since bump to version 2.7 and addition of 0003-revert-ln-relative.patch, the creation of a symlink through ln -sf libselinux.so.1 $(HOST_DIR)/lib/libselinux.so is not needed anymore so remove it

Good catch

Quoted 19 lines
---
 package/libselinux/libselinux.mk | 1 -
 1 file changed, 1 deletion(-)
package/libselinux/libselinux.mk +0 -2
index b3d48f7105..97b4f03062 100644
@@ -102,7 +102,6 @@ endef
 define HOST_LIBSELINUX_INSTALL_CMDS
        $(HOST_MAKE_ENV) $(MAKE) -C $(@D) \
                $(HOST_LIBSELINUX_MAKE_OPTS) install
-       ln -sf libselinux.so.1 $(HOST_DIR)/lib/libselinux.so
        # Install python interface wrapper
        $(HOST_MAKE_ENV) $(MAKE) -C $(@D) \
                $(HOST_LIBSELINUX_MAKE_OPTS) install-pywrap
--

2.17.1

Signature · 8 lines
Matthew L Weber / Pr Software Engineer
Airborne Information Systems / RC Linux Secure Platforms
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
www.rockwellcollins.com

Note: Any Export License Required Information and License Restricted
Third Party Intellectual Property (TPIP) content must be encrypted and
sent to matthew.weber at corp.rockwellcollins.com.
#5 lore raw

PATCH 1/2 libselinux: remove library host symlink

In reply to Fabrice Fontaine

Fabrice,

Quoted 7 lines · Fabrice Fontaine

Since bump to version 2.7 and addition of 0003-revert-ln-relative.patch, the creation of a symlink through ln -sf libselinux.so.1 $(HOST_DIR)/lib/libselinux.so is not needed anymore so remove it

Sorry long day, shouldn't have sent that signed off.

Quoted 19 lines
---
 package/libselinux/libselinux.mk | 1 -
 1 file changed, 1 deletion(-)
package/libselinux/libselinux.mk +0 -2
index b3d48f7105..97b4f03062 100644
@@ -102,7 +102,6 @@ endef
 define HOST_LIBSELINUX_INSTALL_CMDS
        $(HOST_MAKE_ENV) $(MAKE) -C $(@D) \
                $(HOST_LIBSELINUX_MAKE_OPTS) install
-       ln -sf libselinux.so.1 $(HOST_DIR)/lib/libselinux.so
        # Install python interface wrapper
        $(HOST_MAKE_ENV) $(MAKE) -C $(@D) \
                $(HOST_LIBSELINUX_MAKE_OPTS) install-pywrap
--

2.17.1

Signature · 8 lines
Matthew L Weber / Pr Software Engineer
Airborne Information Systems / RC Linux Secure Platforms
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
www.rockwellcollins.com

Note: Any Export License Required Information and License Restricted
Third Party Intellectual Property (TPIP) content must be encrypted and
sent to matthew.weber at corp.rockwellcollins.com.
#6 lore raw

PATCH 1/2 libselinux: remove library host symlink

In reply to Fabrice Fontaine

Hello,

Quoted 9 lines · Fabrice Fontaine

Since bump to version 2.7 and addition of 0003-revert-ln-relative.patch, the creation of a symlink through ln -sf libselinux.so.1 $(HOST_DIR)/lib/libselinux.so is not needed anymore so remove it

---
 package/libselinux/libselinux.mk | 1 -
 1 file changed, 1 deletion(-)

Both applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com