$ su # ./fedorize_image fedorized_images/f13-x64-root.img clean_images/packages-appvm.list # ./qubeize_image_appvm fedorized_images/f13-x64-root.img linux-x64 # kpartx -a qubeized_images/linux-x64-root.img # mount /dev/mapper/loop0p1 mnt/ # cp mnt/boot/vmlinuz-2.6.32.14-1.2.105a.pvops0.qubes.x86_64 mnt/boot/initramfs-2.6.32.14-1.2.105a.pvops0.qubes.x86_64.img vm_kernels_appvm/ # umount mnt/ # kpartx -d qubeized_images/linux-x64-root.img # # cd vm_kernels_appvm # ../../core/dom0/aux-tools/patch_appvm_initramfs.sh initramfs-2.6.32.14-1.2.105a.pvops0.qubes.x86_64.img initramfs-2.6.32.14-1.2.105a.pvops0.qubes.x86_64.qubeized.img `pwd`/../vm_initramfs_patches/qubes_cow_setup.sh # ln -sf initramfs-2.6.32.14-1.2.105a.pvops0.qubes.x86_64.qubeized.img initramfs # ln -sf vmlinuz-2.6.32.14-1.2.105a.pvops0.qubes.x86_64 vmlinuz # exit $ ./build_template_rpm linux-x64