diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/staging.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/useradd.bbclass | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index d21e198ae8..c479bd93ea 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass | |||
@@ -167,7 +167,7 @@ def staging_processfixme(fixme, target, recipesysroot, recipesysrootnative, d): | |||
167 | if not fixme: | 167 | if not fixme: |
168 | return | 168 | return |
169 | cmd = "sed -e 's:^[^/]*/:%s/:g' %s | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:%s:g; s:FIXMESTAGINGDIRHOST:%s:g'" % (target, " ".join(fixme), recipesysroot, recipesysrootnative) | 169 | cmd = "sed -e 's:^[^/]*/:%s/:g' %s | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:%s:g; s:FIXMESTAGINGDIRHOST:%s:g'" % (target, " ".join(fixme), recipesysroot, recipesysrootnative) |
170 | for fixmevar in ['COMPONENTS_DIR', 'HOSTTOOLS_DIR', 'PKGDATA_DIR']: | 170 | for fixmevar in ['COMPONENTS_DIR', 'HOSTTOOLS_DIR', 'PKGDATA_DIR', 'PSEUDO_LOCALSTATEDIR', 'LOGFIFO']: |
171 | fixme_path = d.getVar(fixmevar) | 171 | fixme_path = d.getVar(fixmevar) |
172 | cmd += " -e 's:FIXME_%s:%s:g'" % (fixmevar, fixme_path) | 172 | cmd += " -e 's:FIXME_%s:%s:g'" % (fixmevar, fixme_path) |
173 | bb.debug(2, cmd) | 173 | bb.debug(2, cmd) |
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass index 686e5fbefe..c9103cbe6a 100644 --- a/meta/classes/useradd.bbclass +++ b/meta/classes/useradd.bbclass | |||
@@ -133,9 +133,10 @@ useradd_sysroot () { | |||
133 | } | 133 | } |
134 | 134 | ||
135 | # The export of PSEUDO in useradd_sysroot() above contains references to | 135 | # The export of PSEUDO in useradd_sysroot() above contains references to |
136 | # ${COMPONENTS_DIR}. These need to be handled when restoring | 136 | # ${COMPONENTS_DIR} and ${PSEUDO_LOCALSTATEDIR}. Additionally, the logging |
137 | # shell functions use ${LOGFIFO}. These need to be handled when restoring | ||
137 | # postinst-useradd-${PN} from the sstate cache. | 138 | # postinst-useradd-${PN} from the sstate cache. |
138 | EXTRA_STAGING_FIXMES += "COMPONENTS_DIR" | 139 | EXTRA_STAGING_FIXMES += "COMPONENTS_DIR PSEUDO_LOCALSTATEDIR LOGFIFO" |
139 | 140 | ||
140 | python useradd_sysroot_sstate () { | 141 | python useradd_sysroot_sstate () { |
141 | scriptfile = None | 142 | scriptfile = None |