| /openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | wic.py | 153 # create a temporary file for the WKS content 154 with NamedTemporaryFile("w", suffix=".wks") as wks: 155 wks.write( 160 wks.flush() 164 # build the image using the WKS file 166 wks.name, img, self.resultdir) 168 wksname = os.path.splitext(os.path.basename(wks.name))[0] 186 # create a temporary file for the WKS content 187 with NamedTemporaryFile("w", suffix=".wks") as wks: 188 wks.write( [all …]
|
| /openbmc/openbmc/meta-security/wic/ |
| H A D | systemd-bootdisk-dmverity-hash.wks.in | 2 # A dm-verity variant of the regular wks for IA machines. We need to fetch 6 # Based on OE-core's systemd-bootdisk.wks and meta-security's beaglebone-yocto-verity.wks.in file 8 # This .wks only works with the dm-verity-img class and separate hash data. (DM_VERITY_SEPARATE_HAS… 13 include ${STAGING_VERITY_DIR}/${IMAGE_BASENAME}.${DM_VERITY_IMAGE_TYPE}.wks.in
|
| H A D | systemd-bootdisk-dmverity.wks.in | 2 # A dm-verity variant of the regular wks for IA machines. We need to fetch 6 # Based on OE-core's systemd-bootdisk.wks and meta-security's beaglebone-yocto-verity.wks.in file 8 # This .wks only works with the dm-verity-img class.
|
| H A D | beaglebone-yocto-verity.wks.in | 7 # A dm-verity variant of the regular wks for beaglebone black. We need to fetch 12 # This .wks only works with the dm-verity-img class.
|
| /openbmc/openbmc/poky/meta/classes-recipe/ |
| H A D | image_types_wic.bbclass | 45 WKS_FILE ??= "${IMAGE_BASENAME}.${MACHINE}.wks" 46 WKS_FILES ?= "${WKS_FILE} ${IMAGE_BASENAME}.wks" 47 …p for p in '${BBPATH}'.split(':'))}:${@':'.join('%s/scripts/lib/wic/canned-wks' % l for l in '${BB… 66 wks="${WKS_FULL_PATH}" 72 if [ -z "$wks" ]; then 75 …BUILDDIR="${TOPDIR}" PSEUDO_UNLOAD=1 wic create "$wks" --vars "${STAGING_DIR}/${MACHINE}/imgdata/"… 93 mv "$build_wic/$(basename "${wks%.wks}")"*.${IMAGER} "$out.wic" 99 # Rebuild when the wks file or vars in WICVARS change 142 # Copy the finalized wks file to the deploy directory for later use
|
| /openbmc/openbmc/poky/scripts/lib/wic/ |
| H A D | help.py | 118 usage: wic create <wks file or image name> [-o <DIRNAME> | --outdir <DIRNAME>] 125 commands' found in the <wks file>. 139 wic create <wks file or image name> [-o <DIRNAME> | --outdir <DIRNAME>] 147 kickstart commands' found in the <wks file>. 166 use as the .wks rootfs source. 170 .wks bootimg source. 173 the kernel to use in the .wks bootimg. 261 These are actually just the set of .wks files that have been moved 262 into the /scripts/lib/wic/canned-wks directory). 270 the --source parameter of the partition .wks command. Normally [all …]
|
| H A D | engine.py | 10 # (wks) file specified and generates images that can then be directly 46 CANNED_IMAGE_DIR = "lib/wic/canned-wks" # relative to scripts 68 Find a .wks file with the given name in the canned files dir. 79 if ((fname.endswith(".wks") and wks_file + ".wks" == fname) or \ 80 (fname.endswith(".wks.in") and wks_file + ".wks.in" == fname)): 88 List the .wks files in the canned image dir, minus the extension. 97 if fname.endswith(".wks") or fname.endswith(".wks.in"): 99 with open(fullpath) as wks: 100 for line in wks: 115 with open(fullpath) as wks: [all …]
|
| H A D | ksparser.py | 106 Tries to find file in the list of canned wks paths 211 Parse file in .wks format using provided parser. 245 err = "%s:%d: fsuuid %s given in wks kickstart file " \ 252 err = "%s:%d: fsuuid %s given in wks kickstart file " \
|
| /openbmc/openbmc/poky/documentation/dev-manual/ |
| H A D | wic.rst | 17 commands contained in an OpenEmbedded kickstart file (``.wks``) 29 ":ref:`ref-manual/kickstart:openembedded kickstart (\`\`.wks\`\`) reference`" 101 - Include the name of the :ref:`wic kickstart file <openembedded-kickstart-wks-reference>` 215 path to the /rootfs dir to use as the .wks rootfs 219 /EFI or /syslinux dirs) to use as the .wks bootimg 223 .wks bootimg 280 poky/scripts/lib/wic/canned-wks 301 do not have to use the ``.wks`` extension. Here is an example in Raw 308 ``genericx86.wks`` file to generate an image:: 332 (i.e. ``*.wks``) to a plugin implementation used to populate a given [all …]
|
| /openbmc/openbmc/meta-security/docs/ |
| H A D | dm-verity-systemd-hash-x86-64.txt | 8 Also, you'll need to point at the hash specific WKS file: 10 WKS_FILES += " systemd-bootdisk-dmverity-hash.wks.in" 18 The example hash.wks file added here essentially adds a hash-only partition
|
| H A D | dm-verity-systemd-x86-64.txt | 17 This will make use of wic/systemd-bootdisk-dmverity.wks.in -- note that it 51 ./systemd-bootdisk-dmverity.wks-202304181413-sda.direct 59 /home/paul/poky/meta-security/wic/systemd-bootdisk-dmverity.wks.in
|
| /openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/images/ |
| H A D | corstone1000-esp-image.bb | 20 WKS_FILE = "efi-disk-esp-only.wks.in" 21 WKS_FILE:firmware = "efi-disk-esp-only.wks.in"
|
| /openbmc/openbmc/poky/meta/recipes-core/ovmf/ |
| H A D | ovmf-shell-image.bb | 7 # tools are needed for this .wks file. 9 WKS_FILE = "ovmf/ovmf-shell-image.wks"
|
| /openbmc/openbmc/poky/scripts/ |
| H A D | wic | 175 if not wks_file.endswith(".wks"): 180 "kickstart (.wks) filename)" % options.wks_file) 207 not_found_dir = "Completely missing artifact - wrong image (.wks) used?" 211 logger.info(" are the correct artifacts for the image (.wks file)).\n") 325 ".wks rootfs source") 329 ".wks bootimg source") 332 "in the .wks bootimg") 361 "If value is a valid .wks image file") 363 help="If 'list_type' is a valid .wks image file " 365 "defined inside the .wks file")
|
| /openbmc/openbmc/poky/scripts/esdk-tools/ |
| H A D | wic | 175 if not wks_file.endswith(".wks"): 180 "kickstart (.wks) filename)" % options.wks_file) 207 not_found_dir = "Completely missing artifact - wrong image (.wks) used?" 211 logger.info(" are the correct artifacts for the image (.wks file)).\n") 325 ".wks rootfs source") 329 ".wks bootimg source") 332 "in the .wks bootimg") 361 "If value is a valid .wks image file") 363 help="If 'list_type' is a valid .wks image file " 365 "defined inside the .wks file")
|
| /openbmc/openbmc/meta-arm/meta-arm-bsp/conf/machine/include/ |
| H A D | corstone1000.inc | 52 WKS_FILE ?= "efi-disk-no-swap.wks.in" 53 WKS_FILE:firmware ?= "corstone1000-flash-firmware.wks.in"
|
| /openbmc/openbmc/meta-security/classes/ |
| H A D | dm-verity-img.bbclass | 37 # if non-verity images want to embed the .wks and verity image. 67 local WKS_INC="${STAGING_VERITY_DIR}/${DM_VERITY_IMAGE}.$TYPE.wks.in" 114 # Create wks.in fragment with build specific UUIDs for partitions. 115 # Unfortunately the wks.in does not support line continuations... 165 # make "dateless" symlink for the hash so the wks can find it.
|
| /openbmc/openbmc/poky/scripts/lib/wic/canned-wks/ |
| H A D | common.wks.inc | 1 # This file is included into 3 canned wks files from this directory
|
| H A D | directdisk-bootloader-config.wks | 5 include common.wks.inc
|
| H A D | directdisk.wks | 5 include common.wks.inc
|
| H A D | qemux86-directdisk.wks | 5 include common.wks.inc
|
| /openbmc/openbmc/meta-arm/ci/ |
| H A D | edk2.yml | 17 WKS_FILE ?= "efi-disk.wks.in"
|
| /openbmc/openbmc/poky/meta-selftest/recipes-test/images/ |
| H A D | wic-image-minimal.bb | 3 SRC_URI = "file://${FILE_DIRNAME}/${BPN}.wks"
|
| /openbmc/openbmc/meta-arm/meta-arm/conf/machine/ |
| H A D | qemuarm-secureboot.conf | 19 WKS_FILE ?= "qemuarm.wks"
|
| H A D | qemuarm64-secureboot.conf | 20 WKS_FILE ?= "qemuarm64.wks"
|