<div>Hi Artem,</div><div><br></div><div>Did you use your own tmpl file? (e.g.: tweaked the packages that should be installed...)</div><div>It seems requires dnf in the repo when you build the iso on fedora. However it do seems that I can't find dnf in centos' repo.</div><div><br></div><div>```</div><div><div>[root@87d2d5f6b21b ~]# lorax -p CentOS -v 7 -r 7 -s http://mirror.centos.org/altarch/7/os/aarch64/ -s http://mirror.centos.org/altarch/7/updates/aarch64/  myiso</div><div>2017-07-20 03:23:19,207: Added 'lorax-repo-0': http://mirror.centos.org/altarch/7/os/aarch64/</div><div>2017-07-20 03:23:19,207: Fetching metadata...</div><div>2017-07-20 03:23:19,882: Added 'lorax-repo-1': http://mirror.centos.org/altarch/7/updates/aarch64/</div><div>2017-07-20 03:23:19,882: Fetching metadata...</div><div>2017-07-20 03:23:24,655: checking for root privileges</div><div>checking for root privileges</div><div>2017-07-20 03:23:24,655: checking the selinux mode</div><div>checking the selinux mode</div><div>2017-07-20 03:23:24,656: checking dnf base object</div><div>checking dnf base object</div><div>2017-07-20 03:23:24,659: setting up build architecture</div><div>setting up build architecture</div><div>2017-07-20 03:23:24,660: setting up build parameters</div><div>setting up build parameters</div><div>2017-07-20 03:23:24,662: Using templatedir /usr/share/lorax/templates.d/99-generic</div><div>Using templatedir /usr/share/lorax/templates.d/99-generic</div><div>2017-07-20 03:23:24,662: installing runtime packages</div><div>installing runtime packages</div><div>2017-07-20 03:23:25,045: got release: centos-release</div><div>got release: centos-release</div><div>2017-07-20 03:23:25,089: running runtime-install.tmpl</div><div>running runtime-install.tmpl</div><div>2017-07-20 03:23:25,104: installpkg dnf failed: no package matched</div><div>installpkg dnf failed: no package matched</div><div>2017-07-20 03:23:25,105: template command error in runtime-install.tmpl:</div><div>template command error in runtime-install.tmpl:</div><div>2017-07-20 03:23:25,105:   installpkg dnf</div><div>  installpkg dnf</div><div>2017-07-20 03:23:25,106:   Exception: Required installpkg failed.</div><div>  Exception: Required installpkg failed.</div><div>Traceback (most recent call last):</div><div>  File "/usr/sbin/lorax", line 273, in <module></div><div>    main()</div><div>  File "/usr/sbin/lorax", line 133, in main</div><div>    remove_temp=True, verify=opts.verify)</div><div>  File "/usr/lib/python3.5/site-packages/pylorax/__init__.py", line 277, in run</div><div>    rb.install()</div><div>  File "/usr/lib/python3.5/site-packages/pylorax/treebuilder.py", line 119, in install</div><div>    self._runner.run("runtime-install.tmpl")</div><div>  File "/usr/lib/python3.5/site-packages/pylorax/ltmpl.py", line 220, in run</div><div>    self._run(commands)</div><div>  File "/usr/lib/python3.5/site-packages/pylorax/ltmpl.py", line 239, in _run</div><div>    f(*args)</div><div>  File "/usr/lib/python3.5/site-packages/pylorax/ltmpl.py", line 580, in installpkg</div><div>    raise Exception("Required installpkg failed.")</div><div>Exception: Required installpkg failed.</div></div><div>```</div><div><includetail><div> </div><div>Thanks a lot!</div><div><br></div><div>BR,</div><div>Madper</div><div> </div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b> "Artem Bityutskiy"<dedekind1@gmail.com>;</div><div><b>Date: </b> Thu, Jul 20, 2017 00:32 AM</div><div><b>To: </b> "Discussion list about Kickstart"<kickstart-list@redhat.com>; <wbr></div><div></div><div><b>Subject: </b> Re: Howto create installation image.</div></div><div> </div>On Wed, 2017-07-19 at 22:47 +0800, Madper wrote:<br>> Hey guys,<br>> <br>> I'm trying to port centos7 to our arm64 server. My goal is creating<br>> an installation image which execs anaconda directly after boot. <br>> Currently, I'm using `livemedia-creator --make-iso --no-virt --ks<br>> centos.ks`[1] on an arm64 centos docker. The livemedia-creator is<br>> cloned from lorax git tree.(rhel7-branch)<br><br>Hi,<br><br>I successfully used lorax.<br><br>I used it in Fedora, but you can build CentOS images in Fedora if you<br>point loarax to Centos repos.<br><br>I used something like this:<br><br>lorax -p CentOS -v 7 -r 7 -s URL1 -s URL2 results<br><br>where<br>* URL1 - the base CentOS7 repo<br>* URL2 - the updates repo<br><br>HTH,<br>Artem.<br><br>_______________________________________________<br>Kickstart-list mailing list<br>Kickstart-list@redhat.com<br>https://www.redhat.com/mailman/listinfo/kickstart-list</div><!--<![endif]--></includetail></div>