You are not logged in.

#1 2011-06-08 12:17:01

cuihao
Member
Registered: 2011-03-19
Posts: 27

Python implementation of initrd's INIT script

I translated Arch's /lib/initcpio/init into Python3:
http://pastebin.com/K6M3pFim

And use this hook instead of default base hook to build initrd file (I deleted some python modules, but there are still too many no-use):
http://pastebin.com/hu1PCbX2

It seems to work well on my VBox visual mechine. ( Just share,  you donot really try it smile )

I plan to rewrite some base system tools in Python, in order to make an "PyLinux" tongue


Forgive my poor English. I am a senior student from China.

Offline

Board footer

Powered by FluxBB