Home
last modified time | relevance | path

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

12345

/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/mesa3d/.gitlab-ci/container/
Dlava_build.sh103 mkdir -p /lava-files/rootfs-${DEBIAN_ARCH}/usr/bin
104 mv /usr/local/bin/deqp-runner /lava-files/rootfs-${DEBIAN_ARCH}/usr/bin/.
111 mv /deqp /lava-files/rootfs-${DEBIAN_ARCH}/.
116 mkdir -p /lava-files/rootfs-${DEBIAN_ARCH}/apitrace
117 mv /apitrace/build /lava-files/rootfs-${DEBIAN_ARCH}/apitrace
120 mkdir -p /lava-files/rootfs-${DEBIAN_ARCH}/waffle
121 mv /waffle/build /lava-files/rootfs-${DEBIAN_ARCH}/waffle
128 mkdir -p /lava-files/rootfs-${DEBIAN_ARCH}/renderdoc
129 mv /renderdoc/build /lava-files/rootfs-${DEBIAN_ARCH}/renderdoc
136 mkdir -p /lava-files/rootfs-${DEBIAN_ARCH}/usr/lib/$GCC_ARCH
[all …]
/external/toolchain-utils/
Dchromiumos_image_diff.py52 self.rootfs = ''
58 self.rootfs = '/tmp/{0}.rootfs'.format(mount_basename)
62 self.rootfs = tempfile.mkdtemp(
65 match = re.match(r'^(.*)\.rootfs$', self.rootfs)
72 self.image, self.rootfs, self.stateful))
75 command = image_chromeos.GetImageMountCommand(self.image, self.rootfs,
81 self.image, self.rootfs, self.stateful))
88 r=self.rootfs, s=self.stateful)
101 self.image, self.rootfs, self.stateful))
111 self.rootfs = None
[all …]
/external/llvm-project/lldb/docs/use/
Dqemu-testing.rst19 * **rootfs.sh** is used to generate Ubuntu root file system images to be used for QEMU system mode …
32 Create Ubuntu root file system image for QEMU system emulation with rootfs.sh
35 **Example:** generate Ubuntu Bionic (armhf) rootfs image of size 1 GB
38 $ bash rootfs.sh --arch armhf --distro bionic --size 1G
40 **Example:** generate Ubuntu Focal (arm64) rootfs image of size 2 GB
43 $ bash rootfs.sh --arch arm64 --distro focal --size 2G
45 rootfs.sh has been tested for generating Ubuntu Bionic and Focal images but they can be used to gen…
47 rootfs.sh defaults username of generated image to your current username on host computer.
103 $ sudo bash run-qemu.sh --arch arm --rootfs <path of rootfs image>
104 $ sudo bash run-qemu.sh --arch arm64 --rootfs <path of rootfs image>
[all …]
/external/mesa3d/.gitlab-ci/bare-metal/
Dfastboot.sh62 rsync -a --delete $BM_ROOTFS/ rootfs/
63 . $BM/rootfs-setup.sh rootfs
67 pushd rootfs
72 xz --check=crc32 -T4 - > $CI_PROJECT_DIR/rootfs.cpio.gz
98 -r rootfs.cpio.gz \
/external/crosvm/ci/crosvm_test_vm/
DDockerfile12 # Build stage which will build the rootfs for our VM
26 RUN curl -sSfL -o rootfs.qcow2 \
40 RUN qemu-img convert -O qcow2 -c rootfs.qcow2 rootfs.compressed \
41 && mv -f rootfs.compressed rootfs.qcow2
65 # Copy rootfs into runtime stage
67 COPY --from=vm_builder /workspace/vm/rootfs.qcow2 ./
/external/autotest/server/site_tests/firmware_FAFTRPC/
Dcontrol.rootfs8 NAME = "firmware_FAFTRPC.rootfs"
9 PURPOSE = "Verify that the RPC system, and all rootfs RPCs, work as expected."
10 CRITERIA = "This test will fail if the rootfs system is not set up correctly."
19 This test checks that all RPC functions on the rootfs subsystem are connected,
33 category_under_test="rootfs"
/external/crosvm/integration_tests/guest_under_test/
DMakefile48 all: $(TARGET)/rootfs $(TARGET)/bzImage
59 $(TARGET)/rootfs: $(TARGET)/rootfs-build/delegate
61 docker build -t crosvm_integration_test $(TARGET)/rootfs-build \
72 $(TARGET)/rootfs-build/delegate: delegate.rs
/external/crosvm/integration_tests/
DREADME.md4 a prebuilt guest kernel and rootfs, which is downloaded from google cloud
7 ## Running with locally built kernel/rootfs
10 rootfs, you have to specify the environment variables
23 To upload the modified rootfs, you will have to uprev the `PREBUILT_VERSION`
/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.
/external/autotest/site_utils/lxc/
Dcontainer.py271 def rootfs(self): member in Container
419 utils.run('sudo mkdir -p %s' % os.path.join(self.rootfs, destination))
513 usr_local_path = os.path.join(self.rootfs, 'usr', 'local')
536 dest_path = dest_path or os.path.join(self.rootfs, 'usr', 'local')
538 self.rootfs, 'usr', 'local', 'logs', 'isolate')
569 dst_path = os.path.join(self.rootfs,
/external/avb/test/
Davbtool_unittest.cc469 std::vector<uint8_t> rootfs; in AddHashFooterTest() local
470 rootfs.resize(rootfs_size); in AddHashFooterTest()
475 rootfs[n] = uint8_t(n) & 0x03; in AddHashFooterTest()
477 rootfs[n] = uint8_t(n); in AddHashFooterTest()
487 reinterpret_cast<const char*>(rootfs.data()), in AddHashFooterTest()
488 rootfs.size()))); in AddHashFooterTest()
590 avb_sha256_update(&hasher_ctx, rootfs.data(), rootfs_size); in AddHashFooterTest()
950 std::vector<uint8_t> rootfs; in CreateRootfsWithHashtreeFooter() local
951 rootfs.resize(rootfs_size); in CreateRootfsWithHashtreeFooter()
953 rootfs[n] = uint8_t(n); in CreateRootfsWithHashtreeFooter()
[all …]

12345