Description of problem: composing f19 or rawhide with pungi Version-Release number of selected component: pungi-2.13-1.fc18 Additional info: cmdline: /usr/bin/python -tt /bin/pungi -c fedora-install-fedora.ks --destdir=/home/pungi/fedora --cachedir=/home/pungi/cache --name Fedora --ver rawhide --nosource -B --force dso_list: lorax-18.31-1.fc18.x86_64 executable: /bin/pungi kernel: 3.8.3-201.fc18.x86_64 uid: 0 Truncated backtrace: base.py:61:__getattr__:KeyError: 'initrd' Traceback (most recent call last): File "/bin/pungi", line 256, in <module> main() File "/bin/pungi", line 146, in main mypungi.doBuildinstall() File "/usr/lib/python2.7/site-packages/pypungi/__init__.py", line 937, in doBuildinstall workdir=workdir, outputdir=outputdir) File "/usr/lib/python2.7/site-packages/pylorax/__init__.py", line 285, in run treebuilder.rebuild_initrds(add_args=anaconda_args) File "/usr/lib/python2.7/site-packages/pylorax/treebuilder.py", line 207, in rebuild_initrds outfile = kernel.initrd.path File "/usr/lib/python2.7/site-packages/pylorax/base.py", line 61, in __getattr__ return self[attr] KeyError: 'initrd' Local variables in innermost frame: self: {'path': 'boot/vmlinuz-3.9.0-0.rc2.git0.3.fc20.x86_64', 'flavor': None, 'version': '3.9.0-0.rc2.git0.3.fc20.x86_64', 'arch': 'x86_64'} attr: 'initrd'
Created attachment 712094 [details] File: backtrace
Created attachment 712095 [details] File: core_backtrace
Created attachment 712096 [details] File: environ
Commit http://git.fedorahosted.org/cgit/lorax.git/commit/?id=93c4a8b8308b6506ffd1ec6150f8e7d0421ce894 Raise an error when there are no initrds should fix this bug not in lorax-19.0-1
(In reply to comment #4) > Commit > http://git.fedorahosted.org/cgit/lorax.git/commit/ > ?id=93c4a8b8308b6506ffd1ec6150f8e7d0421ce894 I tried with with patch and got no initrds to rebuild I suspect on this message: Non-fatal POSTTRANS scriptlet failure in rpm package kernel-3.9.0-0.rc2.git0.3.fc19.x86_64
rpm -q kernel --scripts posttrans scriptlet (using /bin/sh): /sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --depmod --update 3.9.0-0.rc2.git0.3.fc19.x86_64 || exit $? /sbin/new-kernel-pkg --package kernel --rpmposttrans 3.9.0-0.rc2.git0.3.fc19.x86_64 || exit $? ls /home/pungi/fedora/work/x86_64/installroot/boot/ config-3.9.0-0.rc2.git0.3.fc19.x86_64 elf-memtest86+-4.20 initrd-plymouth.img System.map-3.9.0-0.rc2.git0.3.fc19.x86_64 efi grub2 memtest86+-4.20 vmlinuz-3.9.0-0.rc2.git0.3.fc19.x86_64
You need to make sure you have the latest dracut and systemd in whatever repo you are using.
I had update abrt.x86_64 and libreport to 2.1.1-1.fc18 (updates-testing) anaconda.x86_64 to 19.11-1.fc18 (local build) dracut.x86_64 to 026-62.git20130319.fc18 (local build) fedup.noarch to 0.7.3-1.fc18 (local build) grubby.x86_64 to 8.23-1.fc18 (local build) libgudev1.x86_64 and systemd.x86_64 198-7.fc18 (local build) lorax.x86_64 from git today 3a1e176cbba85e0e789052044d14a64e1c0a6aa9 (local build) pykickstart.noarch to 1.99.25-1.fc18 (local build) python-blivet.noarch (local build) python-meh.noarch (local build) I still got Exception: No initrds found, cannot rebuild_initrds (In reply to comment #7) > You need to make sure you have the latest dracut and systemd in whatever > repo you are using. how I do that ? I want compose an F19 install iso or images
Make sure you also have the latest systemd. I also use dl.fedoraproject.org as the source so that I don't run into mirror sync issues.
After update anaconda, today, to anaconda-19.12 . It pass this bug and and pungi composed F19 ! Pungi:INFO: Running /usr/bin/isohybrid -u -m /home/pungi/fedora/19/x86_64/iso/Fedora-19-x86_64-DVD.iso Pungi:INFO: Running /usr/bin/implantisomd5 /home/pungi/fedora/19/x86_64/iso/Fedora-19-x86_64-DVD.iso Pungi:INFO: Generating checksum of /home/pungi/fedora/19/x86_64/iso/Fedora-19-x86_64-DVD.iso Pungi:INFO: Generating checksum of /home/pungi/fedora/19/x86_64/iso/Fedora-19-x86_64-netinst.iso Pungi:INFO: CreateIsos is done. All done! Thanks