Home
last modified time | relevance | path

Searched refs:rootfs (Results 1 – 25 of 53) sorted by relevance

123

/external/vboot_reference/scripts/image_signing/
Dtag_image.sh129 local rootfs="$1"
134 "${rootfs}" \
140 "${rootfs}" \
146 "${rootfs}" \
152 "${rootfs}" \
158 "${rootfs}" \
166 local rootfs="$1"
168 local lsb="${rootfs}/etc/lsb-release"
205 rootfs=$(make_temp_dir)
206 mount_image_partition_ro "${IMAGE}" 3 "${rootfs}"
[all …]
Dset_chronos_password.sh15 local rootfs=$1
19 local temp_shadow="$rootfs/etc/tempshadow"
22 sudo grep -Ev ^chronos: "$rootfs/etc/shadow" \
24 sudo mv -f "$temp_shadow" "$rootfs/etc/shadow"
37 local rootfs=$(make_temp_dir)
39 mount_image_partition_ro "$image" 3 "$rootfs"
40 if ! no_chronos_password "$rootfs"; then
45 sudo umount $rootfs
47 mount_image_partition "$image" 3 "$rootfs"
48 change_chronos_password "$rootfs" "$chronos_password"
Dcommon_minimal.sh249 local rootfs="$1"
253 if ! is_ext2 "$rootfs" $offset; then
254 echo "enable_rw_mount called on non-ext2 filesystem: $rootfs $offset" 1>&2
263 sudo dd of="$rootfs" seek=$((offset + ro_compat_offset)) \
269 local rootfs="$1"
274 local sb_value=$(sudo dd if="$rootfs" skip=$((offset + sb_magic_offset)) \
284 local rootfs="$1"
288 if ! is_ext2 "$rootfs" $offset; then
289 echo "disable_rw_mount called on non-ext2 filesystem: $rootfs $offset" 1>&2
298 sudo dd of="$rootfs" seek=$((offset + ro_compat_offset)) \
[all …]
Dset_lsb_release.sh13 local rootfs=$1
16 local temp_lsb_release="$rootfs/etc/temp-lsb-release"
18 grep -Ev "^$key=" "$rootfs/etc/lsb-release" \
20 sudo sort -o "$rootfs/etc/lsb-release" "$temp_lsb_release"
53 mount_image_partition_ro "${image}" 3 "${rootfs}"
55 mount_image_partition "${image}" 3 "${rootfs}"
64 set_lsb_release_keyval "${rootfs}" "${key}" "${value}"
68 cat "${rootfs}/etc/lsb-release"
Dinsert_au_publickey.sh24 local rootfs=$(make_temp_dir)
26 mount_image_partition "$image" 3 "$rootfs"
27 sudo mkdir -p "$rootfs/$key_location"
28 sudo cp "$pub_key" "$rootfs/$key_location/update-payload-key.pub.pem"
29 sudo chown root:root "$rootfs/$key_location/update-payload-key.pub.pem"
30 sudo chmod 644 "$rootfs/$key_location/update-payload-key.pub.pem"
Densure_no_nonrelease_files.sh40 local rootfs=$(make_temp_dir)
41 mount_image_partition_ro "$image" 3 "$rootfs"
44 if [ -e "$rootfs/$file" ]; then
46 ls -al "$rootfs/$file"
53 local config_path="$rootfs/etc/chrome_dev.conf"
Dstrip_boot_from_image.sh31 local rootfs="$1"
33 echo "Zeroing freespace in ${rootfs}"
36 ( sudo dd if=/dev/zero of="${rootfs}/filler" bs=4096 conv=fdatasync \
38 sudo rm "${rootfs}/filler"
Dset_channel.sh27 local rootfs lsb
29 rootfs=$(make_temp_dir)
30 lsb="${rootfs}/etc/lsb-release"
31 mount_image_partition "${image}" 3 "${rootfs}"
Dremove_test_label.sh16 rootfs=$(make_temp_dir)
17 mount_image_partition ${image} 3 ${rootfs}
18 sed -i 's/test//' "${rootfs}/etc/lsb-release"
Densure_not_ASAN.sh25 local rootfs=$(make_temp_dir)
26 mount_image_partition_ro "$image" 3 "$rootfs"
30 if readelf -s "$rootfs/opt/google/chrome/chrome" | \
Densure_update_verification.sh26 local rootfs=$(make_temp_dir)
28 mount_image_partition_ro "$image" 3 "$rootfs"
29 if [ ! -e "$rootfs/$key_location" ]; then
Dconvert_recovery_to_full_ssd.sh51 rootfs=$(make_temp_file)
53 extract_image_partition ${RECOVERY_IMAGE} 3 ${rootfs}
54 replace_image_partition ${SSD_IMAGE} 3 ${rootfs}
/external/toolchain-utils/
Dchromiumos_image_diff.py46 self.rootfs = ''
52 self.rootfs = '/tmp/{0}.rootfs'.format(mount_basename)
56 self.rootfs = tempfile.mkdtemp(suffix='.rootfs',
59 match = re.match(r'^(.*)\.rootfs$', self.rootfs)
66 self.image, self.rootfs, self.stateful))
70 self.chromeos_root, self.image, self.rootfs, self.stateful)
75 self.image, self.rootfs, self.stateful))
81 'rmdir {r} ; rmdir {s}\n').format(r=self.rootfs, s=self.stateful)
94 self.image, self.rootfs, self.stateful))
104 self.rootfs = None
[all …]
/external/autotest/client/site_tests/security_SuidBinaries/
Dbaseline.amd64-generic-cheets.suid5 /opt/google/containers/android/rootfs/root/system/xbin/librank
6 /opt/google/containers/android/rootfs/root/system/xbin/procmem
7 /opt/google/containers/android/rootfs/root/system/xbin/procrank
8 /opt/google/containers/android/rootfs/root/system/xbin/su
Dbaseline.novato.suid5 /opt/google/containers/android/rootfs/root/system/xbin/librank
6 /opt/google/containers/android/rootfs/root/system/xbin/procmem
7 /opt/google/containers/android/rootfs/root/system/xbin/procrank
8 /opt/google/containers/android/rootfs/root/system/xbin/su
Dbaseline.newbie.suid5 /opt/google/containers/android/rootfs/root/system/xbin/librank
6 /opt/google/containers/android/rootfs/root/system/xbin/procmem
7 /opt/google/containers/android/rootfs/root/system/xbin/procrank
8 /opt/google/containers/android/rootfs/root/system/xbin/su
Dbaseline.betty.suid5 /opt/google/containers/android/rootfs/root/system/xbin/librank
6 /opt/google/containers/android/rootfs/root/system/xbin/procmem
7 /opt/google/containers/android/rootfs/root/system/xbin/procrank
8 /opt/google/containers/android/rootfs/root/system/xbin/su
Dbaseline.vm.arc_userdebug.suid5 /opt/google/containers/android/rootfs/root/system/xbin/librank
6 /opt/google/containers/android/rootfs/root/system/xbin/procmem
7 /opt/google/containers/android/rootfs/root/system/xbin/procrank
8 /opt/google/containers/android/rootfs/root/system/xbin/su
Dbaseline.novato.sgid2 /opt/google/containers/android/rootfs/root/system/xbin/librank
3 /opt/google/containers/android/rootfs/root/system/xbin/procmem
4 /opt/google/containers/android/rootfs/root/system/xbin/procrank
Dbaseline.newbie.sgid2 /opt/google/containers/android/rootfs/root/system/xbin/librank
3 /opt/google/containers/android/rootfs/root/system/xbin/procmem
4 /opt/google/containers/android/rootfs/root/system/xbin/procrank
Dbaseline.vm.arc_userdebug.sgid2 /opt/google/containers/android/rootfs/root/system/xbin/librank
3 /opt/google/containers/android/rootfs/root/system/xbin/procmem
4 /opt/google/containers/android/rootfs/root/system/xbin/procrank
Dbaseline.amd64-generic-cheets.sgid2 /opt/google/containers/android/rootfs/root/system/xbin/librank
3 /opt/google/containers/android/rootfs/root/system/xbin/procmem
4 /opt/google/containers/android/rootfs/root/system/xbin/procrank
Dbaseline.betty.sgid2 /opt/google/containers/android/rootfs/root/system/xbin/librank
3 /opt/google/containers/android/rootfs/root/system/xbin/procmem
4 /opt/google/containers/android/rootfs/root/system/xbin/procrank
/external/autotest/client/site_tests/platform_PartitionCheck/
Dcontrol7 PURPOSE = "Verify size of rootfs are as expected."
8 CRITERIA = "Fail if rootfs partitions are not of our reference size."
18 as a hard-coded expected rootfs size.
/external/autotest/client/site_tests/security_RootfsOwners/
Dcontrol8 Ensures there are no files owned by chronos/chronos-access on the rootfs.
12 Ensures there are no files owned by chronos/chronos-access on the rootfs.
15 Fail if there are any files owned by chronos/chronos-access on the rootfs.

123