Skip to content

Instantly share code, notes, and snippets.

@netskink
Created January 20, 2017 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save netskink/08277765c898333ecd093141aa573e12 to your computer and use it in GitHub Desktop.
Save netskink/08277765c898333ecd093141aa573e12 to your computer and use it in GitHub Desktop.
$ wic create orionlx-plus-sata-fit-overlay -e orion-headless-image
Checking basic build environment...
Done.
Creating image(s)...
Warning: bootloader config not specified, using defaults
Error: Partition internal size is not an integer. This a bug in source plugin rawrootfs and needs to be fixed.
davis@smeagol:/opt/ibuild/setup-scripts$
part "" --source bootimg-partition --fstype=ext4 --label boot --active --align 4096 --size 64
part "" --source rawrootfs --fstype=ext4 --size 1400M --label rootfs.ro --align 4096
part "" --source rawrootfs --fstype=ext4 --size 1400M --label rootfs.ro2 --align 4096
# This will need to be increased to fit the size of the disk used in production
part "" --fstype=ext4 --size 512M --label rootfs.rw --align 4096
part "" --source orionlx-plus-initramfs --active --align 1024
part "" --source rootfs --fstype=ext4 --align 1024
part "" --fstype=ext4 --size 512M --align 1024
bootloader --timeout=0 --append="lowerdev=/dev/disk/by-path/pci-0000:00:13.0-ata-1-part2 upperdev=/dev/disk/by-path/pci-0000:00:13.0-ata-1-part3 video=vesafb vga=0x318 console=ttyS0,115200n8 console=tty0 ima_tcb ima_appraise=enforce"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment