From 97b4ba82596ae5484079483afeaba7986958ecab Mon Sep 17 00:00:00 2001 From: Michael Neves Date: Wed, 20 Mar 2013 15:22:51 +0100 Subject: KERNEL_VERSION from system.inc gitignore and calc_size in fileutil calculates the build size of a module fix generate_target argument parsing add xfs to rootfs-stage31.conf added server sync option -s - Fix sshd module failing to set permissions on sshd config - Add all required packages for openSUSE to xorg module - Softlink sh to bash in rootfs-stage32, as some scripts might fail otherwise Thanks hwinfo but we don't need you anymore Added size log fix list_packet_files exiting loop when a packet wasnt installed remove flag checks, now done in setup_target check if kernel module is already built-in --- remote/modules/systemd/systemd.build | 41 +++++++++++++++--------------------- 1 file changed, 17 insertions(+), 24 deletions(-) (limited to 'remote/modules/systemd') diff --git a/remote/modules/systemd/systemd.build b/remote/modules/systemd/systemd.build index 57fb705e..ee74d53a 100644 --- a/remote/modules/systemd/systemd.build +++ b/remote/modules/systemd/systemd.build @@ -1,34 +1,27 @@ #tool/distro specific functions for fetching, building and installing dependencies fetch_source () { - if [ ! -e .fetched_source ]; then - download_untar "$URL" "src/" - download_untar "$LIBKMOD_URL" "src/" - touch .fetched_source - fi + download_untar "$URL" "src/" + download_untar "$LIBKMOD_URL" "src/" } build () { - if [ ! -e .built ]; then - #build libkmod - cd "${MODULE_DIR}/src/$LIBKMOD_VERSION" - pwarning "$(pwd)" - ./configure - make || perror "make failed." - make install || perror "make install failed." - cd - &> /dev/null + #build libkmod + cd "${MODULE_DIR}/src/$LIBKMOD_VERSION" + ./configure + make || perror "make failed." + make install || perror "make install failed." + cd - &> /dev/null - #build systemd - cd "${MODULE_DIR}/src/$VERSION" - pinfo "calling configure" - ./configure --disable-manpages --enable-split-usr --sysconfdir="/etc" --enable-gtk-doc-html=no || perror "configure failed." - pinfo "calling make" - make || perror "make failed." - pinfo "calling make install" - DESTDIR="${MODULE_BUILD_DIR}" make install || perror "make install failed." - cd - &> /dev/null - touch .built - fi + #build systemd + cd "${MODULE_DIR}/src/$VERSION" + pinfo "calling configure" + ./configure --disable-manpages --enable-split-usr --sysconfdir="/etc" --enable-gtk-doc-html=no || perror "configure failed." + pinfo "calling make" + make || perror "make failed." + pinfo "calling make install" + DESTDIR="${MODULE_BUILD_DIR}" make install || perror "make install failed." + cd - &> /dev/null } post_copy() { -- cgit v1.2.3-55-g7522