Open main menu

CDOT Wiki β

Changes

Pidora 2014 compose

322 bytes added, 16:27, 9 June 2014
no edit summary
# Only use 1 cpu or it crashes(I don't know why...)
* Expand image or add extra space. You will need disk space equal to (pidora composed image size * 2) + pidora chroot size. I used about 20 GB, was enough for multiple composes.
* I used a pidora f17chroot inside the inside the arm qemu image, then installed anaconda and lorax inside the chroot. You can get the packages for pidora f17 chroot through yum or if that is an issue from the pidora koji instance. The pidora f17v6 chroot should already have the packages installed inside it.# [http://japan.proximity.on.ca/pidora-compose/f17v6.tar.gz pidora f17v6 chroot]
# [http://japan.proximity.on.ca/kojifiles/packages/lorax/17.17/1.fc17/armv6hl/lorax-17.17-1.fc17.armv6hl.rpm lorax-17.17-1.fc17]
# [http://japan.proximity.on.ca/kojifiles/packages/anaconda/17.29/1.fc17/armv6hl/anaconda-17.29-1.fc17.armv6hl.rpm anaconda-17.29-1.fc17]
mount -o bind /sys/ /path_to_chroot/f17v6/sys/
mount -o bind /proc/ /path_to_chroot/f17v6/proc/
chroot /path_to_chroot/f17v6/
cd /livemedia/
time livemedia-creator --make-disk --no-virt --image-only --keep-image --ks=custom-kickstart.ks | tee pidora-compose.log
</pre>
* Finally you should now have everything setup to start composing. For more information on how to do a compose for pidora: [[Pidora_SOP#Composing_Images]]
198
edits