1 For many things, you can quickly iterate without root by doing something like:
3 * uec_tgz="cirros-0.3.1~pre2-x86_64-uec.tar.gz"
5 * initrd=$(echo *-initrd)
6 * cp $initrd $initrd.dist
7 * frev=$(bzr revno) # set to whatever your last image was
9 * cp $initrd.dist $initrd
10 (cd ../cirros/src && bzr status --versioned --short -r $frev |
11 awk '$2 ~ "^src/" {sub("^src/","",$2); print $2}' | cpio -H newc -o ) |
13 * kvm -kernel *-vmlinuz -initrd "$initrd" -append "console=ttyS0" -nographic