![]() Sed -i "s/CONFIG_TARGET_ROOTFS_PARTSIZE=.*/CONFIG_TARGET_ROOTFS_PARTSIZE=$ROOTFS_PARTSIZE/g". Sed -i "s/CONFIG_TARGET_KERNEL_PARTSIZE=.*/CONFIG_TARGET_KERNEL_PARTSIZE=$KERNEL_PARTSIZE/g". # list all targets for this image builder, consider 'make help' as well ROOTFS_PARTSIZE=$((5*1024)) #Rootfs-Partitionsize in MB KERNEL_PARTSIZE=$((2*1024)) #Kernel-Partitionsize in MB Here is an example for a ThinClient, which included upgrading it and reinstall the most recent restic package version from head: #!/bin/bash If I want to utilize the capacity of the storage medium I build the images with ImageBuilder. The default size of the rootfs is sufficient for a typical setup. They can be powered off anytime without fearing corrupting the filesystem.upgrading them is just as easy as upgrading an AP/Router with OpenWRT through CLI-command sysupgrade or the GUI approach via LuCI.I like to use the "openwrt-x86-64-generic-squashfs-combined*.gz" for headless x86 machines like ThinClient and VirtualMachine, because:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |