Home
last modified time | relevance | path

Searched full:sudo (Results 1 – 25 of 388) sorted by relevance

12345678910>>...16

/external/autotest/site_utils/
Dsetup_dev_autotest.sh82 echo "Running with sudo / as root is not recommended"
190 if ! sudo apt-get install -y ${PKG_LIST}; then
198 sudo mkdir -p "${AT_DIR}"
199 sudo mount --bind "${AUTOTEST_DIR}" "${AT_DIR}"
202 sudo chown -R "$(whoami)" "${AT_DIR}"
212 sudo su -c \
245 sudo mkdir /etc/apache2/run
247 sudo ln -sf "${AT_DIR}"/apache/apache-conf \
251 sudo a2dissite 000-default default || true
252 sudo a2ensite autotest-server.conf
[all …]
Dlxc.py86 APPEND_CMD_FMT = ('echo \'%(content)s\' | sudo tee --append %(file)s'
146 active_containers = utils.run('sudo lxc-ls --active').stdout.split()
189 cmd = 'sudo lxc-ls -P %s -f -F %s' % (os.path.realpath(container_path),
282 utils.run('sudo mv %s %s' % (tmp_file, target))
284 utils.run('sudo wget --timeout=300 -nv %s -O %s' % (url, target),
287 utils.run('sudo tar -xvf %s -C %s' % (target, extract_dir))
361 utils.run('sudo apt-get update')
367 utils.run('sudo apt-get install %s -y --force-yes' % ' '.join(packages))
378 utils.run('sudo pip install %s %s' % (target_setting,
495 cmd = ('sudo lxc-info -P %s -n %s -c lxc.rootfs' %
[all …]
/external/protobuf/
Dtests.sh24 sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
25 sudo apt-get update -qq
26 sudo apt-get install -qq g++-4.8
59sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D8…
60 …echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.li…
61 …echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /…
62 sudo apt-get update -qq
63 sudo apt-get install -qq mono-devel referenceassemblies-pcl nunit
80 sudo apt-get update -qq
81 sudo apt-get install -qq golang
[all …]
/external/protobuf/util/
Dtests.sh24 sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
25 sudo apt-get update -qq
26 sudo apt-get install -qq g++-4.8
59sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D8…
60 …echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.li…
61 …echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /…
62 sudo apt-get update -qq
63 sudo apt-get install -qq mono-devel referenceassemblies-pcl nunit
80 sudo apt-get update -qq
81 sudo apt-get install -qq golang
[all …]
/external/vboot_reference/scripts/image_signing/
Dalign_rootfs.sh36 add_cleanup_action "sudo rm -rf \"${src_root_fs_dir}\""
38 add_cleanup_action "sudo umount \"${src_root_fs_dir}\""
41 add_cleanup_action "sudo rm -rf \"${dst_root_fs_dir}\""
42 sudo mount -o loop "${dst_root_fs}" "${dst_root_fs_dir}" -o loop
43 add_cleanup_action "sudo umount \"${dst_root_fs_dir}\""
49 sudo find "${dst_root_fs_dir}" -xdev -type f |
51 immutable=$(sudo lsattr "${file}" | cut -d' ' -f1 | grep -q i ; echo $?)
54 sudo chattr -i "${file}"
61 sudo rsync -v -a -H -A -x --force --inplace --numeric-ids --delete \
66 sudo chattr +i "${file}"
[all …]
Dset_chronos_password.sh21 | sudo tee "$temp_shadow" > /dev/null
22 sudo grep -Ev ^chronos: "$rootfs/etc/shadow" \
23 | sudo tee -a "$temp_shadow" > /dev/null
24 sudo mv -f "$temp_shadow" "$rootfs/etc/shadow"
45 sudo umount $rootfs
Dtag_image.sh93 sudo rm "${tag_file_path}"
107 sudo touch "${tag_file_path}"
169 local sudo
172 sudo="sudo"
180 ${sudo} sed -i 's/\btest\b//' "${lsb}" &&
190 ${sudo} sed -i 's/\bdev\b/beta/' "${lsb}" &&
217 sudo umount "${rootfs}"
/external/lz4/
D.travis.yml13 sudo: false
17 sudo: false
21 sudo: false
28 sudo: required
37 sudo: required
45 sudo: required
53 sudo: required
63 sudo: required
72 sudo: required
82 sudo: required
[all …]
/external/kmod/
D.travis.yml3 - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
4 - sudo apt-get update -qq
5 - sudo apt-get install -qq liblzma-dev
6 - sudo apt-get install -qq zlib1g-dev
7 - sudo apt-get install -qq xsltproc docbook-xsl
8 - sudo apt-get install -qq cython
9 - sudo apt-get install -qq linux-headers-generic
10 …- if [ "$MYCC" = "gcc-4.8" ]; then sudo apt-get install -qq gcc-4.8; sudo update-alternatives --in…
11 …- if [ "$MYCC" = "gcc-4.9" ]; then sudo apt-get install -qq gcc-4.9; sudo update-alternatives --in…
/external/elfutils/src/
Dmake-debug-archive.in17 SUDO=${SUDO:-/usr/bin/sudo}
30 echo " or: $0 --kernel [--sudo] [--force] [RELEASE]"
37 echo "With --sudo, touches the installed file via $SUDO."
56 sudo=
65 x--sudo) sudo=$SUDO ;;
71 if [ $kernel = no ] && [ $force_kernel = yes -o -n "$sudo" ]; then
100 [ ! -e "$archive" ] || $sudo $RM -f "$archive" || exit
117 if [ -z "$sudo" ]; then
130 $sudo $MV -f "$new_archive" "$archive"
/external/mesa3d/docs/
Dvmware-guest.html56 sudo apt-get install git-core
57 sudo apt-get install automake libtool libpthread-stubs0-dev
58 sudo apt-get install xserver-xorg-dev x11proto-xinerama-dev libx11-xcb-dev
59 sudo apt-get install libxcb-glx0-dev libxrender-dev
60 sudo apt-get build-dep libgl1-mesa-dri libxcb-glx0-dev
64 sudo yum install mesa-libGL-devel xorg-x11-server-devel xorg-x11-util-macros
65 sudo yum install libXrender-devel.i686
66 sudo yum install automake gcc libtool expat-devel kernel-devel git-core
67 sudo yum install makedepend flex bison
114 sudo make install
[all …]
/external/wpa_supplicant_8/hs20/server/
Dhs20-osu-server.txt27 sudo apt-get update
28 sudo apt-get upgrade
31 sudo apt-get install sqlite3
32 sudo apt-get install apache2
33 sudo apt-get install php5-sqlite libapache2-mod-php5
36 sudo apt-get install build-essential
37 sudo apt-get install libsqlite3-dev
38 sudo apt-get install libssl-dev
39 sudo apt-get install libxml2-dev
49 sudo mkdir -p /home/user/hs20-server
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dposix_platform_backend.py28 If this function returns true then the binary at |path| can be run via sudo
31 sudoers = subprocess.check_output(['/usr/bin/sudo', '-l'])
113 """ Returns True if the current process is elevated via sudo i.e. running
114 sudo will not prompt for a password. Returns False if not authenticated
115 via sudo or if telemetry is run on a non-interactive TTY."""
116 # `sudo -v` will always fail if run from a non-interactive TTY.
118 ['/usr/bin/sudo', '-nv'], stdin=subprocess.PIPE,
121 # Some versions of sudo set the returncode based on whether sudo requires
131 args = ['/usr/bin/sudo'] + args
136 # sudo. Fail with a helpful error message. For more information, see:
[all …]
/external/ImageMagick/
D.travis.yml1 sudo: required # needed for trusty beta
12 - sudo add-apt-repository -y ppa:as-bahanta/raqm
13 - sudo add-apt-repository ppa:dns/gnu -y
14 - sudo apt-key update -q
15 - sudo apt-get update -q
16 - sudo apt-get install --only-upgrade autoconf
17 - sudo apt-get install -y libraqm-dev libfreetype6-dev libharfbuzz-dev libfribidi-dev
/external/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat_tests.sh65 sudo $s_arg chattr -ai $FILE || return $?
66 sudo $s_arg rm -f $FILE || return $?
71 sudo $s_arg -u $test_user touch $FILE || return $?
87 sudo $s_arg chown $2 $FILE || return $?
90 sudo $s_arg chmod $3 $FILE || return $?
93 sudo $s_arg chattr $4 $FILE || return $?
99 if ! sudo $s_arg lsattr -l $FILE | sed 's/, /,/g' | awk '{print "EFAs=" $2}'
216 sudo $s_arg -u $test_user $CMD > $RESULT_FILE
225 sudo $s_arg -u $test_user $CMD > $RESULT_FILE
238 sudo $s_arg -u $test_user $CMD > $RESULT_FILE
[all …]
/external/google-breakpad/src/third_party/libdisasm/swig/
DMakefile38 cd python && sudo make -f Makefile-swig install
41 cd ruby && sudo make -f Makefile-swig install
44 cd perl && sudo make -f Makefile-swig install
47 cd tcl && sudo make -f Makefile-swig install
54 cd python && sudo make -f Makefile-swig uninstall
57 cd ruby && sudo make -f Makefile-swig uninstall
60 cd perl && sudo make -f Makefile-swig uninstall
63 cd tcl && sudo make -f Makefile-swig uninstall
/external/vboot_reference/tests/
Dtest_using_qemu.sh21 sudo mkdir -p "${SYSROOT}/proc" "${SYSROOT}/dev"
22 sudo mount --bind /proc "${SYSROOT}/proc"
23 sudo mount --bind /dev "${SYSROOT}/dev"
27 sudo chroot ${SYSROOT} ${QEMU_RUN} -drop-ld-preload \
36 sudo umount -l "${SYSROOT}/proc"
37 sudo umount -l "${SYSROOT}/dev"
/external/toolchain-utils/
Dtc_enter_chroot.py37 command += ' || sudo mkdir -p ' + dir_name
43 command = 'sudo chown -f ' + self.owner + ' ' + dir_name
65 return ce.RunCommand('sudo umount %s' % self.mount_dir)
68 command = 'sudo mount --bind ' + self.external_dir + ' ' + self.mount_dir
70 command += ' && sudo mount --bind -oremount,ro ' + self.mount_dir
102 parser.add_argument('--sudo',
103 dest='sudo',
106 help='Run the command with sudo.')
218 command = 'sudo chown ' + getpass.getuser() + ' ' + full_mounted_tc_root
238 retv = command_executer.GetCommandExecuter().RunCommand('sudo rm -f ' +
[all …]
/external/flatbuffers/
D.travis.yml22 - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test;…
23 - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq; fi
24 - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -qq g++-$GCC_VERSION; fi
25 - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -qq gcc-$GCC_VERSION; fi
26 - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo ln -s -v -f $(which g++-$GCC_VERSION) /usr/bin/g++…
27 - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo ln -s -v -f $(which gcc-$GCC_VERSION) /usr/bin/gcc…
/external/harfbuzz_ng/
DBUILD.md3 * sudo apt-get install gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev
6 * sudo yum install gcc gcc-c++ freetype-devel glib2-devel cairo-devel
9 * sudo port install freetype glib2 cairo
23 * sudo apt-get install autoconf automake libtool pkg-config ragel gtk-doc-tools
26 * sudo yum install autoconf automake libtool pkgconfig ragel gtk-doc
29 * sudo port install autoconf automake libtool pkgconfig ragel gtk-doc
/external/ltp/doc/
Dmini-howto-building-ltp-from-git.txt35 sudo apt-get install build-essential
36 sudo apt-get install autoconf automake autotools-dev m4
37 sudo apt-get install git
38 sudo apt-get install linux-headers-$(uname -r)
39 sudo apt-get install libaio-dev libattr1-dev libcap-dev
62 sudo make install 2>&1 | tee ../$INSTALL_LOG_FILE
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/documentation/
DGettingStarted.md35 $ sudo insmod dummynet2/ipfw_mod.ko
36 $ sudo cp ipfw/ipfw /usr/local/sbin
40 $ sudo rmmod ipfw_mod.ko
64 $ sudo ./replay.py --record ~/archive.wpr
76 $ sudo ./replay.py ~/archive.wpr
89 $ sudo ./replay.py --up 128KByte/s --down 4Mbit/s --delay_ms=100 archive.wpr
93 $ sudo ./replay.py --packet_loss_rate=0.01 ~/archive.wpr
159 $ sudo restart autofs
/external/selinux/
D.travis.yml31 sudo: required
58 - sudo mkdir -p /usr/share/selinux/default
59 …- sudo curl -o /usr/share/selinux/default/Makefile 'https://raw.githubusercontent.com/TresysTechno…
60 …- sudo sed "s,^PREFIX :=.*,PREFIX := $TRAVIS_BUILD_DIR/installdir/usr," -i /usr/share/selinux/defa…
61 - sudo mkdir -p /usr/share/selinux/refpolicy/include
62 …- sudo curl -o /usr/share/selinux/refpolicy/include/build.conf 'https://raw.githubusercontent.com/…
63 - sudo mkdir -p /etc/selinux
64 - echo 'SELINUXTYPE=refpolicy' | sudo tee /etc/selinux/config
/external/flatbuffers/biicode/support/
Dbii-travis.sh17 sudo apt-get update -qq
18 sudo apt-get install libglu1-mesa-dev xorg-dev
21 (sudo dpkg -i bii-ubuntu64.deb) && sudo apt-get -f install
25 sudo cp -fR cmake-3.0.2-Linux-64/* /usr
/external/autotest/client/tests/sysbench/
Dsysbench.py44 self.sudo = 'sudo -u ' + self.dbuser + ' '
48 utils.system(self.sudo + '/bin/true')
67 utils.system(self.sudo + bin + '/initdb -D ' + data)
71 utils.system(self.sudo + bin + '/pg_ctl -D %s -l %s start' %(data, log))
81 utils.system(self.sudo + bin + '/createdb sbtest')
97 utils.system(self.sudo + bin + '/pg_ctl -D ' + data + ' stop')
100 utils.system(self.sudo + bin + '/pg_ctl -D ' + data + ' stop')

12345678910>>...16