Home
last modified time | relevance | path

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

12345678910>>...35

/OK3568_Linux_fs/yocto/poky/scripts/lib/wic/canned-wks/
H A Ddirectdisk-multi-rootfs.wks1 # short-description: Create multi rootfs image using rootfs plugin
2 # long-description: Creates a partitioned disk image with two rootfs partitions
3 # using rootfs plugin.
6 # - indirect rootfs references to image recipe(s):
8 # --rootfs-dir rootfs1=core-image-minimal
9 # --rootfs-dir rootfs2=core-image-minimal-dev
11 # - or paths to rootfs directories:
12 # wic create directdisk-multi-rootfs \
13 # --rootfs-dir rootfs1=tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/
14 # --rootfs-dir rootfs2=tmp/work/qemux86_64-poky-linux/core-image-minimal-dev/1.0-r0/rootfs/
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/initrdscripts/files/
H A Dinit-live.sh188 mkdir -p /rootfs.ro /rootfs.rw
189 if ! mount -n --move $ROOT_MOUNT /rootfs.ro; then
190 rm -rf /rootfs.ro /rootfs.rw
193 mount -t tmpfs -o rw,noatime,mode=755 tmpfs /rootfs.rw
194 mkdir -p /rootfs.rw/upperdir /rootfs.rw/work
196 mkdir -p $ROOT_MOUNT/rootfs.ro $ROOT_MOUNT/rootfs.rw
197 mount --move /rootfs.ro $ROOT_MOUNT/rootfs.ro
198 mount --move /rootfs.rw $ROOT_MOUNT/rootfs.rw
202 mkdir -p /rootfs.ro /rootfs.rw
203 if ! mount -n --move $ROOT_MOUNT /rootfs.ro; then
[all …]
H A Dinit-install-efi-testfs.sh91 rootfs=/dev/${device}${part_prefix}2
96 echo "Rootfs partition size: $rootfs_size MB ($rootfs)"
109 echo "Creating rootfs partition on $rootfs"
120 echo "Formatting $rootfs to ext3..."
121 mkfs.ext3 -L "platform" $rootfs
130 mount $rootfs /ssd
170 sed -i "s@linux /vmlinuz *@linux /vmlinuz root=$rootfs rw $rootwait quiet @" $GRUBCFG
186 sed -i "s@options *@options root=$rootfs rw $rootwait quiet @" $SYSTEMDBOOT_CFGS
H A Dinit-install-testfs.sh116 rootfs=/dev/${device}${part_prefix}2
121 echo "Rootfs partition size: $rootfs_size MB ($rootfs)"
133 echo "Creating rootfs partition on $rootfs"
144 echo "Formatting $rootfs to ext3..."
145 mkfs.ext3 -L "rootfs" $rootfs
155 mount $rootfs /tgt_root
188 linux /vmlinuz root=$rootfs $rootwait rw $5 $3 $4 quiet
206 echo "kernel /vmlinuz root=$rootfs rw $3 $4 quiet" >> /boot/grub/menu.lst
H A Dinit-install.sh183 rootfs=${device}${part_prefix}2
188 rootfs=${device}${part_prefix}3
195 echo "Rootfs partition size: $rootfs_size MB ($rootfs)"
215 echo "Creating rootfs partition on $rootfs"
227 while [ $C -ne 3 ] && [ ! -e $bootfs -o ! -e $rootfs -o ! -e $swap ]; do
235 echo "Formatting $rootfs to ext4..."
236 mkfs.ext4 $rootfs
246 mount $rootfs /tgt_root
300 root_part_uuid=$(blkid -o value -s PARTUUID ${rootfs})
323 echo "kernel /$kernel root=$rootfs rw $3 $4 quiet" >> /boot/grub/menu.lst
H A Dinit-install-efi.sh174 rootfs=${device}${part_prefix}2
179 echo "Rootfs partition size: $rootfs_size MB ($rootfs)"
192 echo "Creating rootfs partition on $rootfs"
202 while [ $C -ne 3 ] && [ ! -e $bootfs -o ! -e $rootfs -o ! -e $swap ]; do
210 echo "Formatting $rootfs to ext4..."
211 mkfs.ext4 $rootfs
221 mount $rootfs /tgt_root
248 root_part_uuid=$(blkid -o value -s PARTUUID ${rootfs})
264 rootuuid=$(blkid -o value -s PARTUUID ${rootfs})
/OK3568_Linux_fs/yocto/poky/meta-selftest/recipes-test/postinst/
H A Dpostinst_1.0.bb6 PACKAGES = "${PN}-rootfs ${PN}-delayed-a ${PN}-delayed-b ${PN}-rootfs-failing"
8 ALLOW_EMPTY:${PN}-rootfs = "1"
11 ALLOW_EMPTY:${PN}-rootfs-failing = "1"
13 RDEPENDS:${PN}-delayed-a = "${PN}-rootfs"
18 # At rootfs time touch $TESTDIR/rootfs. Errors if the file already exists, or
20 pkg_postinst:${PN}-rootfs () {
24 echo "${PN}-rootfs should have finished at rootfs time"
28 if [ -e $D${TESTDIR}/rootfs ]; then
29 echo "$D${TESTDIR}/rootfs exists, but should not"
34 touch $D${TESTDIR}/rootfs
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/lib/wic/
H A Dpartition.py151 rootfs = "%s/fs_%s.%s.%s" % (cr_workdir, self.label,
153 if os.path.isfile(rootfs):
154 os.remove(rootfs)
158 method(rootfs, oe_builddir, native_sysroot)
159 self.source_file = rootfs
213 rootfs = "%s/rootfs_%s.%s.%s" % (cr_workdir, self.label,
215 if os.path.isfile(rootfs):
216 os.remove(rootfs)
222 ignore_paths = [rootfs] + (get_bitbake_var("PSEUDO_IGNORE_PATHS") or "").split(",")
260 method(rootfs, cr_workdir, oe_builddir, rootfs_dir, native_sysroot, pseudo)
[all …]
/OK3568_Linux_fs/device/rockchip/common/configs/
H A DConfig.in.rootfs11 string "buildroot rootfs base cfg (rockchip_<cfg>_defconfig)"
24 Base name of buildroot defconfig for rootfs.
25 Set "" for no buildroot rootfs.
34 string "yocto rootfs machine or local config when ends with .conf"
37 Set "" for no yocto rootfs.
51 prompt "yocto rootfs display platform"
64 string "debian rootfs version"
73 Version of debian rootfs.
74 Set "" for no debian rootfs.
84 prompt "debian rootfs arch"
[all …]
/OK3568_Linux_fs/buildroot/fs/
H A Dcommon.mk39 ROOTFS_COMMON_NAME = rootfs-common
40 ROOTFS_COMMON_TYPE = rootfs
74 .PHONY: rootfs-common
75 rootfs-common: $(ROOTFS_COMMON_DEPENDENCIES) target-finalize
93 rootfs-common-show-depends:
96 .PHONY: rootfs-common-show-info
97 rootfs-common-show-info:
103 define inner-rootfs
105 ROOTFS_$(2)_NAME = rootfs-$(1)
106 ROOTFS_$(2)_TYPE = rootfs
[all …]
/OK3568_Linux_fs/buildroot/fs/initramfs/
H A Dinitramfs.mk22 rootfs-initramfs: linux-rebuild-with-initramfs
24 rootfs-initramfs-show-depends:
25 @echo rootfs-cpio
27 .PHONY: rootfs-initramfs rootfs-initramfs-show-depends
30 TARGETS_ROOTFS += rootfs-initramfs
34 ROOTFS_INITRAMFS_NAME = rootfs-initramfs
35 ROOTFS_INITRAMFS_TYPE = rootfs
36 ROOTFS_INITRAMFS_DEPENDENCIES = rootfs-cpio linux
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/initrdscripts/
H A Dinitramfs-framework_1.0.bb14 file://rootfs \
32 install -m 0755 ${WORKDIR}/rootfs ${D}/init.d/90-rootfs
53 # overlayroot needs to run after rootfs module but before finish
68 initramfs-module-rootfs \
77 # the rootfs, like 90-rootfs. To replace that default, use
78 # BAD_RECOMMENDATIONS += "initramfs-module-rootfs" in your
80 # something that runs earlier (for example, a 89-my-rootfs)
81 # and mounts the rootfs. Then 90-rootfs will proceed immediately.
82 RRECOMMENDS:${PN}-base += "initramfs-module-rootfs"
104 SUMMARY:initramfs-module-rootfs = "initramfs support for locating and mounting the root partition"
[all …]
/OK3568_Linux_fs/debian/
H A Dreadme.md3 A set of shell scripts that will build GNU/Linux distribution rootfs image
34 - Building with overlay with rockchip debian rootfs:
37 RELEASE=bullseye ARCH=armhf ./mk-rootfs.sh
40 - Building with overlay with rockchip debug debian rootfs:
43 VERSION=debug ARCH=armhf ./mk-rootfs-bullseye.sh
48 Creating the ext4 image(linaro-rootfs.img):
68 - Building the rk-debian rootfs
71 RELEASE=bullseye ARCH=arm64 ./mk-rootfs.sh
74 - Building the rk-debain rootfs with debug
77 VERSION=debug ARCH=arm64 ./mk-rootfs-bullseye.sh
[all …]
/OK3568_Linux_fs/buildroot/fs/ext2/
H A Dext2.mk18 $(HOST_DIR)/sbin/resize2fs -M $(BINARIES_DIR)/rootfs.ext2
19 $(HOST_DIR)/sbin/e2fsck -fy $(BINARIES_DIR)/rootfs.ext2
20 $(HOST_DIR)/sbin/tune2fs -m $(BR2_TARGET_ROOTFS_EXT2_RESBLKS) $(BINARIES_DIR)/rootfs.ext2
21 $(HOST_DIR)/sbin/resize2fs -M $(BINARIES_DIR)/rootfs.ext2
54 …ln -sf rootfs.ext2$(ROOTFS_EXT2_COMPRESS_EXT) $(BINARIES_DIR)/rootfs.ext$(BR2_TARGET_ROOTFS_EXT2_G…
59 $(eval $(rootfs))
/OK3568_Linux_fs/device/rockchip/common/build-hooks/
H A D30-rootfs.sh19 cp -fr $ROOTFS_DIR/rootfs.ext2 $RK_OUTDIR/../linuxfs/rootfs.img
39 cp -fr $RK_OUTDIR/../linuxfs/rootfs.img $ROOTFS_DIR/rootfs.ext4
104 bitbake core-image-minimal -f -c rootfs -c image_complete \
107 ln -rsf "$PWD/latest/rootfs.img" $ROOTFS_DIR/rootfs.ext4
135 VERSION=debug ARCH=$ARCH ./mk-rootfs-$RK_DEBIAN_VERSION.sh
138 ln -rsf "$PWD/linaro-rootfs.img" $ROOTFS_DIR/rootfs.ext4
202 echo "Using rootfs system($RK_ROOTFS_SYSTEM) from environment"
260 if [ -z "$1" -o "$1" = rootfs ]; then
266 ROOTFS_IMG=rootfs.${RK_ROOTFS_TYPE}
/OK3568_Linux_fs/device/rockchip/common/scripts/
H A Dmk-rootfs.sh19 cp -fr $ROOTFS_DIR/rootfs.ext2 $RK_OUTDIR/../linuxfs/rootfs.img
39 cp -fr $RK_OUTDIR/../linuxfs/rootfs.img $ROOTFS_DIR/rootfs.ext4
104 bitbake core-image-minimal -f -c rootfs -c image_complete \
107 ln -rsf "$PWD/latest/rootfs.img" $ROOTFS_DIR/rootfs.ext4
135 VERSION=debug ARCH=$ARCH ./mk-rootfs-$RK_DEBIAN_VERSION.sh
138 ln -rsf "$PWD/linaro-rootfs.img" $ROOTFS_DIR/rootfs.ext4
202 echo "Using rootfs system($RK_ROOTFS_SYSTEM) from environment"
260 if [ -z "$1" -o "$1" = rootfs ]; then
266 ROOTFS_IMG=rootfs.${RK_ROOTFS_TYPE}
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dfs-uuid.bbclass6 rootfs = d.getVar('ROOTFS')
7 output = subprocess.check_output(['tune2fs', '-l', rootfs], text=True)
11 bb.note('UUID of %s: %s' % (rootfs, uuid))
13 bb.fatal('Could not determine filesystem UUID of %s' % rootfs)
15 # Replace the special <<uuid-of-rootfs>> inside a string (like the
17 # actual UUID of the rootfs. Does nothing if the special string
20 UUID_PLACEHOLDER = '<<uuid-of-rootfs>>'
H A Dcore-image.bbclass8 # this gives us working (console only) rootfs.
32 …dev-pkgs - development packages (headers, etc.) for all installed packages in the rootfs
33 # - dbg-pkgs - debug symbol packages for all installed packages in the rootfs
34 # - lic-pkgs - license packages for all installed pacakges in the rootfs, requires
36 # - doc-pkgs - documentation packages for all installed packages in the rootfs
39 # - read-only-rootfs - tweaks an image to support read-only rootfs
40 # - stateless-rootfs - systemctl-native not run, image populated by systemd at runtime
/OK3568_Linux_fs/yocto/poky/meta-selftest/recipes-test/images/
H A Dwic-image-minimal.wks2 # long-description: This image contains boot partition and 3 rootfs partitions
6 part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
7 part /media --source rootfs --rootfs-dir=wic-image-minimal --ondisk sda --fstype=ext4 --label uuid-…
8 part /mnt --source rootfs --rootfs-dir=wic-image-minimal --ondisk sda --fstype=ext4 --label core --…
/OK3568_Linux_fs/buildroot/board/chromebook/
H A Dmksd.sh20 rootfs=$BINARIES_DIR/rootfs.ext2
25 test -f $rootfs || die "No rootfs image found"
30 rootfssize=`stat -t $rootfs | cut -d\ -f2`
66 -t data -l rootfs $bootsd
69 run dd bs=$block if=$rootfs of=$bootsd seek=$rootfsstart
/OK3568_Linux_fs/u-boot/board/keymile/scripts/
H A DREADME7 run develop : setup environment to configure for rootfs via nfs
8 run ramfs : setup environment to configure for rootfs in ram
14 This file defines variables for working with rootfs via nfs for powerpc and
19 This file defines architecture specific variables for working with rootfs via
25 This file defines variables for working with rootfs inside the ram for powerpc
30 This file defines architecture specific variables for working with rootfs inside
/OK3568_Linux_fs/yocto/poky/scripts/
H A Drunqemu152 self.rootfs = ''
347 self.rootfs = p
351 self.rootfs = m.group(2)
370 self.rootfs = p
379 m = re.search('.*\.(.*)$', self.rootfs)
384 qb = re.sub('\.' + fst + "$", '', self.rootfs)
539 self.rootfs = arg
665 if not self.rootfs:
666 self.rootfs = self.get('ROOTFS')
667 elif self.get('ROOTFS') != self.rootfs:
[all …]
/OK3568_Linux_fs/buildroot/board/licheepi/
H A Dreadme.txt15 Build the rootfs
21 You may now build your rootfs with:
35 +-- rootfs.ext2
36 +-- rootfs.ext4 -> rootfs.ext2
37 +-- rootfs.tar
/OK3568_Linux_fs/buildroot/board/sheevaplug/
H A Dreadme.txt9 - rootfs.jffs2
23 and rootfs by:
31 setenv bootfile <path/to/rootfs.jffs2>
33 nand erase.part rootfs
34 nand write $fileaddr rootfs $filesize
/OK3568_Linux_fs/buildroot/board/synopsys/vdk/
H A Dreadme.txt23 Build the rootfs and kernel
29 You may now build your rootfs with:
41 -- rootfs.ext2
44 Installing your rootfs and Image
50 $ cp rootfs.ext2 Image <vdk_installation_path>/skins/Vanilla-Cortex/ARMv8

12345678910>>...35