install

installer
Log | Files | Refs | README | LICENSE | git clone https://git.ne02ptzero.me/git/install

commit 55882f289185027394b3998e1d7830fecafa1992
parent 460b6e552b409ac6a6e9483ffbc2e338c63d7c84
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Mon, 12 Dec 2016 20:02:27 +0100

Fix(Comments)

Diffstat:
Mscreens/install/install.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/screens/install/install.py b/screens/install/install.py @@ -687,6 +687,7 @@ class Install: self.exec(["mkdir", "-pv", path + "usr/local/games"]) self.exec(["mkdir", "-pv", path + "usr/share/games"]) + # This function does links vital to compilation def links(self): self.exec(["ln", "-sv", "/tools/bin/{bash,cat,echo,pwd,stty}", "/bin"], shell=True) self.exec(["ln", "-sv", "/tools/bin/perl", "/usr/bin"]) @@ -696,6 +697,7 @@ class Install: self.exec(["ln", "-sv", "bash", "/bin/sh"]) self.exec(["ln", "-sv", "/proc/self/mounts", "/etc/mtab"]) + # This function create basic files for login programs def login_links(self, path = "/"): self.exec(["touch", path + "var/log/{btmp,lastlog,faillog,wtmp}"], shell=True) self.exec(["chgrp", "-v", "utmp", path + "var/log/lastlog"])