Add bashlogin from gentoo livecd-tools package.

master3.3
Mike Hiretsky 13 years ago
parent ef41f6f309
commit 2e8cea20a5

@ -0,0 +1,7 @@
#!/bin/bash
export HOME=/root
cat /etc/motd 2>/dev/null
cd /root
[[ -e .bash_profile ]] && source .bash_profile
exec -l /bin/bash -i

@ -31,7 +31,8 @@ share_calculate_dir = "/usr/share/calculate"
data_dirs_share = ['i18n']
data_files += [('/etc/init.d', ['data/calculate']),
('/usr/share/calculate/doc', ['data/handbook-en.html',
'data/handbook-ru.html'])]
'data/handbook-ru.html']),
('/bin',['data/bashlogin'])]
#template_calculate_dir = os.path.join(share_calculate_dir, "templates")
#template_replace_dirname = "install"
@ -75,7 +76,8 @@ class cl_install_data(install_data):
def run (self):
install_data.run(self)
#data_file = [("/etc/init.d/calculate-2.2",0755)]
data_file = [("/etc/init.d/calculate",0755)]
data_file = [("/etc/init.d/calculate",0755),
("/bin/bashlogin",0755)]
fileNames = map(lambda x: os.path.split(x[0])[1], data_file)
listNames = map(lambda x: filter(lambda y: y, x[0].split("/")),
data_file)

Loading…
Cancel
Save