Searched refs:rootfs (Results 1 – 25 of 33) sorted by relevance
12
129 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 …]
15 local rootfs=$119 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"; then45 sudo umount $rootfs47 mount_image_partition "$image" 3 "$rootfs"48 change_chronos_password "$rootfs" "$chronos_password"
249 local rootfs="$1"253 if ! is_ext2 "$rootfs" $offset; then254 echo "enable_rw_mount called on non-ext2 filesystem: $rootfs $offset" 1>&2263 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; then289 echo "disable_rw_mount called on non-ext2 filesystem: $rootfs $offset" 1>&2298 sudo dd of="$rootfs" seek=$((offset + ro_compat_offset)) \[all …]
13 local rootfs=$116 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"
24 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"
40 local rootfs=$(make_temp_dir)41 mount_image_partition_ro "$image" 3 "$rootfs"44 if [ -e "$rootfs/$file" ]; then46 ls -al "$rootfs/$file"53 local config_path="$rootfs/etc/chrome_dev.conf"
31 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"
27 local rootfs lsb29 rootfs=$(make_temp_dir)30 lsb="${rootfs}/etc/lsb-release"31 mount_image_partition "${image}" 3 "${rootfs}"
16 rootfs=$(make_temp_dir)17 mount_image_partition ${image} 3 ${rootfs}18 sed -i 's/test//' "${rootfs}/etc/lsb-release"
25 local rootfs=$(make_temp_dir)26 mount_image_partition_ro "$image" 3 "$rootfs"30 if readelf -s "$rootfs/opt/google/chrome/chrome" | \
26 local rootfs=$(make_temp_dir)28 mount_image_partition_ro "$image" 3 "$rootfs"29 if [ ! -e "$rootfs/$key_location" ]; then
51 rootfs=$(make_temp_file)53 extract_image_partition ${RECOVERY_IMAGE} 3 ${rootfs}54 replace_image_partition ${SSD_IMAGE} 3 ${rootfs}
131 local rootfs=$(make_temp_dir)132 mount_image_partition_ro "$image" 3 "$rootfs"133 local lsb="$rootfs/$LSB_FILE"
98 local rootfs=$(make_temp_dir)99 mount_image_partition_ro "$image" 3 "$rootfs"103 local board=$(grep CHROMEOS_RELEASE_BOARD= "$rootfs/etc/lsb-release" | \
3 / u:object_r:rootfs:s07 /default\.prop u:object_r:rootfs:s08 /fstab\..* u:object_r:rootfs:s09 /init\..* u:object_r:rootfs:s010 /res(/.*)? u:object_r:rootfs:s011 /ueventd\..* u:object_r:rootfs:s014 /charger u:object_r:rootfs:s016 /sbin(/.*)? u:object_r:rootfs:s019 /lost\+found u:object_r:rootfs:s020 /proc u:object_r:rootfs:s0[all …]
45 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 …]
7 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 };
2 genfscon rootfs / u:object_r:rootfs:s0
2 # it lives in the rootfs and has no unique file type.
51 # Allow remounting rootfs as MS_SLAVE52 allow zygote rootfs:dir mounton;
76 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 };
16 allow recovery rootfs:file execute_no_trans;20 allow recovery rootfs:dir mounton;
6 allow sdcardd rootfs:dir mounton; # TODO: deprecated in M
136 for pnum in $(cgpt find -n -t rootfs "$file" 2>/dev/null); do