Home
last modified time | relevance | path

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

12

/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}
Densure_sane_lsb-release.sh131 local rootfs=$(make_temp_dir)
132 mount_image_partition_ro "$image" 3 "$rootfs"
133 local lsb="$rootfs/$LSB_FILE"
Densure_secure_kernelparams.sh98 local rootfs=$(make_temp_dir)
99 mount_image_partition_ro "$image" 3 "$rootfs"
103 local board=$(grep CHROMEOS_RELEASE_BOARD= "$rootfs/etc/lsb-release" | \
/external/sepolicy/
Dfile_contexts3 / u:object_r:rootfs:s0
7 /default\.prop u:object_r:rootfs:s0
8 /fstab\..* u:object_r:rootfs:s0
9 /init\..* u:object_r:rootfs:s0
10 /res(/.*)? u:object_r:rootfs:s0
11 /ueventd\..* u:object_r:rootfs:s0
14 /charger u:object_r:rootfs:s0
16 /sbin(/.*)? u:object_r:rootfs:s0
19 /lost\+found u:object_r:rootfs:s0
20 /proc u:object_r:rootfs:s0
[all …]
Dinit.te45 allow init rootfs:dir create_dir_perms;
46 allow init rootfs:dir mounton;
52 allow init rootfs:lnk_file { create unlink };
90 # restorecon /adb_keys or any other rootfs files to a more specific type.
91 allow init rootfs:file relabelfrom;
111 allow init { fs_type -contextmount_type -sdcard_type -rootfs }:file { open read setattr };
112 allow init { fs_type -contextmount_type -sdcard_type -rootfs }:dir { open read setattr search };
157 domain_trans(init, rootfs, adbd)
158 domain_trans(init, rootfs, healthd)
159 domain_trans(init, rootfs, slideshow)
[all …]
Dkernel.te7 allow kernel rootfs:file relabelfrom;
68 # ever execute a program outside the rootfs without changing to another domain.
78 neverallow kernel { file_type fs_type -rootfs }:file { entrypoint execute_no_trans };
Dgenfs_contexts2 genfscon rootfs / u:object_r:rootfs:s0
Dslideshow.te2 # it lives in the rootfs and has no unique file type.
Dzygote.te51 # Allow remounting rootfs as MS_SLAVE
52 allow zygote rootfs:dir mounton;
Ddomain.te76 allow domain rootfs:dir r_dir_perms;
77 allow domain rootfs:file r_file_perms;
78 allow domain rootfs:lnk_file r_file_perms;
288 # outside the rootfs or /system partition except for a few whitelisted domains.
303 } { fs_type -rootfs }:file execute;
317 # Nothing should be writing to files in the rootfs.
318 neverallow domain rootfs:file { create write setattr relabelto append unlink link rename };
Drecovery.te16 allow recovery rootfs:file execute_no_trans;
20 allow recovery rootfs:dir mounton;
Dsdcardd.te6 allow sdcardd rootfs:dir mounton; # TODO: deprecated in M
Dhealthd.te2 # it lives in the rootfs and has no unique file type.
/external/vboot_reference/utility/
Dvbutil_what_keys136 for pnum in $(cgpt find -n -t rootfs "$file" 2>/dev/null); do

12