mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
devpyshell: rename to pydevshell
For consistency with "pydevshell" which is also used. This addresses [YOCTO #14531] (From OE-Core rev: 958133f4e97275d1f2c74a7e715c4506cca3582f) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e89193298a
commit
12ca5f7209
@@ -34,7 +34,7 @@ python () {
|
||||
d.delVarFlag("do_devshell", "fakeroot")
|
||||
}
|
||||
|
||||
def devpyshell(d):
|
||||
def pydevshell(d):
|
||||
|
||||
import code
|
||||
import select
|
||||
@@ -140,17 +140,17 @@ def devpyshell(d):
|
||||
os.kill(child, signal.SIGTERM)
|
||||
break
|
||||
|
||||
python do_devpyshell() {
|
||||
python do_pydevshell() {
|
||||
import signal
|
||||
|
||||
try:
|
||||
devpyshell(d)
|
||||
pydevshell(d)
|
||||
except SystemExit:
|
||||
# Stop the SIGTERM above causing an error exit code
|
||||
return
|
||||
finally:
|
||||
return
|
||||
}
|
||||
addtask devpyshell after do_patch
|
||||
addtask pydevshell after do_patch
|
||||
|
||||
do_devpyshell[nostamp] = "1"
|
||||
do_pydevshell[nostamp] = "1"
|
||||
|
||||
Reference in New Issue
Block a user