projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout support pour archives xz, et ajout fonction pour vérifier qu'on est bien l...
[hvlinux.git]
/
stage4
/
hv-install-1
diff --git
a/stage4/hv-install-1
b/stage4/hv-install-1
index
37297bd
..
e96602e
100755
(executable)
--- a/
stage4/hv-install-1
+++ b/
stage4/hv-install-1
@@
-3,11
+3,7
@@
source ../functions/main
source /etc/profile
source ../functions/main
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
LFS_PKG_DIR_ORIG=${LFS_PKG_DIR}
init_log_file
LFS_PKG_DIR_ORIG=${LFS_PKG_DIR}
@@
-84,7
+80,7
@@
ipkg -m acnb ${DBUS_GLIB} \
--disable-tests \
--libexecdir=/usr/lib/dbus-1.0/dbus-1
ipkg ${EGGDBUS}
--disable-tests \
--libexecdir=/usr/lib/dbus-1.0/dbus-1
ipkg ${EGGDBUS}
-ipkg ${POLKIT}
+ipkg
-m acnb
${POLKIT}
ipkg -m acnb ${CONSOLEKIT} \
--libexecdir=/usr/lib/ConsoleKit \
--localstatedir=/var \
ipkg -m acnb ${CONSOLEKIT} \
--libexecdir=/usr/lib/ConsoleKit \
--localstatedir=/var \
@@
-119,4
+115,7
@@
ipkg ${PYTHON} "--enable-shared"
ipkg -m acnb ${WINDOWMAKER}
ipkg ${WINDOWMAKER_EXTRA}
ipkg -m acnb ${WINDOWMAKER}
ipkg ${WINDOWMAKER_EXTRA}
+write_completed_stage
+display_stage_build_stats
+
exit $?
exit $?