2010-06-21 23:39:52 +00:00
|
|
|
$ su
|
|
|
|
|
|
|
|
# ./fedorize_image fedorized_images/f13-x64-root.img clean_images/packages-appvm.list
|
|
|
|
|
2010-06-30 11:03:23 +00:00
|
|
|
# ./qubeize_image_appvm fedorized_images/f13-x64-root.img linux-x64
|
|
|
|
|
2010-06-21 23:39:52 +00:00
|
|
|
# kpartx -a qubeized_images/linux-x64-root.img
|
|
|
|
# mount /dev/mapper/loop0p1 mnt/
|
2010-06-30 11:03:23 +00:00
|
|
|
# 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
|
|
|
|
#
|
2010-06-21 23:39:52 +00:00
|
|
|
# cd vm_kernels_appvm
|
2010-06-30 11:03:23 +00:00
|
|
|
# ../../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
|
2010-06-21 23:39:52 +00:00
|
|
|
|
|
|
|
# exit
|
|
|
|
|
|
|
|
$ ./build_template_rpm linux-x64
|