410 B
410 B
- download image
- extract image
- enlarge image with 'truncate'
- mount as loopback device
- modify image
- modify partition table with fdisk
- resize partition for rfs
- resize filesystem
- mount boot partition
- make file 'ssh'
- make user config
- remove image resize from config file ~'cmdline.txt'
- mount rootfs partition
- do stuff
- modify partition table with fdisk