projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Colorize prompt when logging from ssh connection
[hvlinux.git]
/
stage2
/
hv-install-1
diff --git
a/stage2/hv-install-1
b/stage2/hv-install-1
index
2e3cc41
..
dfe808c
100755
(executable)
--- a/
stage2/hv-install-1
+++ b/
stage2/hv-install-1
@@
-1,25
+1,18
@@
#!/bin/bash
#!/bin/bash
-# Reading system configuration informations, functions and package versions.
-source ../config/sysinfos
-source ../functions
-hvtrap_setup
-source ../config/packages-list
+source ../functions/main
source /etc/profile
source /etc/profile
-if [ "x${USER}" != "xroot" ]; then
- echo "You must be the superuser to install hvlinux."
- exit 1
-fi
-
+check_for_root_user
init_log_file
rscr mult "Performing pre-install" pre-install
init_log_file
rscr mult "Performing pre-install" pre-install
-ipkg -l "${PERL}-pass1" ${PERL}
-ipkg -
m noac
${KERNEL}
+ipkg -
j -
l "${PERL}-pass1" ${PERL}
+ipkg -
c -m noac -l "kernel-headers" -s "kernel-headers"
${KERNEL}
ipkg -m noac ${MANPAGES}
ipkg ${EGLIBC}
ipkg -m noac ${MANPAGES}
ipkg ${EGLIBC}
+
rscr once "Adjusting toolchain" toolchain-adjust
rscr mult "Testing toolchain" toolchain-test
rscr once "Adjusting toolchain" toolchain-adjust
rscr mult "Testing toolchain" toolchain-test
@@
-33,7
+26,7
@@
ipkg ${MPFR} "--enable-shared --with-gmp=/usr"
ipkg ${MPC}
CPPFLAGS=-fexceptions \
ipkg ${PPL} "--enable-shared --disable-optimization"
ipkg ${MPC}
CPPFLAGS=-fexceptions \
ipkg ${PPL} "--enable-shared --disable-optimization"
-ipkg ${CLOOG
_PPL} "--enable-shared --with-gmp --with-ppl
"
+ipkg ${CLOOG
} "--enable-shared
"
unset CC
unset CXX
unset CC
unset CXX
@@
-44,11
+37,15
@@
ipkg ${BINUTILS}
ipkg ${GCC}
rscr mult "Testing toolchain" toolchain-test
ipkg ${SED} "--bindir=/bin"
ipkg ${GCC}
rscr mult "Testing toolchain" toolchain-test
ipkg ${SED} "--bindir=/bin"
+ipkg ${LIBFFI}
+ipkg ${PYTHON} "--enable-shared"
+# Specify LIBFFI flags because pkg-config is not yet installed:
+LIBFFI_CFLAGS="-I/usr/include" LIBFFI_LIBS="-L/usr/lib -lffi" ipkg ${GLIB}
ipkg ${PKG_CONFIG}
ipkg ${NCURSES}
ipkg ${PKG_CONFIG}
ipkg ${NCURSES}
-ipkg ${UTIL_LINUX
_NG
}
+ipkg ${UTIL_LINUX}
ipkg ${E2FSPROGS}
ipkg ${E2FSPROGS}
-
ipkg
${COREUTILS}
+
FORCE_UNSAFE_CONFIGURE=1 ipkg -m acnb
${COREUTILS}
ipkg -m noac ${IANA}
ipkg ${MFOUR}
ipkg ${BISON}
ipkg -m noac ${IANA}
ipkg ${MFOUR}
ipkg ${BISON}