r1k0 / kigen

a decent Python3 Kernel|Initramfs generator for Portage (Gentoo/Funtoo/Sabayon/Exherbo/VidaLinux/Calculate)
1 stars 0 forks source link

kigen initramfs fails with python-3.2 only #5

Closed r1k0 closed 13 years ago

r1k0 commented 13 years ago

z13 ~ # kigen i

happens with python-3.2. python-3.1.* is fine though.

r1k0 commented 13 years ago

fix:

z13 ~ # diff /usr/lib/python3.1/site-packages/kigen/modules/utils/process.py /usr/lib/python3.2/site-packages/kigen/modules/utils/process.py 29c29 < p2 = subprocess.Popen(cmdlines[1], stdin=p1.stdout, stderr=p1.stdout)#, close_fds=True)

p2 = subprocess.Popen(cmdlines[1], stdin=p1.stdout)#, stderr=p1.stdout) #, close_fds=True)

z13 ~ #

r1k0 commented 13 years ago

committed