diff options
Diffstat (limited to 'scripts/lib/wic/canned-wks')
| -rw-r--r-- | scripts/lib/wic/canned-wks/common.wks.inc | 3 | ||||
| -rw-r--r-- | scripts/lib/wic/canned-wks/directdisk-bootloader-config.cfg | 27 | ||||
| -rw-r--r-- | scripts/lib/wic/canned-wks/directdisk-bootloader-config.wks | 8 | ||||
| -rw-r--r-- | scripts/lib/wic/canned-wks/directdisk-gpt.wks | 10 | ||||
| -rw-r--r-- | scripts/lib/wic/canned-wks/directdisk-multi-rootfs.wks | 23 | ||||
| -rw-r--r-- | scripts/lib/wic/canned-wks/directdisk.wks | 8 | ||||
| -rw-r--r-- | scripts/lib/wic/canned-wks/efi-bootdisk.wks.in | 3 | ||||
| -rw-r--r-- | scripts/lib/wic/canned-wks/mkefidisk.wks | 11 | ||||
| -rw-r--r-- | scripts/lib/wic/canned-wks/mkhybridiso.wks | 7 | ||||
| -rw-r--r-- | scripts/lib/wic/canned-wks/qemuloongarch.wks | 3 | ||||
| -rw-r--r-- | scripts/lib/wic/canned-wks/qemuriscv.wks | 3 | ||||
| -rw-r--r-- | scripts/lib/wic/canned-wks/qemux86-directdisk.wks | 8 | ||||
| -rw-r--r-- | scripts/lib/wic/canned-wks/sdimage-bootpart.wks | 6 | ||||
| -rw-r--r-- | scripts/lib/wic/canned-wks/systemd-bootdisk.wks | 11 |
14 files changed, 0 insertions, 131 deletions
diff --git a/scripts/lib/wic/canned-wks/common.wks.inc b/scripts/lib/wic/canned-wks/common.wks.inc deleted file mode 100644 index 89880b417b..0000000000 --- a/scripts/lib/wic/canned-wks/common.wks.inc +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | # This file is included into 3 canned wks files from this directory | ||
| 2 | part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024 | ||
| 3 | part / --source rootfs --use-uuid --fstype=ext4 --label platform --align 1024 | ||
diff --git a/scripts/lib/wic/canned-wks/directdisk-bootloader-config.cfg b/scripts/lib/wic/canned-wks/directdisk-bootloader-config.cfg deleted file mode 100644 index c58e74a853..0000000000 --- a/scripts/lib/wic/canned-wks/directdisk-bootloader-config.cfg +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | # This is an example configuration file for syslinux. | ||
| 2 | TIMEOUT 50 | ||
| 3 | ALLOWOPTIONS 1 | ||
| 4 | SERIAL 0 115200 | ||
| 5 | PROMPT 0 | ||
| 6 | |||
| 7 | UI vesamenu.c32 | ||
| 8 | menu title Select boot options | ||
| 9 | menu tabmsg Press [Tab] to edit, [Return] to select | ||
| 10 | |||
| 11 | DEFAULT Graphics console boot | ||
| 12 | |||
| 13 | LABEL Graphics console boot | ||
| 14 | KERNEL /vmlinuz | ||
| 15 | APPEND label=boot rootwait | ||
| 16 | |||
| 17 | LABEL Serial console boot | ||
| 18 | KERNEL /vmlinuz | ||
| 19 | APPEND label=boot rootwait console=ttyS0,115200 | ||
| 20 | |||
| 21 | LABEL Graphics console install | ||
| 22 | KERNEL /vmlinuz | ||
| 23 | APPEND label=install rootwait | ||
| 24 | |||
| 25 | LABEL Serial console install | ||
| 26 | KERNEL /vmlinuz | ||
| 27 | APPEND label=install rootwait console=ttyS0,115200 | ||
diff --git a/scripts/lib/wic/canned-wks/directdisk-bootloader-config.wks b/scripts/lib/wic/canned-wks/directdisk-bootloader-config.wks deleted file mode 100644 index 3529e05c87..0000000000 --- a/scripts/lib/wic/canned-wks/directdisk-bootloader-config.wks +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | # short-description: Create a 'pcbios' direct disk image with custom bootloader config | ||
| 2 | # long-description: Creates a partitioned legacy BIOS disk image that the user | ||
| 3 | # can directly dd to boot media. The bootloader configuration source is a user file. | ||
| 4 | |||
| 5 | include common.wks.inc | ||
| 6 | |||
| 7 | bootloader --configfile="directdisk-bootloader-config.cfg" | ||
| 8 | |||
diff --git a/scripts/lib/wic/canned-wks/directdisk-gpt.wks b/scripts/lib/wic/canned-wks/directdisk-gpt.wks deleted file mode 100644 index 8d7d8de6ea..0000000000 --- a/scripts/lib/wic/canned-wks/directdisk-gpt.wks +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | # short-description: Create a 'pcbios' direct disk image | ||
| 2 | # long-description: Creates a partitioned legacy BIOS disk image that the user | ||
| 3 | # can directly dd to boot media. | ||
| 4 | |||
| 5 | |||
| 6 | part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024 | ||
| 7 | part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid | ||
| 8 | |||
| 9 | bootloader --ptable gpt --timeout=0 --append="rootwait rootfstype=ext4 video=vesafb vga=0x318 console=tty0 console=ttyS0,115200n8" | ||
| 10 | |||
diff --git a/scripts/lib/wic/canned-wks/directdisk-multi-rootfs.wks b/scripts/lib/wic/canned-wks/directdisk-multi-rootfs.wks deleted file mode 100644 index f61d941d6d..0000000000 --- a/scripts/lib/wic/canned-wks/directdisk-multi-rootfs.wks +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 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. | ||
| 4 | # | ||
| 5 | # Partitions can use either | ||
| 6 | # - indirect rootfs references to image recipe(s): | ||
| 7 | # wic create directdisk-multi-indirect-recipes -e core-image-minimal \ | ||
| 8 | # --rootfs-dir rootfs1=core-image-minimal | ||
| 9 | # --rootfs-dir rootfs2=core-image-minimal-dev | ||
| 10 | # | ||
| 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/ | ||
| 15 | # | ||
| 16 | # - or any combinations of -r and --rootfs command line options | ||
| 17 | |||
| 18 | part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024 | ||
| 19 | part / --source rootfs --rootfs-dir=rootfs1 --ondisk sda --fstype=ext4 --label platform --align 1024 | ||
| 20 | part /rescue --source rootfs --rootfs-dir=rootfs2 --ondisk sda --fstype=ext4 --label secondary --align 1024 | ||
| 21 | |||
| 22 | bootloader --timeout=0 --append="rootwait rootfstype=ext4 video=vesafb vga=0x318 console=tty0 console=ttyS0,115200n8" | ||
| 23 | |||
diff --git a/scripts/lib/wic/canned-wks/directdisk.wks b/scripts/lib/wic/canned-wks/directdisk.wks deleted file mode 100644 index 8c8e06b02c..0000000000 --- a/scripts/lib/wic/canned-wks/directdisk.wks +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | # short-description: Create a 'pcbios' direct disk image | ||
| 2 | # long-description: Creates a partitioned legacy BIOS disk image that the user | ||
| 3 | # can directly dd to boot media. | ||
| 4 | |||
| 5 | include common.wks.inc | ||
| 6 | |||
| 7 | bootloader --timeout=0 --append="rootwait rootfstype=ext4 video=vesafb vga=0x318 console=tty0 console=ttyS0,115200n8" | ||
| 8 | |||
diff --git a/scripts/lib/wic/canned-wks/efi-bootdisk.wks.in b/scripts/lib/wic/canned-wks/efi-bootdisk.wks.in deleted file mode 100644 index 2fd286ff98..0000000000 --- a/scripts/lib/wic/canned-wks/efi-bootdisk.wks.in +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | bootloader --ptable gpt | ||
| 2 | part /boot --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/boot --fstype=vfat --label boot --active --align 1024 --use-uuid --overhead-factor 1.1 | ||
| 3 | part / --source rootfs --fstype=ext4 --label root --align 1024 --exclude-path boot/ | ||
diff --git a/scripts/lib/wic/canned-wks/mkefidisk.wks b/scripts/lib/wic/canned-wks/mkefidisk.wks deleted file mode 100644 index 9f534fe184..0000000000 --- a/scripts/lib/wic/canned-wks/mkefidisk.wks +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | # short-description: Create an EFI disk image | ||
| 2 | # long-description: Creates a partitioned EFI disk image that the user | ||
| 3 | # can directly dd to boot media. | ||
| 4 | |||
| 5 | part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024 | ||
| 6 | |||
| 7 | part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid | ||
| 8 | |||
| 9 | part swap --ondisk sda --size 44 --label swap1 --fstype=swap | ||
| 10 | |||
| 11 | bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 console=ttyS0,115200 console=tty0" | ||
diff --git a/scripts/lib/wic/canned-wks/mkhybridiso.wks b/scripts/lib/wic/canned-wks/mkhybridiso.wks deleted file mode 100644 index 48c5ac4791..0000000000 --- a/scripts/lib/wic/canned-wks/mkhybridiso.wks +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | # short-description: Create a hybrid ISO image | ||
| 2 | # long-description: Creates an EFI and legacy bootable hybrid ISO image | ||
| 3 | # which can be used on optical media as well as USB media. | ||
| 4 | |||
| 5 | part /boot --source isoimage-isohybrid --sourceparams="loader=grub-efi,image_name=HYBRID_ISO_IMG" --ondisk cd --label HYBRIDISO | ||
| 6 | |||
| 7 | bootloader --timeout=15 --append="" | ||
diff --git a/scripts/lib/wic/canned-wks/qemuloongarch.wks b/scripts/lib/wic/canned-wks/qemuloongarch.wks deleted file mode 100644 index 8465c7a8c0..0000000000 --- a/scripts/lib/wic/canned-wks/qemuloongarch.wks +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | # short-description: Create qcow2 image for LoongArch QEMU machines | ||
| 2 | |||
| 3 | part / --source rootfs --fstype=ext4 --label root --align 4096 --size 5G | ||
diff --git a/scripts/lib/wic/canned-wks/qemuriscv.wks b/scripts/lib/wic/canned-wks/qemuriscv.wks deleted file mode 100644 index 12c68b7069..0000000000 --- a/scripts/lib/wic/canned-wks/qemuriscv.wks +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | # short-description: Create qcow2 image for RISC-V QEMU machines | ||
| 2 | |||
| 3 | part / --source rootfs --fstype=ext4 --label root --align 4096 --size 5G | ||
diff --git a/scripts/lib/wic/canned-wks/qemux86-directdisk.wks b/scripts/lib/wic/canned-wks/qemux86-directdisk.wks deleted file mode 100644 index 808997611a..0000000000 --- a/scripts/lib/wic/canned-wks/qemux86-directdisk.wks +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | # short-description: Create a qemu machine 'pcbios' direct disk image | ||
| 2 | # long-description: Creates a partitioned legacy BIOS disk image that the user | ||
| 3 | # can directly use to boot a qemu machine. | ||
| 4 | |||
| 5 | include common.wks.inc | ||
| 6 | |||
| 7 | bootloader --timeout=0 --append="rw oprofile.timer=1 rootfstype=ext4 console=tty console=ttyS0 " | ||
| 8 | |||
diff --git a/scripts/lib/wic/canned-wks/sdimage-bootpart.wks b/scripts/lib/wic/canned-wks/sdimage-bootpart.wks deleted file mode 100644 index 63bc4dab6a..0000000000 --- a/scripts/lib/wic/canned-wks/sdimage-bootpart.wks +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | # short-description: Create SD card image with a boot partition | ||
| 2 | # long-description: Creates a partitioned SD card image. Boot files | ||
| 3 | # are located in the first vfat partition. | ||
| 4 | |||
| 5 | part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --size 16 | ||
| 6 | part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4 | ||
diff --git a/scripts/lib/wic/canned-wks/systemd-bootdisk.wks b/scripts/lib/wic/canned-wks/systemd-bootdisk.wks deleted file mode 100644 index 95d7b97a60..0000000000 --- a/scripts/lib/wic/canned-wks/systemd-bootdisk.wks +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | # short-description: Create an EFI disk image with systemd-boot | ||
| 2 | # long-description: Creates a partitioned EFI disk image that the user | ||
| 3 | # can directly dd to boot media. The selected bootloader is systemd-boot. | ||
| 4 | |||
| 5 | part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024 --use-uuid | ||
| 6 | |||
| 7 | part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid | ||
| 8 | |||
| 9 | part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid | ||
| 10 | |||
| 11 | bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=ttyS0,115200 console=tty0" | ||
