| /openbmc/openbmc/poky/scripts/lib/wic/canned-wks/ |
| H A D | directdisk-multi-rootfs.wks | 1 # 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 …]
|
| H A D | efi-bootdisk.wks.in | 2 part /boot --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/boot --fstype=vfat --label boot --active --… 3 part / --source rootfs --fstype=ext4 --label root --align 1024 --exclude-path boot/
|
| /openbmc/openbmc/poky/meta/recipes-core/initrdscripts/files/ |
| H A D | init-live.sh | 188 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 D | init-install-efi-testfs.sh | 91 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 D | init-install-testfs.sh | 116 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 D | init-install-efi.sh | 174 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})
|
| H A D | init-install.sh | 183 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
|
| /openbmc/openbmc/poky/meta-selftest/recipes-test/postinst/ |
| H A D | postinst_1.0.bb | 6 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 …]
|
| /openbmc/openbmc/poky/scripts/lib/wic/ |
| H A D | partition.py | 154 rootfs = "%s/fs_%s.%s.%s" % (cr_workdir, self.label, 156 if os.path.isfile(rootfs): 157 os.remove(rootfs) 161 method(rootfs, oe_builddir, native_sysroot) 162 self.source_file = rootfs 216 rootfs = "%s/rootfs_%s.%s.%s" % (cr_workdir, self.label, 218 if os.path.isfile(rootfs): 219 os.remove(rootfs) 263 method(rootfs, cr_workdir, oe_builddir, rootfs_dir, native_sysroot, pseudo) 264 self.source_file = rootfs [all …]
|
| /openbmc/openbmc/poky/meta/recipes-core/initrdscripts/ |
| H A D | initramfs-framework_1.0.bb | 13 file://rootfs \ 32 install -m 0755 ${S}/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 …]
|
| /openbmc/openbmc/poky/meta-selftest/recipes-test/images/ |
| H A D | wic-image-minimal.wks | 2 # 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 --…
|
| /openbmc/openbmc/poky/meta/classes-recipe/ |
| H A D | fs-uuid.bbclass | 12 rootfs = d.getVar('ROOTFS') 13 output = subprocess.check_output(['tune2fs', '-l', rootfs], text=True) 17 bb.note('UUID of %s: %s' % (rootfs, uuid)) 19 bb.fatal('Could not determine filesystem UUID of %s' % rootfs) 21 # Replace the special <<uuid-of-rootfs>> inside a string (like the 23 # actual UUID of the rootfs. Does nothing if the special string 26 UUID_PLACEHOLDER = '<<uuid-of-rootfs>>'
|
| H A D | core-image.bbclass | 10 # this gives us working (console only) rootfs. 30 …dev-pkgs - development packages (headers, etc.) for all installed packages in the rootfs 31 # - dbg-pkgs - debug symbol packages for all installed packages in the rootfs 32 # - lic-pkgs - license packages for all installed pacakges in the rootfs, requires 34 # - doc-pkgs - documentation packages for all installed packages in the rootfs 37 # - read-only-rootfs - tweaks an image to support read-only rootfs 38 # - stateless-rootfs - systemctl-native not run, image populated by systemd at runtime
|
| /openbmc/u-boot/board/keymile/scripts/ |
| H A D | README | 7 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
|
| /openbmc/openbmc/meta-security/recipes-core/initrdscripts/initramfs-framework-dm/ |
| H A D | dmverity | 33 create rootfs \ 40 /dev/mapper/rootfs \ 84 create rootfs \ 91 /dev/mapper/rootfs \
|
| /openbmc/openbmc/poky/scripts/tiny/ |
| H A D | dirsize.py | 68 rootfs = Record.create(".") 69 total = rootfs.show(minsize) 71 (total, rootfs.size, 100 * float(total) / rootfs.size))
|
| /openbmc/u-boot/configs/ |
| H A D | apf27_defconfig | 12 …2K(env),512K(env2),512K(firmware),512K(dtb),5M(kernel),-(rootfs) ubi.mtd=rootfs root=ubi0:rootfs r… 36 …tdparts=mxc_nand.0:1M(u-boot)ro,512K(env),512K(env2),512K(firmware),512K(dtb),5M(kernel),-(rootfs)"
|
| /openbmc/openbmc/poky/scripts/esdk-tools/ |
| H A D | runqemu | 64 ROOTFS - the rootfs image file or nfsroot directory to use 155 self.rootfs = '' 158 # Found in the same places as the rootfs, with or without one of 356 self.rootfs = p 360 self.rootfs = m.group(2) 378 elif os.path.isfile(p) and ('-image-' in os.path.basename(p) or '.rootfs.' in os.path.basename(p)): 379 self.rootfs = p 388 m = re.search('.*\\.(.*)$', self.rootfs) 393 qb = re.sub('\\.' + fst + "$", '.qemuboot.conf', self.rootfs) 398 logger.warning("%s doesn't exist, will try to remove '.rootfs' fro [all...] |
| /openbmc/openbmc/poky/scripts/ |
| H A D | runqemu | 155 self.rootfs = '' 356 self.rootfs = p 360 self.rootfs = m.group(2) 379 self.rootfs = p 388 m = re.search('.*\\.(.*)$', self.rootfs) 393 qb = re.sub('\\.' + fst + "$", '.qemuboot.conf', self.rootfs) 560 self.rootfs = arg 581 self.load_bitbake_env(target=self.rootfs) 586 if not self.get('IMAGE_LINK_NAME') and self.rootfs: 688 if not self.rootfs: [all …]
|
| /openbmc/openbmc/poky/meta/lib/oeqa/core/target/ |
| H A D | qemu.py | 22 port=None, machine='', rootfs='', kernel='', kvm=False, slirp=False, argument 33 self.rootfs = rootfs 42 self.runner = QemuRunner(machine=machine, rootfs=rootfs, tmpdir=tmpdir,
|
| /openbmc/u-boot/board/aspeed/ |
| H A D | ast2600_openbmc_mmc.txt | 2 boota=setenv bootpart 2; setenv rootfs rofs-a; run bootmmc 3 bootb=setenv bootpart 3; setenv rootfs rofs-b; run bootmmc 11 setmmcargs=setenv bootargs ${origbootargs} rootwait root=PARTLABEL=${rootfs}
|
| /openbmc/openbmc/meta-aspeed/recipes-bsp/u-boot/files/ |
| H A D | u-boot-env-ast2600.txt | 2 boota=setenv bootpart 2; setenv rootfs rofs-a; run bootmmc 3 bootb=setenv bootpart 3; setenv rootfs rofs-b; run bootmmc 11 setmmcargs=setenv bootargs ${origbootargs} rootwait root=PARTLABEL=${rootfs}
|
| /openbmc/openbmc/meta-evb/meta-evb-arm/meta-evb-fvp-base/wic/ |
| H A D | emmc-fvp.wks.in | 27 part --fstype=ext4 --fixed-size 1G --source rootfs --label rofs-a 28 part --fstype=ext4 --fixed-size 1G --source rootfs --label rofs-b 30 #part --fstype=ext4 --fixed-size ${WKS_HOSTFW_SIZE} --source rootfs --rootfs-dir=${DEPLOY_DIR_IMAGE…
|
| /openbmc/openbmc/meta-aspeed/wic/ |
| H A D | emmc-aspeed.wks.in | 27 part --fstype=ext4 --fixed-size 1G --source rootfs --label rofs-a 28 part --fstype=ext4 --fixed-size 1G --source rootfs --label rofs-b 30 part --fstype=ext4 --fixed-size ${WKS_HOSTFW_SIZE} --source rootfs --rootfs-dir=${DEPLOY_DIR_IMAGE}…
|
| /openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | rootfspostcommandstests.py | 41 rootfs = vars["IMAGE_ROOTFS"] 42 self.assertIsNotNone(rootfs) 47 return oe.path.join(rootfs, sysconfdir)
|