diff options
| author | Michael Neves | 2013-03-20 15:22:51 +0100 |
|---|---|---|
| committer | sr | 2013-04-12 19:11:30 +0200 |
| commit | 97b4ba82596ae5484079483afeaba7986958ecab (patch) | |
| tree | f85896acc369038481d6a3338561258a6683ea69 /remote/modules/ldm | |
| parent | use default location for aufs.ko (diff) | |
| download | tm-scripts-97b4ba82596ae5484079483afeaba7986958ecab.tar.gz tm-scripts-97b4ba82596ae5484079483afeaba7986958ecab.tar.xz tm-scripts-97b4ba82596ae5484079483afeaba7986958ecab.zip | |
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
Diffstat (limited to 'remote/modules/ldm')
| -rw-r--r-- | remote/modules/ldm/ldm.build | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/remote/modules/ldm/ldm.build b/remote/modules/ldm/ldm.build index 0e73148c..e88f0b08 100644 --- a/remote/modules/ldm/ldm.build +++ b/remote/modules/ldm/ldm.build @@ -1,30 +1,26 @@ #tool/distro specific functions for fetching, building and installing dependencies fetch_source () { - [ ! -e .fetched_source ] && download_untar "$URL" "src/" - touch .fetched_source + download_untar "$URL" "src/" } build () { - if [ ! -e .built ]; then - cd "src/$VERSION" - pinfo "Running configure" - ./configure --prefix="/" --datarootdir="/usr/share" || perror "failed." - pinfo "Running make" - make || perror "failed." - pinfo "Running make install" - DESTDIR="${MODULE_BUILD_DIR}" make install || perror "failed." + cd "src/$VERSION" + pinfo "Running configure" + ./configure --prefix="/" --datarootdir="/usr/share" || perror "failed." + pinfo "Running make" + make || perror "failed." + pinfo "Running make install" + DESTDIR="${MODULE_BUILD_DIR}" make install || perror "failed." - COPYLIST="list_dpkg_output" + COPYLIST="list_dpkg_output" - [ -e "$COPYLIST" ] && rm "$COPYLIST" + [ -e "$COPYLIST" ] && rm "$COPYLIST" - list_packet_files >> "$COPYLIST" - tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}" + list_packet_files >> "$COPYLIST" + tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}" - cd - - touch .built - fi + cd - } post_copy() { |
