Mercurial > hg > control-images
comparison images/busybox-test/build.sh @ 25:0e641b064adf
Now that Aboriginal Linux doesn't include a defconfig busybox, build one to test.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 19 Apr 2012 00:13:11 -0500 |
parents | 242a1e03ce15 |
children | f3e1afd794a5 |
comparison
equal
deleted
inserted
replaced
24:6f975a65fe1d | 25:0e641b064adf |
---|---|
2 | 2 |
3 # Run the busybox test suite. | 3 # Run the busybox test suite. |
4 | 4 |
5 EXTRACT_ALL=1 | 5 EXTRACT_ALL=1 |
6 | 6 |
7 URL=http://www.busybox.net/downloads/busybox-1.18.4.tar.bz2 \ | 7 URL=http://www.busybox.net/downloads/busybox-1.19.4.tar.bz2 \ |
8 SHA1=d285855e5770b0fb7caf477dd41ce0863657b975 \ | 8 SHA1=5d7db83d8efbadc19c86ec236e673504bbf43517 \ |
9 maybe_fork "download || dienow" | 9 maybe_fork "download || dienow" |
10 | 10 |
11 cat > "$WORK"/init << 'EOF' || dienow | 11 cat > "$WORK"/init << 'EOF' || dienow |
12 #!/bin/bash | 12 #!/bin/bash |
13 | 13 |
14 echo === $HOST Run busybox test suite | 14 echo === $HOST Run busybox test suite |
15 | 15 |
16 cp -sfR /mnt/busybox busybox && cd busybox && | 16 cp -sfR /mnt/busybox busybox && cd busybox && |
17 make defconfig && | 17 make defconfig && |
18 ln -s /bin/busybox busybox && | 18 make -j $CPUS && |
19 cd testsuite && | 19 cd testsuite && |
20 ./runtest && | 20 ./runtest && |
21 cd .. && | 21 cd .. && |
22 rm -rf busybox || exit 1 | 22 rm -rf busybox || exit 1 |
23 | 23 |