Make the install parts of morphs run as sudo
authorRichard Maw <richard.maw@codethink.co.uk>
Thu, 8 Dec 2011 08:33:37 +0000 (08:33 +0000)
committerRichard Maw <richard.maw@codethink.co.uk>
Thu, 8 Dec 2011 09:56:29 +0000 (09:56 +0000)
commit007f2e556796f749ab24d79106cd0f1da46b00c3
treee80221342522d9f5b0d7ab361143004461d06965
parent38d6f5c1b3cb4890d105fdda07f87e0f78522e21
Make the install parts of morphs run as sudo
Then fix all the places where this broke things because they didn't have
the required permissions.
This is a potential security risk of course, it would be preferable if
the install commands were run in a fakeroot session and only the final
image building was run as root, but it needs to work first
morph
morphlib/bins.py
morphlib/builder.py
morphlib/execute.py