Re: Remix image generation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> For now I'm trying to replicate fedora-arm-minimal, and there are no changes
> that I've added. I'm trying to build for aarch64, given that appliance-tools
> isn't supported on that platform I'll take a look at image-factory.

You'll need an aarch64 machine that can run virt to build the image with
image-factory, sadly the rpi3 isnt up to the task. If you don't have access to 
enterprise hardware you might be able to use Amazons a1.metal option.

Found an article from Fedora Magazine that should cover the process for you[1].
Though its for docker images you can adapt it to build a disk image using an
example task in koji[2] for the tdl-aarch64.xml[3] (edited where needed).


Paul

[1] - https://fedoramagazine.org/building-fedora-rawhide-images-imagefactory/
[2] - https://koji.fedoraproject.org/koji/taskinfo?taskID=38803624
[3] - https://kojipkgs.fedoraproject.org//work/tasks/3624/38803624/tdl-aarch64.xml


> 
> On Fri, Nov 8, 2019 at 2:25 PM Peter Robinson <pbrobinson@xxxxxxxxx> wrote:
> >
> > On Fri, Nov 8, 2019 at 7:19 PM Christopher Odom
> > <christopher.r.odom@xxxxxxxxx> wrote:
> > >
> > > Hey Paul,
> > >
> > > The appliance-tools image I made gets stuck on a black screen
> > > at startup. I'm using a raspberry pi 3b, and we've been building
> > > these images inside of mock chroots natively on the rpi.
> >
> > Do you have a serial console? A "black screen on start up" could be a
> > 100 different things.
> >
> > What are you "remixing", what changes are you adding, you also don't
> > mention whether you're build aarch64 or armv7 (armhfp) images. For
> > aarch64 appliance-tools isn't supported, you'll need to use
> > image-factory.
> >
> > > ~Christopher Odom
> > >
> > > On Fri, Nov 8, 2019 at 1:26 PM Paul Whalen <pwhalen@xxxxxxxxxx> wrote:
> > > >
> > > > Hi Christopher,
> > > >
> > > > For armhfp we use appliance-tools, for aarch64 image-factory.
> > > >
> > > > What happened when you tried to boot the image made using
> > > > appliance-tools?
> > > >
> > > > Paul
> > > >
> > > > ----- Original Message -----
> > > > > Any updates on this? I found a bunch of Koji build configs, but I'm
> > > > > not exactly sure how to replicate them.
> > > > >
> > > > > On Fri, Nov 1, 2019 at 11:56 AM Christopher Odom
> > > > > <christopher.r.odom@xxxxxxxxx> wrote:
> > > > > >
> > > > > > Hello,
> > > > > >
> > > > > > I'm currently in the process of trying to generate a new image with
> > > > > > some
> > > > > > custom kickstarts for the raspberry pi. I'm basing these off of the
> > > > > > fedora-arm-minimal kickstart and I've sunk a bunch of time chasing
> > > > > > anaconda errors, I'm wondering if anyone has any insight into what
> > > > > > I might
> > > > > > be doing wrong? Here's the output from livemedia-creator:
> > > > > >
> > > > > > ```
> > > > > > <mock-chroot> sh-5.0# . ./generate_raw_xz.sh flat-fedora.ks 30
> > > > > > 2019-11-01 10:45:51,965: livemedia-creator v30.19-1
> > > > > > 2019-11-01 10:45:51,967: selinux is Disabled
> > > > > > 2019-11-01 10:45:52,642: disk_img = /var/lmc/lmc-disk-_fnubs4g.img
> > > > > > 2019-11-01 10:45:52,643: Using disk size of 1994MiB
> > > > > > 2019-11-01 10:45:52,648: Running anaconda.
> > > > > > 2019-11-01 10:46:06,824: Starting installer, one moment...
> > > > > > 2019-11-01 10:46:06,826: terminal size detection failed, using
> > > > > > default
> > > > > > width
> > > > > > 2019-11-01 10:46:06,827: anaconda 30.25.6-4.fc30 for Linux 29
> > > > > > (pre-release)
> > > > > > started.
> > > > > > 2019-11-01 10:46:06,828: /var/run/anaconda.pid already exists,
> > > > > > exiting
> > > > > > 2019-11-01 10:46:07,324: Running anaconda failed: process
> > > > > > '['unshare',
> > > > > > '--pid', '--kill-child', '--mount', '--propagation', 'unchanged',
> > > > > > 'anaconda', '--kickstart',
> > > > > > '/home/rpi/fedora-kickstarts/flat-fedora.ks',
> > > > > > '--cmdline', '--loglevel', 'debug', '--image',
> > > > > > '/var/lmc/lmc-disk-_fnubs4g.img', '--remotelog',
> > > > > > '127.0.0.1:58155']'
> > > > > > exited with status 1
> > > > > > 2019-11-01 10:46:52,779: Install failed: novirt_install failed
> > > > > > 2019-11-01 10:46:52,781: ERROR: Image creation failed:
> > > > > > novirt_install
> > > > > > failed
> > > > > > 2019-11-01 10:46:52,782: Image creation failed: novirt_install
> > > > > > failed
> > > > > > <mock-chroot> sh-5.0#
> > > > > > ```
> > > > > >
> > > > > > I've also looked at other ways of going about this process
> > > > > > including:
> > > > > > https://fedoraproject.org/wiki/Architectures/ARM/Creating_Remixes
> > > > > > Which produced an image, but I wasn't able to get it to boot.
> > > > > >
> > > > > > ~Christopher Odom
> > > > > _______________________________________________
> > > > > arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
> > > > > To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
> > > > > Fedora Code of Conduct:
> > > > > https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > > > > List Guidelines:
> > > > > https://fedoraproject.org/wiki/Mailing_list_guidelines
> > > > > List Archives:
> > > > > https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx
> > > > >
> > > >
> > > _______________________________________________
> > > arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
> > > To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
> > > Fedora Code of Conduct:
> > > https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> > > List Archives:
> > > https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx
> 
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux