-----BEGIN PGP SIGNED MESSAGE-----
On Wed, 26 Mar 2014 09:15:57 +0000
Gordan Bobic <gordan(a)bobich.net> wrote:
On 2014-03-26 07:38, Peter TB Brett wrote:
> I'd like to build a new armv7hl image that includes the latest
> packages from updates-stable, so that I can directly create an SD
> card that can boot
> our various Pandaboards.
> I tried searching around the Fedora wiki and with Google, but I
> didn't find
> anything that looked like a HOWTO for this. Maybe I'm not looking
> for the
> right search terms. Can you please point me in the direction of
> some docs
> that'll help me with this?
You can do two things:
1) Starting with an existing image, do the following:
mount /path/to/existing.img /mnt
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
Then create a .repo file in /etc/yum.repos.d/ for the repository you
want to include if it isn't already there, and do
yum install <extra packages you want to install>
Please don't do this. by default the fedora images have the updates
repo installed and enabled so you do not need to create a .repo file.
it is just plain ugly and the instructions are incomplete anyway.
2) Starting from scratch, you can do:
yum --installroot=/path/to/new/rootfs/subdirectory \
glibc filesystem coreutils initscripts \
<plus any other packages you want in your image>
This is the completely wrong way to go about doing things
you should use appliance-creator which is part of the appliance-tools
package and a kickstart file. you can work with what is in
spin-kickstarts package as a great starting point.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-----END PGP SIGNATURE-----