diff options
-rw-r--r-- | meta/lib/oe/rootfs.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index 8587c5db82..890ba5f039 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py | |||
@@ -173,14 +173,8 @@ class Rootfs(object, metaclass=ABCMeta): | |||
173 | bb.utils.rename(self.image_rootfs + '-orig', self.image_rootfs) | 173 | bb.utils.rename(self.image_rootfs + '-orig', self.image_rootfs) |
174 | 174 | ||
175 | def _exec_shell_cmd(self, cmd): | 175 | def _exec_shell_cmd(self, cmd): |
176 | fakerootcmd = self.d.getVar('FAKEROOT') | ||
177 | if fakerootcmd is not None: | ||
178 | exec_cmd = [fakerootcmd, cmd] | ||
179 | else: | ||
180 | exec_cmd = cmd | ||
181 | |||
182 | try: | 176 | try: |
183 | subprocess.check_output(exec_cmd, stderr=subprocess.STDOUT) | 177 | subprocess.check_output(cmd, stderr=subprocess.STDOUT) |
184 | except subprocess.CalledProcessError as e: | 178 | except subprocess.CalledProcessError as e: |
185 | return("Command '%s' returned %d:\n%s" % (e.cmd, e.returncode, e.output)) | 179 | return("Command '%s' returned %d:\n%s" % (e.cmd, e.returncode, e.output)) |
186 | 180 | ||