projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Deactivate parallel build for some broken packages
[hvlinux.git]
/
stage2
/
install-bootscripts
diff --git
a/stage2/install-bootscripts
b/stage2/install-bootscripts
index
2e1d394
..
44e0134
100755
(executable)
--- a/
stage2/install-bootscripts
+++ b/
stage2/install-bootscripts
@@
-55,6
+55,10
@@
echo "INTERFACES_DN=\"${INTERFACES} lo\"" >> /etc/sysconfig/network/network-para
cat >> /etc/sysconfig/network/network-parameters << EOF
cat >> /etc/sysconfig/network/network-parameters << EOF
+# Signal to other scripts that all network interfaces have been started
+# (especially usefull to prevent mountnetfs bootscript to block forever)
+NETWORKING_UP_FILE=/var/run/networking-up
+
# On which network interface(s) to activate the DHCP server.
# Leave empty or comment the line to disable the DHCP server.
#DHCP_SERVER_IF="eth0"
# On which network interface(s) to activate the DHCP server.
# Leave empty or comment the line to disable the DHCP server.
#DHCP_SERVER_IF="eth0"
@@
-65,6
+69,9
@@
NFS_SERVER_ENA="no"
# Set to "yes" to enable the SSH server:
SSH_SERVER_ENA="no"
# Set to "yes" to enable the SSH server:
SSH_SERVER_ENA="no"
+# Set to "yes" to enable the DNS server:
+DNS_SERVER_ENA="no"
+
# Set FIREWALL_ENA to "yes" to enable the firewall:
FIREWALL_ENA="no"
# Set FIREWALL_WWW to the ethernet interface connected to the outside world (internet):
# Set FIREWALL_ENA to "yes" to enable the firewall:
FIREWALL_ENA="no"
# Set FIREWALL_WWW to the ethernet interface connected to the outside world (internet):
@@
-90,7
+97,7
@@
sed -i -e "s!^\(export PATH=\).*tools.*!\1/bin:/usr/bin:/sbin:/usr/sbin!" /etc/r
# Copying boot scripts
STAGE2_BOOTSCRIPTS="ifdown ifup keyboard mountnetfs network syslogd klogd"
for bootscript in ${STAGE2_BOOTSCRIPTS}; do
# Copying boot scripts
STAGE2_BOOTSCRIPTS="ifdown ifup keyboard mountnetfs network syslogd klogd"
for bootscript in ${STAGE2_BOOTSCRIPTS}; do
- install -m755 bootscripts/${bootscript} /etc/rc.d/init.d
+ install -
v -
m755 bootscripts/${bootscript} /etc/rc.d/init.d
done
# Necessary because bootscript_add_* scripts use ${LFS} when
done
# Necessary because bootscript_add_* scripts use ${LFS} when
@@
-98,7
+105,7
@@
done
export LFS=
# rcsysinit.d
export LFS=
# rcsysinit.d
-bootscript_add_rcsysinit sys
k
logd 50 93
+bootscript_add_rcsysinit syslogd 50 93
bootscript_add_rcsysinit klogd 51 92
bootscript_add_rcsysinit keyboard 55 00
bootscript_add_rcsysinit klogd 51 92
bootscript_add_rcsysinit keyboard 55 00