install

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

commit dafd65711876c4678b3f3e5097c7f13b74fcee48
parent 83d200bd4c47e2dc3cf482c0e34c5c9e381f89c9
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Mon, 12 Dec 2016 19:47:00 +0100

Add(Basic symbolic links)

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

diff --git a/screens/install/install.py b/screens/install/install.py @@ -116,6 +116,7 @@ class Install: self.phase_1_install() self.chroot() self.skeleton() + self.links() self.dlg.msgbox("The installation is finished. Hit 'Enter' to close this dialog and reboot.", title="Success !") # Need reboot here @@ -685,3 +686,12 @@ class Install: ], shell=True) self.exec(["mkdir", "-pv", path + "usr/local/games"]) self.exec(["mkdir", "-pv", path + "usr/share/games"]) + + 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"]) + self.exec(["ln", "-sv", "/tools/lib/libgcc_s.so{,.1}", "/usr/lib"], shell=True) + self.exec(["ln", "-sv", "", "/tools/lib/libstdc++.so{,.6}", "/usr/lib"]) + self.exec(["sed 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la"], shell=True) + self.exec(["ln", "-sv", "bash", "/bin/sh"]) + self.exec(["ln", "-sv", "/proc/self/mounts", "/etc/mtab"])