Home
last modified time | relevance | path

Searched full:rootfs (Results 1 – 25 of 244) sorted by relevance

12345678910

/external/crosvm/e2e_tests/guest_under_test/
DMakefile5 # Builds the kernel and rootfs for the guest used in integration testing.
9 # target/guest_under_test/rootfs
50 all: $(TARGET)/rootfs $(TARGET)/bzImage
54 …rm -rf $(TARGET)/kernel-build $(TARGET)/rootfs-build $(TARGET)/initramfs-build $(TARGET)/rootfs $(…
61 delegate: $(TARGET)/rootfs-build/delegate
63 readclock: $(TARGET)/rootfs-build/readclock
66 # Build rootfs
67 rootfs : ${TARGET}/rootfs target
69 # Build rootfs from Dockerfile and export into squashfs
70 $(TARGET)/rootfs: $(TARGET)/rootfs-build/delegate $(TARGET)/rootfs-build/readclock rootfs/Dockerfile
[all …]
/external/mesa3d/.gitlab-ci/container/
Dlava_build.sh175 export ROOTFS=/lava-files/rootfs-${DEBIAN_ARCH}
176 mkdir -p "$ROOTFS"
178 # rootfs packages
207 # arch dependent rootfs packages
244 … --customize-hook='.gitlab-ci/container/get-firmware-from-source.sh "$ROOTFS" "$FIRMWARE_FILES"' \
247 "$ROOTFS/" \
256 mkdir -p $ROOTFS/usr/lib/$GCC_ARCH
263 mkdir -p $ROOTFS/usr/{share,lib}/clc
264 mv /usr/share/clc/spirv*-mesa3d-.spv $ROOTFS/usr/share/clc/
265 ln -s /usr/share/clc/spirv64-mesa3d-.spv $ROOTFS/usr/lib/clc/
[all …]
Dbaremetal_build.sh6 # Fetch the arm-built rootfs image and unpack it in our x86_64 container (saves
17 "${ARTIFACTS_URL}"/lava-rootfs.tar.zst -o rootfs.tar.zst
18 mkdir -p /rootfs-"$arch"
19 tar -C /rootfs-"$arch" '--exclude=./dev/*' --zstd -xf rootfs.tar.zst
20 rm rootfs.tar.zst
/external/toolchain-utils/
Dchromiumos_image_diff.py51 self.rootfs = ""
57 self.rootfs = "/tmp/{0}.rootfs".format(mount_basename)
61 self.rootfs = tempfile.mkdtemp(
62 suffix=".rootfs", prefix="chromiumos_image_diff"
64 ## rootfs is like /tmp/tmpxyz012.rootfs.
65 match = re.match(r"^(.*)\.rootfs$", self.rootfs)
73 self.image, self.rootfs, self.stateful
79 self.image, self.rootfs, self.stateful
86 self.image, self.rootfs, self.stateful
96 ).format(r=self.rootfs, s=self.stateful)
[all …]
/external/vboot_reference/scripts/image_signing/
Dtag_image.sh123 # Args: ROOTFS DO_MODIFICATION
127 local rootfs="$1"
132 "${rootfs}" \
138 "${rootfs}" \
144 "${rootfs}" \
150 "${rootfs}" \
156 # Args: ROOTFS DO_MODIFICATION
158 local rootfs="$1"
160 local lsb="${rootfs}/etc/lsb-release"
200 rootfs="${IMAGE}"
[all …]
Dset_lsb_release.sh13 local rootfs=$1
14 local lsb="${rootfs}/etc/lsb-release"
55 local loopdev rootfs
58 rootfs="${image}"
60 rootfs=$(make_temp_dir)
64 mount_loop_image_partition_ro "${loopdev}" 3 "${rootfs}"
66 mount_loop_image_partition "${loopdev}" 3 "${rootfs}"
76 set_lsb_release_keyval "${rootfs}" "${key}" "${value}"
79 restore_lsb_selinux "${rootfs}/etc/lsb-release"
83 cat "${rootfs}/etc/lsb-release"
[all …]
Dinsert_au_publickey.sh25 local loopdev rootfs
27 rootfs="${image}"
29 rootfs=$(make_temp_dir)
31 mount_loop_image_partition "${loopdev}" 3 "${rootfs}"
35 sudo mkdir -p "$rootfs/$key_location"
36 sudo cp "$pub_key" "$rootfs/$key_location/update-payload-key.pub.pem"
37 sudo chown root:root "$rootfs/$key_location/update-payload-key.pub.pem"
38 sudo chmod 644 "$rootfs/$key_location/update-payload-key.pub.pem"
Densure_no_nonrelease_files.sh40 local loopdev rootfs
42 rootfs="${image}"
44 rootfs=$(make_temp_dir)
46 mount_loop_image_partition "${loopdev}" 3 "${rootfs}"
49 local brdvar=$(get_boardvar_from_lsb_release "${rootfs}")
53 if [ -e "${rootfs}/${file}" ]; then
55 ls -al "${rootfs}/${file}"
62 local config_path="${rootfs}/etc/chrome_dev.conf"
Densure_no_password.sh21 local loopdev rootfs
23 rootfs="${image}"
25 rootfs=$(make_temp_dir)
27 mount_loop_image_partition_ro "${loopdev}" 3 "${rootfs}"
30 if ! no_chronos_password "${rootfs}"; then
Densure_not_ASAN.sh25 local loopdev rootfs
27 rootfs="${image}"
29 rootfs=$(make_temp_dir)
31 mount_loop_image_partition_ro "${loopdev}" 3 "${rootfs}"
36 if readelf -s "$rootfs/opt/google/chrome/chrome" | \
Densure_update_verification.sh27 local loopdev rootfs
29 rootfs="${image}"
31 rootfs=$(make_temp_dir)
33 mount_loop_image_partition_ro "${loopdev}" 3 "${rootfs}"
36 if [ ! -e "$rootfs/$key_location" ]; then
Dset_channel.sh27 local loopdev rootfs lsb
30 rootfs="${image}"
32 rootfs=$(make_temp_dir)
34 mount_loop_image_partition "${loopdev}" 3 "${rootfs}"
36 lsb="${rootfs}/etc/lsb-release"
Densure_sane_lsb-release.sh118 local loopdev rootfs
120 # We're given a mounted rootfs.
121 rootfs="${image}"
125 rootfs=$(make_temp_dir)
126 mount_loop_image_partition_ro "${loopdev}" 3 "${rootfs}"
128 local lsb="$rootfs/$LSB_FILE"
142 local board=$(get_board_from_lsb_release "${rootfs}")
145 local boardvar=$(get_boardvar_from_lsb_release "${rootfs}")
Dcommon_minimal.sh18 # The tag when the rootfs is changed.
368 local rootfs="$1"
373 if ! is_ext2 "$rootfs" $offset; then
374 echo "enable_rw_mount called on non-ext2 filesystem: $rootfs $offset" 1>&2
383 sudo dd of="$rootfs" seek=$((offset + ro_compat_offset)) \
389 local rootfs="$1"
394 local sb_value=$(sudo dd if="$rootfs" skip=$((offset + sb_magic_offset)) \
404 local rootfs="$1"
409 if ! is_ext2 "$rootfs" $offset; then
410 echo "disable_rw_mount called on non-ext2 filesystem: $rootfs $offset" 1>&2
[all …]
Dinsert_container_publickey.sh33 local rootfs
37 rootfs="${image}"
40 rootfs=$(make_temp_dir)
41 mount_loop_image_partition "${loopdev}" 3 "${rootfs}"
50 "${tmpfile}" "${rootfs}/${key_location}/oci-container-key-pub.der"
Dremove_test_label.sh17 rootfs=$(make_temp_dir)
18 mount_loop_image_partition "${loopdev}" 3 "${rootfs}"
19 sed -i 's/test//' "${rootfs}/etc/lsb-release"
20 restore_lsb_selinux "${rootfs}/etc/lsb-release"
/external/mesa3d/.gitlab-ci/bare-metal/
Dfastboot.sh50 echo "Must set BM_ROOTFS to your board's rootfs directory in the job's variables:"
58 section_start prepare_rootfs "Preparing rootfs components"
67 # Create the rootfs in the NFS directory. rm to make sure it's in a pristine
71 . $BM/rootfs-setup.sh /nfs
74 rm -f rootfs.cpio.gz
75 touch rootfs.cpio
76 gzip rootfs.cpio
78 # Create the rootfs in a temp dir
79 rsync -a --delete $BM_ROOTFS/ rootfs/
80 . $BM/rootfs-setup.sh rootfs
[all …]
/external/kmod/testsuite/
Dsetup-rootfs.sh6 ROOTFS=$2
11 # create rootfs from rootfs-pristine
14 rm -rf "$ROOTFS"
15 mkdir -p $(dirname "$ROOTFS")
16 cp -r "$ROOTFS_PRISTINE" "$ROOTFS"
17 find "$ROOTFS" -type d -exec chmod +w {} \;
18 find "$ROOTFS" -type f -name .gitignore -exec rm -f {} \;
20 …sed -i -e "s|/lib/modules|$MODULE_DIRECTORY|g" $(find "$ROOTFS" -name \*.txt -o -name \*.conf -o -…
21 …sed -i -e "s|$MODULE_DIRECTORY/external|/lib/modules/external|g" $(find "$ROOTFS" -name \*.txt -o …
22 for i in "$ROOTFS"/*/lib/modules/* "$ROOTFS"/*/*/lib/modules/* ; do
[all …]
Dtest-testsuite.c81 .description = "test if rootfs works - fopen()",
83 [TC_ROOTFS] = TESTSUITE_ROOTFS "test-rootfs/",
114 .description = "test if rootfs works - open()",
116 [TC_ROOTFS] = TESTSUITE_ROOTFS "test-rootfs/",
137 .description = "test if rootfs works - stat() and access()",
139 [TC_ROOTFS] = TESTSUITE_ROOTFS "test-rootfs/",
157 .description = "test if rootfs works - opendir()",
159 [TC_ROOTFS] = TESTSUITE_ROOTFS "test-rootfs/",
/external/mesa3d/.gitlab-ci/lava/
Dlava-submit.sh5 # If we run in the fork (not from mesa or Marge-bot), reuse mainline kernel and rootfs, if exist.
43 section_switch rootfs "Assembling root filesystem"
44 ROOTFS_URL="$(get_path_to_artifact lava-rootfs.tar.zst)"
48 mkdir -p results/job-rootfs-overlay/
50 artifacts/ci-common/generate-env.sh > results/job-rootfs-overlay/set-job-env-vars.sh
51 cp artifacts/ci-common/init-*.sh results/job-rootfs-overlay/
52 cp "$SCRIPTS_DIR"/setup-test-env.sh results/job-rootfs-overlay/
54 tar zcf job-rootfs-overlay.tar.gz -C results/job-rootfs-overlay/ .
55 ci-fairy s3cp --token-file "${S3_JWT_FILE}" job-rootfs-overlay.tar.gz "https://${JOB_ROOTFS_OVERLAY…
59 cat results/job-rootfs-overlay/set-job-env-vars.sh
[all …]
/external/crosvm/docs/book/src/running_crosvm/
Dcustom_kernel_rootfs.md1 # Custom Kernel / Rootfs
3 This document explains how to build a custom kernel and use debootstrap to build a rootfs for
33 ### Build a rootfs disk
35 This stage enjoys the most flexibility. There aren't any special requirements for a rootfs in
37 enough for your purposes. To get you started, a Debian rootfs can be created with [debootstrap].
58 > to share the host's rootfs with the guest via virtiofs. See the
59 > [virtiofs usage](./advanced_usage.md#virtiofs-as-rootfs).
/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."
20 This test checks that all RPC functions on the rootfs subsystem are connected,
34 category_under_test="rootfs"
/external/crosvm/tools/examples/
Dexample_simple.ps19 Directory where initrd, rootfs and vmlinuz are located. Defaults to user's tmp directory.
25 $ROOTFS = Join-Path $IMAGE_DIR "rootfs" variable
30 $PATHS = $IMAGE_DIR, $VMLINUZ, $ROOTFS, $INITRD, $LOGS_DIR
47 --rwdisk $ROOTFS ` variable
/external/crosvm/e2e_tests/
DREADME.md4 kernel and rootfs, which is downloaded from google cloud storage.
12 ## Running with locally built kernel/rootfs
14 If you want to make changes to the kernel or rootfs, you have to specify the environment variables
18 With use_local_build.sh script, e2e_tests can be executed with custom kernel/rootfs as follows:
40 To upload the modified rootfs, you will have to uprev the `PREBUILT_VERSION` variable in:
/external/autotest/site_utils/lxc/
Dcontainer.py162 # Path to the rootfs of the container. This will be initialized when
163 # property rootfs is retrieved.
284 def rootfs(self): member in Container
285 """Path to the rootfs of the container.
287 This property returns the path to the rootfs of the container, that is,
289 attribute lxc.rootfs from the config file of the container, e.g.,
290 lxc.rootfs = /usr/local/autotest/containers/t4/rootfs
291 If the container is created with snapshot, the rootfs is a chain of
294 lxc.rootfs = overlayfs:/usr/local/autotest/containers/base/rootfs:
299 Files in the rootfs will be accessible directly within container. For
[all …]

12345678910