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/busybox | |
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/busybox')
-rw-r--r-- | remote/modules/busybox/busybox.build | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/remote/modules/busybox/busybox.build b/remote/modules/busybox/busybox.build index d11a3828..45bdd396 100644 --- a/remote/modules/busybox/busybox.build +++ b/remote/modules/busybox/busybox.build @@ -1,25 +1,16 @@ #!/bin/bash -fetch_source() -{ - [ ! -d src ] && mkdir src - if [ ! -e .fetched_source ]; then - git clone "${GIT}" src - touch .fetched_source - fi +fetch_source() { + git clone "${GIT}" src } -build() -{ - if [ ! -e .built ]; then - cd src - pinfo "Running make" - make || perror "failed." - pinfo "Running make install" - make CONFIG_PREFIX="${MODULE_DIR}"/build/"${PREFIX}" install || perror "failed" - cd - - touch .built - fi +build() { + cd src + pinfo "Running make" + make || perror "failed." + pinfo "Running make install" + make CONFIG_PREFIX="${MODULE_DIR}"/build/"${PREFIX}" install || perror "failed" + cd - &> /dev/null } post_copy() { |