To create a disk image remix for Fedora you will need to run 'Appliance-Tools' on an ARM host. For those without ARM hardware, this can be completed using QEMU and A15 emulation which can utilize more RAM. If you have ARM hardware you can safely ignore the QEMU portions.

To create a disk image remix for Fedora you will need to run 'Appliance-Tools' on an ARM host. For those without ARM hardware, this can be completed using QEMU and A15 emulation which can utilize more RAM. If you have ARM hardware you can safely ignore the QEMU portions.

−

=== Download the Fedora 20 Disk Image ===

+

=== Download the Fedora 24 Disk Image ===

−

First download the Minimal disk image for Fedora 20 and unpack.

+

First download the Minimal disk image for Fedora 24 (at the moment beta) and unpack it.

Complete the initial setup on the first boot, login in as root, and enlarge the filesystem to consume the previously expanded disk space.

Complete the initial setup on the first boot, login in as root, and enlarge the filesystem to consume the previously expanded disk space.

Line 40:

Line 39:

These are packages not in Fedora, for remixes this usually includes the kernel package but can also include other software you would like to add. If you are adding a custom kernel package it is recommended you add the Fedora kernel as an exclusion (ie - 'exclude=kernel*)' in the yum.conf.

These are packages not in Fedora, for remixes this usually includes the kernel package but can also include other software you would like to add. If you are adding a custom kernel package it is recommended you add the Fedora kernel as an exclusion (ie - 'exclude=kernel*)' in the yum.conf.

−

mkdir -p yum/f20/{armhfp,SRPMS}

+

mkdir -p yum/f24/{armhfp,SRPMS}

Add packages to be included in the Remix, and run 'createrepo' to create repomd files.

Add packages to be included in the Remix, and run 'createrepo' to create repomd files.

−

createrepo yum/f20/armhfp/

+

createrepo yum/f24/armhfp/

−

createrepo yum/f20/SRPMS/

+

createrepo yum/f24/SRPMS/

Copy files to your people account

Copy files to your people account

−

scp -r yum $USER@fedorapeople.org:/public_html/

+

scp -r yum $USER@fedorapeople.org:~/public_html/

=== Customize your kickstart ===

=== Customize your kickstart ===

−

A kickstart has been provided that was used to create a respin of Fedora 20 for the Pandaboard. You will minimally need to edit this and add your own repository URL and software to be installed. If you are adding software that is not in the official Fedora repositories you will also need to uncomment the section to remove the fedora-release-notes and fedora-logos packages, adding the alternate generic-release-notes and generic-logos. This example kickstart includes the XFCE desktop.

+

A kickstart has been provided that was used to create a respin of Fedora 20 for the Pandaboard. You will minimally need to edit this and add your own repository URL and software to be installed.<b> If you are adding software that is not in the official Fedora repositories you will also need to uncomment the section to remove the fedora-release-notes and fedora-logos packages, adding the alternate generic-release-notes and generic-logos</b>. This example kickstart includes the XFCE desktop.

Creating a Fedora Remix for ARM

Fedora Guidelines

Using Appliance-Tools on an ARM Host

To create a disk image remix for Fedora you will need to run 'Appliance-Tools' on an ARM host. For those without ARM hardware, this can be completed using QEMU and A15 emulation which can utilize more RAM. If you have ARM hardware you can safely ignore the QEMU portions.

Download the Fedora 24 Disk Image

First download the Minimal disk image for Fedora 24 (at the moment beta) and unpack it.

Complete the initial setup on the first boot, login in as root, and enlarge the filesystem to consume the previously expanded disk space.

resize2fs /dev/mmcblk0

Create a Repository for Remix Packages

These are packages not in Fedora, for remixes this usually includes the kernel package but can also include other software you would like to add. If you are adding a custom kernel package it is recommended you add the Fedora kernel as an exclusion (ie - 'exclude=kernel*)' in the yum.conf.

mkdir -p yum/f24/{armhfp,SRPMS}

Add packages to be included in the Remix, and run 'createrepo' to create repomd files.

createrepo yum/f24/armhfp/
createrepo yum/f24/SRPMS/

Copy files to your people account

scp -r yum $USER@fedorapeople.org:~/public_html/

Customize your kickstart

A kickstart has been provided that was used to create a respin of Fedora 20 for the Pandaboard. You will minimally need to edit this and add your own repository URL and software to be installed. If you are adding software that is not in the official Fedora repositories you will also need to uncomment the section to remove the fedora-release-notes and fedora-logos packages, adding the alternate generic-release-notes and generic-logos. This example kickstart includes the XFCE desktop.

This will create a compressed disk image in the folder '/root/app-output/$REMIXNAME/$REMIXNAME-sda.raw.xz'. This can be written to an SD card with

xzcat -v $REMIXNAME-sda.raw.xz > /dev/<location-of-your-media>

Prior to booting your device you will need to work out the details need - what the default boot file is, the command executed and load addresses to be used. If you would like supported added for your board in 'Arm-Boot-Config' please file a bugzilla with a 'printenv' of the default environmental variables in the version of U-Boot for your device.