X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage4%2Fhv-install-1;h=52478e5baa0fa17b60aa19fc9c433af347798da6;hb=45c5a2f834c42e914e684c784988f369118aa31b;hp=25c5ffdc31833a2c15ff2f905d8acd4518ff5e8b;hpb=f3c8db3027d5dc530e1f30c88e0235975211582e;p=hvlinux.git diff --git a/stage4/hv-install-1 b/stage4/hv-install-1 index 25c5ffd..52478e5 100755 --- a/stage4/hv-install-1 +++ b/stage4/hv-install-1 @@ -3,11 +3,7 @@ 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} @@ -52,15 +48,17 @@ install_xorg_modules() done } -install_xorg_modules ${XORG_UTIL} +ipkg_xorg ${XORG_UTIL_MACROS} "util" install_xorg_modules ${XORG_PROTO} +ipkg_xorg ${XORG_MAKEDEPEND} "util" ipkg_xorg ${LIBXAU} "lib" ipkg_xorg ${LIBXDMCP} "lib" ipkg ${LIBPTHREAD_STUBS} ${XORG_CONFIG} ipkg ${XCB_PROTO} ${XORG_CONFIG} +ipkg ${LIBXCB} ${XORG_CONFIG} +install_xorg_modules ${XORG_LIB} ipkg ${GPERF} ipkg ${XCB_UTIL} ${XORG_CONFIG} -install_xorg_modules ${XORG_LIB} ipkg -m acnb ${LESSTIF} ipkg_xorg ${XBITMAPS} "data" ipkg ${LIBDRM} "--enable-udev" @@ -70,7 +68,6 @@ ipkg -m acnb ${MESALIB} install_xorg_modules ${XORG_APP} ipkg_xorg ${XCURSOR_THEMES} "data" install_xorg_modules ${XORG_FONT} -rscr once "Configuring fonts" configure-fonts ipkg ${XKEYBOARD_CONFIG} ${XORG_CONFIG} --with-xkb-rules-symlink=xorg ipkg_xorg ${LUIT} "app" ipkg ${PIXMAN} @@ -82,7 +79,7 @@ ipkg -m acnb ${DBUS_GLIB} \ --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 \ @@ -117,4 +114,7 @@ ipkg ${PYTHON} "--enable-shared" ipkg -m acnb ${WINDOWMAKER} ipkg ${WINDOWMAKER_EXTRA} +write_completed_stage +display_stage_build_stats + exit $?