version 1.1.2.6, 2011/09/25 16:53:40
|
version 1.2.2.4, 2011/10/25 13:55:56
|
Line 99 mkboot()
|
Line 99 mkboot()
|
InstallDir ${WORLD}/boot $1/boot |
InstallDir ${WORLD}/boot $1/boot |
|
|
install -m 644 ${CFGDIR}/boot/boot.config $1; |
install -m 644 ${CFGDIR}/boot/boot.config $1; |
install -m 644 ${CFGDIR}/boot/beastie.4th $1/boot; |
|
install -m 644 ${CFGDIR}/boot/brand.4th $1/boot; |
|
install -m 644 ${CFGDIR}/boot/menu.4th $1/boot; |
|
|
|
|
install -m 444 ${CFGDIR}/boot/beastie.4th $1/boot; |
|
install -m 444 ${CFGDIR}/boot/brand.4th $1/boot; |
|
install -m 444 ${CFGDIR}/boot/menu.4th $1/boot; |
|
|
|
install -m 444 ${KERNDEVHINTS} $1/boot/device.hints; |
|
|
if [ -r ${CFGDIR}/boot/loader_${TARGET_ARCH}.conf ]; then |
if [ -r ${CFGDIR}/boot/loader_${TARGET_ARCH}.conf ]; then |
install -m 644 ${CFGDIR}/boot/loader_${TARGET_ARCH}.conf $1/boot/loader.conf; |
install -m 644 ${CFGDIR}/boot/loader_${TARGET_ARCH}.conf $1/boot/loader.conf; |
else |
else |
Line 164 _EOF
|
Line 167 _EOF
|
mketc() |
mketc() |
{ |
{ |
echo "+++ Build ELWIX FS etc directory ..." |
echo "+++ Build ELWIX FS etc directory ..." |
|
find ${FS_ETC} -name .#\* -exec rm -f {} \; |
|
|
InstallDir ${FS_ETC} $1/etc |
InstallDir ${FS_ETC} $1/etc |
|
|
|
find $1/etc -name CVS -exec rm -rf {} \; |
|
|
chown -R root:wheel $1/etc; |
chown -R root:wheel $1/etc; |
|
|
chmod 0600 $1/etc/opieaccess; |
chmod 0600 $1/etc/opieaccess; |
Line 176 mketc()
|
Line 183 mketc()
|
chmod 0600 $1/etc/ssh/ssh_host_dsa_key; |
chmod 0600 $1/etc/ssh/ssh_host_dsa_key; |
chmod 0600 $1/etc/ssh/ssh_host_key; |
chmod 0600 $1/etc/ssh/ssh_host_key; |
chmod 0600 $1/etc/ssh/ssh_host_rsa_key; |
chmod 0600 $1/etc/ssh/ssh_host_rsa_key; |
|
chmod 0600 $1/etc/ssh/ssh_host_ecdsa_key; |
|
|
chmod 0440 $1/etc/sudoers; |
chmod 0440 $1/etc/sudoers; |
|
|