Skip to contentSkip to conversation

image.bbclass: use soft assignment for LDCONFIGDEPEND

PATCH Applied Phil Blundell 3 participants 4 messages May 17, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 image.bbclass: use soft assignment for LDCONFIGDEPEND

This allows distros that don't want ldconfig to turn it off.

---
 meta/classes/image.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/image.bbclass +1 -1
index b2325b3..346dd5e 100644
@@ -23,7 +23,7 @@ PID = "${@os.getpid()}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-LDCONFIGDEPEND = "ldconfig-native:do_populate_sysroot"
+LDCONFIGDEPEND ?= "ldconfig-native:do_populate_sysroot"
 LDCONFIGDEPEND_linux-uclibc = ""
 LDCONFIGDEPEND_linux-uclibceabi = ""
 

--
1.7.1

#1 lore raw

Op 17 mei 2011, om 14:31 heeft Phil Blundell het volgende geschreven:

Quoted 17 lines

This allows distros that don't want ldconfig to turn it off.

---
meta/classes/image.bbclass | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/image.bbclass +0 -0
index b2325b3..346dd5e 100644
@@ -23,7 +23,7 @@ PID = "${@os.getpid()}"
 

PACKAGE_ARCH = "${MACHINE_ARCH}"

meta/classes/image.bbclass +1 -1
-LDCONFIGDEPEND = "ldconfig-native:do_populate_sysroot"
+LDCONFIGDEPEND ?= "ldconfig-native:do_populate_sysroot"
Quoted 2 lines

LDCONFIGDEPEND_linux-uclibc = ""
LDCONFIGDEPEND_linux-uclibceabi = ""

The 2 last lines need to switch to _libc-uclibc overrides as well

#3 lore raw
In reply to Phil Blundell
Quoted 12 lines · Phil Blundell

This allows distros that don't want ldconfig to turn it off.

---
 meta/classes/image.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/image.bbclass +0 -0
index b2325b3..346dd5e 100644

meta/classes/image.bbclass PID = "${@os.getpid()}" · line 29

Quoted 8 lines
meta/classes/image.bbclass +1 -1
@@ -23,7 +23,7 @@ PID = "${@os.getpid()}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-LDCONFIGDEPEND = "ldconfig-native:do_populate_sysroot"
+LDCONFIGDEPEND ?= "ldconfig-native:do_populate_sysroot"
 LDCONFIGDEPEND_linux-uclibc = ""
 LDCONFIGDEPEND_linux-uclibceabi = ""
 

Applied, thanks (when I can push to the repo).

Cheers,

Richard

#2 lore raw
In reply to Koen Kooi
Quoted 15 lines · Koen Kooi

Op 17 mei 2011, om 14:31 heeft Phil Blundell het volgende geschreven:

Quoted 13 lines

This allows distros that don't want ldconfig to turn it off.

---
meta/classes/image.bbclass | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/image.bbclass +0 -0
index b2325b3..346dd5e 100644
@@ -23,7 +23,7 @@ PID = "${@os.getpid()}"
 
Quoted 8 lines
Quoted 6 lines

PACKAGE_ARCH = "${MACHINE_ARCH}"

meta/classes/image.bbclass +1 -1
-LDCONFIGDEPEND = "ldconfig-native:do_populate_sysroot"
+LDCONFIGDEPEND ?= "ldconfig-native:do_populate_sysroot"

LDCONFIGDEPEND_linux-uclibc = ""
LDCONFIGDEPEND_linux-uclibceabi = ""

The 2 last lines need to switch to _libc-uclibc overrides as well

I've queued this (and the other libc override issue) up as a patch. You can send patches for these though ;-)

Cheers,

Richard