Home
last modified time | relevance | path

Searched full:shell (Results 1 – 25 of 1298) sorted by relevance

12345678910>>...52

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/iptraf/iptraf-ng/
H A Dncurses-config.patch11 - NCURSES_CFLAGS := $(shell ncurses5-config --cflags 2>/dev/null)
12 - NCURSES_LDFLAGS := $(shell ncurses5-config --libs 2>/dev/null)
13 + NCURSES_CFLAGS := $(shell pkg-config ncurses --cflags 2>/dev/null)
14 + NCURSES_LDFLAGS := $(shell pkg-config ncurses --libs 2>/dev/null)
22 - NCURSES_CFLAGS := $(shell ncursesw5-config --cflags 2>/dev/null)
23 - NCURSES_LDFLAGS := $(shell ncursesw5-config --libs 2>/dev/null)
24 + NCURSES_CFLAGS := $(shell p[k-config ncursesw --cflags 2>/dev/null)
25 + NCURSES_LDFLAGS := $(shell pkg-config ncursesw --libs 2>/dev/null)
33 - NCURSES_CFLAGS := $(shell ncurses6-config --cflags 2>/dev/null)
34 - NCURSES_LDFLAGS := $(shell ncurses6-config --libs 2>/dev/null)
[all …]
/openbmc/linux/tools/scripts/
H A Dutilities.mak22 # GNU make's $(shell ...) function converts to a
42 # shell-escape-nl
44 # Usage: $(shell some-command | $(call shell-escape-nl[,escape]))
46 # Use this to escape newlines from within a shell call;
50 # in an `awk' program that is delimited by shell
54 define shell-escape-nl
58 # shell-unescape-nl
60 # Usage: $(shell some-command | $(call shell-unescape-nl[,escape]))
62 # Use this to unescape newlines from within a shell call;
67 # delimited by shell single-quotes, so be wary
[all …]
/openbmc/u-boot/test/py/tests/test_fs/
H A Dconftest.py157 check_call('rm -f %s' % fs_img, shell=True)
159 % (fs_img, count), shell=True)
161 % (fs_lnxtype, mkfs_opt, fs_img), shell=True)
164 call('rm -f %s' % fs_img, shell=True)
203 % (device, mount_point), shell=True)
210 % (mount_opt, device, mount_point), shell=True)
213 check_call('sudo chmod a+rw %s' % mount_point, shell=True)
228 call('guestunmount %s' % mount_point, shell=True)
230 call('sudo umount %s' % mount_point, shell=True)
266 check_call('mkdir -p %s' % mount_dir, shell=True)
[all …]
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/raspidmx/raspidmx/
H A D0003-switch-to-pkg-config.patch32 -CFLAGS+=-Wall -g -O3 -I../common $(shell libpng-config --cflags)
33 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell libpng-config --ldflags) -L../lib -lraspidmx -lrasp…
34 +CFLAGS+=-Wall -g -O3 -I../common $(shell pkg-config --cflags libpng)
35 +LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras…
47 -CFLAGS+=-Wall -g -O3 -I../common $(shell libpng-config --cflags)
48 +CFLAGS+=-Wall -g -O3 -I../common $(shell pkg-config --cflags libpng)
50 -LDFLAGSPNG=${LDFLAGS} $(shell libpng-config --ldflags)
51 +LDFLAGSPNG=${LDFLAGS} $(shell pkg-config --libs libpng)
63 -CFLAGS+=-Wall -g -O3 -I../common $(shell libpng-config --cflags)
64 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell libpng-config --ldflags) -L../lib -lraspidmx -lrasp…
[all …]
H A D0005-change-library-linking-order.patch30 CFLAGS+=-Wall -g -O3 -I../common $(shell pkg-config --cflags libpng)
31 -LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras…
32 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm -L../lib -lraspidmx -lraspidmxPng $(shell pkg-co…
43 CFLAGS+=-Wall -g -O3 -I../common $(shell pkg-config --cflags libpng)
44 -LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras…
45 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm -L../lib -lraspidmx -lraspidmxPng $(shell pkg-co…
56 CFLAGS+=-Wall -g -O3 -I../common $(shell pkg-config --cflags libpng)
57 -LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras…
58 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm -L../lib -lraspidmx -lraspidmxPng $(shell pkg-co…
69 CFLAGS+=-Wall -g -O3 -I../common $(shell pkg-config --cflags libpng)
[all …]
H A D0004-add-libvchostif-to-link.patch35 CFLAGS+=-Wall -g -O3 -I../common $(shell pkg-config --cflags libpng)
36 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras…
37 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras…
61 CFLAGS+=-Wall -g -O3 -I../common $(shell pkg-config --cflags libpng)
62 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras…
63 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras…
74 CFLAGS+=-Wall -g -O3 -I../common $(shell pkg-config --cflags libpng)
75 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras…
76 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras…
87 CFLAGS+=-Wall -g -O3 -I../common $(shell pkg-config --cflags libpng)
[all …]
/openbmc/openbmc/poky/meta/recipes-core/initrdscripts/initramfs-framework/
H A Ddebug7 # shell : starts a shell before and after each module
8 # shell=before:<module> : starts a shell before <module> is loaded and run
9 # shell=after:<module> : starts a shell after <module> is loaded and run
11 # shell-debug : run set -x as soon as possible
12 # shell-debug=before:<module> : run set -x before <module> is loaded and run
13 # shell-debug=after:<module> : run set -x after <module> is loaded and run
41 msg "Starting shell $status_msg $module..."
69 msg "Starting shell debugging $status_msg $module..."
/openbmc/openbmc-test-automation/lib/
H A Dcmd.tcl3 # This file provides shell command procedures cmd_fnc and t_cmd_fnc.
11 …# Run the given command in a shell and return the shell return code and the output as a 2 element …
30 # cmd_buf The command string to be run in a shell.
37 # the shell command. The default value is 1.
39 # if the shell command returns non-zero. The default value is 1.
40 …# ignore_err If ignore_err is set, this procedure will not fail if the shell
42 # the shell command fails. The default value is 1.
43 …# acceptable_shell_rcs A list of acceptable shell rcs. If the shell return code is fou…
44 …# this list, the shell command is considered successful. The defa…
71 append error_message "The prior shell command failed.\n"
/openbmc/linux/drivers/staging/vt6655/
H A Dtest1 KSP := /lib/modules/$(shell uname -r)/build \
2 /usr/src/linux-$(shell uname -r) \
3 /usr/src/linux-$(shell uname -r | sed 's/-.*//') \
4 # /usr/src/kernel-headers-$(shell uname -r) \
5 # /usr/src/kernel-source-$(shell uname -r) \
6 # /usr/src/linux-$(shell uname -r | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \
8 test_dir = $(shell [ -e $(dir)/include/linux ] && echo $(dir))
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dbblogging.py21 self.assertNotIn("This is shell stdout", result.output)
22 self.assertNotIn("This is shell stderr", result.output)
29 self.assertCount(result.output, "This is shell stdout", 1)
30 self.assertCount(result.output, "This is shell stderr", 1)
38 self.assertCount(result.output, "This is shell stdout", 2)
39 self.assertCount(result.output, "This is shell stderr", 2)
47 self.assertCount(result.output, "This is shell stdout", 2)
48 self.assertCount(result.output, "This is shell stderr", 2)
56 self.assertNotIn("This is shell stdout", result.output)
57 self.assertNotIn("This is shell stderr", result.output)
[all …]
H A Druncmd.py44 # A shell is used for all string commands.
50 runCmd, "false; true", shell=False)
62 runCmd, "echo foobar >&2; false", shell=True)
66 runCmd, "echo foobar >&2; false", shell=True, assert_error=False)
69 result = runCmd("echo stdout; echo stderr >&2", shell=True, sync=False)
74 … result = runCmd("echo stdout; echo stderr >&2", shell=True, stderr=subprocess.PIPE, sync=False)
81 # Killing a hanging process only works when not using a shell?!
91 # Killing a hanging process only works when not using a shell?!
116 result = runCmd("echo stdout; echo stderr >&2", shell=True, output_log=log, sync=False)
122 …result = runCmd("echo stdout; echo stderr >&2", shell=True, output_log=log, stderr=subprocess.PIPE…
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-extended/tgt/files/
H A D0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch29 -ifneq ($(shell test -e /usr/include/linux/signalfd.h && echo 1),)
30 +ifneq ($(shell test -e $(SYSROOT)/usr/include/linux/signalfd.h && echo 1),)
34 -ifneq ($(shell test -n $(shell find /usr/include -name "timerfd.h" | head -n1) && echo 1),)
35 +ifneq ($(shell test -n $(shell find $(SYSROOT)/usr/include -name "timerfd.h" | head -n1) && echo 1…
43 -ifneq ($(shell test -e /usr/include/sys/eventfd.h && test -e /usr/include/libaio.h && echo 1),)
44 +ifneq ($(shell test -e $(SYSROOT)/usr/include/sys/eventfd.h && test -e $(SYSROOT)/usr/include/liba…
/openbmc/linux/scripts/
H A DKconfig.include16 if-success = $(shell,{ $(1); } >/dev/null 2>&1 && echo "$(2)" || echo "$(3)")
44 cc-info := $(shell,$(srctree)/scripts/cc-version.sh $(CC))
46 cc-name := $(shell,set -- $(cc-info) && echo $1)
47 cc-version := $(shell,set -- $(cc-info) && echo $2)
50 as-info := $(shell,$(srctree)/scripts/as-version.sh $(CC) $(CLANG_FLAGS))
52 as-name := $(shell,set -- $(as-info) && echo $1)
53 as-version := $(shell,set -- $(as-info) && echo $2)
56 ld-info := $(shell,$(srctree)/scripts/ld-version.sh $(LD))
58 ld-name := $(shell,set -- $(ld-info) && echo $1)
59 ld-version := $(shell,set -- $(ld-info) && echo $2)
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/vpnc/vpnc/
H A D0004-Use-pkgconfig-instead-of-libgcrypt-config.patch17 @@ -63,10 +63,10 @@ RELEASE_VERSION := $(shell cat VERSION)
21 -CFLAGS += $(shell libgcrypt-config --cflags) $(CRYPTO_CFLAGS)
22 +CFLAGS += $(shell pkg-config libgcrypt --cflags) $(CRYPTO_CFLAGS)
25 -LIBS += $(shell libgcrypt-config --libs) $(CRYPTO_LDADD)
26 +LIBS += $(shell pkg-config libgcrypt --libs) $(CRYPTO_LDADD)
28 ifeq ($(shell uname -s), SunOS)
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-perl/adduser/files/
H A D0001-adduser-set-default-shell-with-sbin-nologin.patch4 Subject: [PATCH] adduser: set default shell with /sbin/nologin
6 Shell nologin whether provided by shadow or util-linux is installed to
7 /sbin/nologin in oe-core. But the default shell of adduser is
10 Set the default shell with /sbin/nologin to fix the issue.
27 - $shell = $special_shell || '/usr/sbin/nologin';
28 + $shell = $special_shell || '/sbin/nologin';
/openbmc/openbmc/meta-arm/meta-arm-systemready/recipes-test/arm-systemready-linux-distros/unattended-boot-conf/openSUSE/
H A Dautoinst.xml586 <shell>/bin/bash</shell>
605 <shell>/bin/bash</shell>
624 <shell>/sbin/nologin</shell>
643 <shell>/usr/sbin/nologin</shell>
662 <shell>/usr/sbin/nologin</shell>
681 <shell>/usr/sbin/nologin</shell>
700 <shell>/sbin/nologin</shell>
719 <shell>/usr/sbin/nologin</shell>
738 <shell>/usr/sbin/nologin</shell>
757 <shell>/sbin/nologin</shell>
[all …]
/openbmc/openbmc/poky/meta/recipes-graphics/wayland/
H A Dweston_14.0.1.bb42 shell-desktop \
43 shell-fullscreen \
44 shell-ivi \
45 shell-kiosk \
82 # Traditional desktop shell
83 PACKAGECONFIG[shell-desktop] = "-Dshell-desktop=true,-Dshell-desktop=false"
84 # Fullscreen shell
85 PACKAGECONFIG[shell-fullscreen] = "-Dshell-fullscreen=true,-Dshell-fullscreen=false"
86 # In-Vehicle Infotainment (IVI) shell
87 PACKAGECONFIG[shell-ivi] = "-Dshell-ivi=true,-Dshell-ivi=false"
[all …]
/openbmc/u-boot/tools/patman/
H A Dcros_subprocess.py57 shell=False, cwd=None, env=None, **kwargs): argument
67 shell: See subprocess.Popen()
84 stdout=stdout, stderr=stderr, shell=shell, cwd=cwd, env=env,
303 plist = Popen([cmd], shell=True).CommunicateFilter(oper.Output)
309 """Check with and without shell works"""
312 self.assertRaises(OSError, Popen, [cmd], shell=False)
313 plist = Popen([cmd], shell=True).CommunicateFilter(oper.Output)
319 """Check with and without shell works using list arguments"""
322 plist = Popen(cmd, shell=False).CommunicateFilter(oper.Output)
331 plist = Popen(cmd, shell=True).CommunicateFilter(oper.Output)
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/nss/nss/
H A D0001-nss-fix-support-cross-compiling.patch21 @@ -26,11 +26,11 @@ OS_ARCH := $(subst /,_,$(shell uname -s))
25 -OS_TEST := $(shell uname -m)
26 +OS_TEST ?= $(shell uname -m)
28 OS_RELEASE := $(shell uname -r)_$(OS_TEST)
30 - OS_RELEASE := $(shell uname -r)
31 + OS_RELEASE ?= $(shell uname -r)
/openbmc/qemu/tests/migration/
H A Dguestperf.py24 from guestperf.shell import Shell
26 shell = Shell() variable
27 sys.exit(shell.run(sys.argv[1:]))
/openbmc/linux/Documentation/kbuild/
H A Dkconfig-macro-language.rst38 def_bool $(shell, $(srctree)/scripts/gcc-check-foo.sh $(CC))
107 - $(shell,command)
109 The "shell" function accepts a single argument that is expanded and passed
181 For example, $(shell echo hello, world) runs the command "echo hello, world".
188 $(shell, echo hello, world)
190 is an error because it is passing two parameters where the 'shell' function
194 $(shell, echo hello$(comma) world)
228 Obviously from the design, $(shell command) is expanded in the textual
229 substitution phase. You cannot pass symbols to the 'shell' function.
239 def_bool $(shell $(srctree)/scripts/gcc-check-flag ENDIAN_FLAG)
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/mdadm/files/
H A D0001-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch24 - FALLTHROUGH := $(shell gcc -Q --help=warnings 2>&1 | grep "implicit-fallthrough" | wc -l)
25 + FALLTHROUGH := $(shell ${CC} -Q --help=warnings 2>&1 | grep "implicit-fallthrough" | wc -l)
32 - FORMATOVERFLOW := $(shell gcc -Q --help=warnings 2>&1 | grep "format-overflow" | wc -l)
33 + FORMATOVERFLOW := $(shell ${CC} -Q --help=warnings 2>&1 | grep "format-overflow" | wc -l)
40 - STRINGOPOVERFLOW := $(shell gcc -Q --help=warnings 2>&1 | grep "stringop-overflow" | wc -l)
41 + STRINGOPOVERFLOW := $(shell ${CC} -Q --help=warnings 2>&1 | grep "stringop-overflow" | wc -l)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/surf/surf/
H A D0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch29 +X11INC = $(shell $(PKG_CONFIG) --cflags x11)
30 +X11LIB = $(shell $(PKG_CONFIG) --libs x11)
36 +GTKINC = $(shell $(PKG_CONFIG) --cflags gtk+-3.0 gcr-3 webkit2gtk-4.1)
37 +GTKLIB = $(shell $(PKG_CONFIG) --libs gtk+-3.0 gcr-3 webkit2gtk-4.1)
38 +WEBEXTINC = $(shell $(PKG_CONFIG) --cflags webkit2gtk-4.1 webkit2gtk-web-extension-4.1 gio-2.0)
39 +WEBEXTLIBS = $(shell $(PKG_CONFIG) --libs webkit2gtk-4.1 webkit2gtk-web-extension-4.1 gio-2.0)
/openbmc/openbmc-tools/reboot-ping-pong/
H A Drpp75 self.shell = "# ".encode()
80 self.obmcutil = Obmcutil(self.session, self.shell)
82 rc = self.session.expect([self.getty, self.shell])
94 self.session.expect(self.shell)
126 self.shell = "/? *#".encode()
150 rc = self.session.expect([self.petitboot, self.shell], timeout=None)
153 self.session.expect(self.shell)
157 rc = self.session.expect([self.petitboot, self.shell], timeout=None)
160 self.session.expect(self.shell)
167 self.session.expect(self.shell)
/openbmc/openbmc/poky/meta/recipes-support/debianutils/
H A Ddebianutils_5.20.bb46 ALTERNATIVE:${PN} = "add-shell installkernel remove-shell savelog which"
51 ALTERNATIVE_LINK_NAME[add-shell] = "${sbindir}/add-shell"
53 ALTERNATIVE_LINK_NAME[remove-shell] = "${sbindir}/remove-shell"

12345678910>>...52