Advertisement
Guest User

Untitled

a guest
May 30th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
  2. index ad1afad..9d8e594 100644
  3. --- a/meta/conf/bitbake.conf
  4. +++ b/meta/conf/bitbake.conf
  5. @@ -521,8 +521,7 @@ SRC_URI = "file://${FILE}"
  6. # UI/Interaction Configuration
  7. ##################################################################
  8.  
  9. -SHELLRCCMD = "bash --rcfile $TERMRCFILE"
  10. -export SHELLCMDS = "${SHELLRCCMD}"
  11. +export SHELLCMDS = "bash"
  12. # Some common terminal programs to choose from
  13. GNOME_TERMCMD = 'gnome-terminal --disable-factory -t "$TERMWINDOWTITLE"'
  14. GNOME_TERMCMDRUN = '${GNOME_TERMCMD} -x $SHELLCMDS'
  15. diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
  16. index c1d616e..94c56bc 100644
  17. --- a/meta/lib/oe/patch.py
  18. +++ b/meta/lib/oe/patch.py
  19. @@ -373,7 +373,7 @@ class UserResolver(Resolver):
  20. os.chmod(rcfile, 0775)
  21.  
  22. os.environ['TERMWINDOWTITLE'] = "Bitbake: Please fix patch rejects manually"
  23. - os.environ['TERMRCFILE'] = rcfile
  24. + os.environ['SHELLCMDS'] = "bash --rcfile " + rcfile
  25. rc = os.system(bb.data.getVar('TERMCMDRUN', self.patchset.d, 1))
  26. if os.WIFEXITED(rc) and os.WEXITSTATUS(rc) != 0:
  27. bb.msg.fatal(bb.msg.domain.Build, ("Cannot proceed with manual patch resolution - '%s' not found. " \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement