projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update file package
[hvlinux.git]
/
stage1
/
install-bootscripts
diff --git
a/stage1/install-bootscripts
b/stage1/install-bootscripts
index
40894e0
..
b2595f3
100755
(executable)
--- a/
stage1/install-bootscripts
+++ b/
stage1/install-bootscripts
@@
-1,9
+1,6
@@
#!/bin/bash
#!/bin/bash
-# Reading system configuration informations, functions and package versions.
-source ../config/sysinfos
-source ../functions
-source ../config/packages-list
+source ../functions/main
# Clock settings
cat > ${LFS}/etc/sysconfig/clock << "EOF"
# Clock settings
cat > ${LFS}/etc/sysconfig/clock << "EOF"
@@
-12,10
+9,10
@@
EOF
# Copying boot scripts
STAGE1_BOOTSCRIPTS="checkfs cleanfs functions halt hostname initlog modules mountfs \
# Copying boot scripts
STAGE1_BOOTSCRIPTS="checkfs cleanfs functions halt hostname initlog modules mountfs \
- mountkernfs rc reboot sendsignals s
etclock swap
udev"
+ mountkernfs rc reboot sendsignals s
wap tune
udev"
mkdir -p ${LFS}/etc/rc.d/init.d
for bootscript in ${STAGE1_BOOTSCRIPTS}; do
mkdir -p ${LFS}/etc/rc.d/init.d
for bootscript in ${STAGE1_BOOTSCRIPTS}; do
- install -m755 bootscripts/${bootscript} ${LFS}/etc/rc.d/init.d
+ install -
v -
m755 bootscripts/${bootscript} ${LFS}/etc/rc.d/init.d
done
# Creating runlevels links
done
# Creating runlevels links
@@
-34,20
+31,24
@@
done
bootscript_add_rcsysinit initlog 05 00
bootscript_add_rcsysinit hostname 10 00
bootscript_add_rcsysinit mountkernfs 15 00
bootscript_add_rcsysinit initlog 05 00
bootscript_add_rcsysinit hostname 10 00
bootscript_add_rcsysinit mountkernfs 15 00
+bootscript_add_rcsysinit tune 17 00
bootscript_add_rcsysinit modules 20 00
bootscript_add_rcsysinit udev 25 00
bootscript_add_rcsysinit checkfs 30 00
bootscript_add_rcsysinit modules 20 00
bootscript_add_rcsysinit udev 25 00
bootscript_add_rcsysinit checkfs 30 00
-bootscript_add_rcsysinit mountfs 35
95
-bootscript_add_rcsysinit swap 40
94
+bootscript_add_rcsysinit mountfs 35
00
+bootscript_add_rcsysinit swap 40
00
bootscript_add_rcsysinit cleanfs 45 00
bootscript_add_rcsysinit cleanfs 45 00
-bootscript_add_rcsysinit setclock 60 92
# rc0.d
# rc0.d
-bootscript_add_manual 0 sendsignals 95 00
+bootscript_add_manual 0 sendsignals 60 00
+bootscript_add_manual 0 swap 65 00
+bootscript_add_manual 0 mountfs 70 00
bootscript_add_manual 0 halt 99 00
# rc6.d is almost identical to rc0.d
bootscript_add_manual 0 halt 99 00
# rc6.d is almost identical to rc0.d
-bootscript_add_manual 6 sendsignals 95 00
+bootscript_add_manual 6 sendsignals 60 00
+bootscript_add_manual 6 swap 65 00
+bootscript_add_manual 6 mountfs 70 00
bootscript_add_manual 6 reboot 99 00
exit $?
bootscript_add_manual 6 reboot 99 00
exit $?