Code Sample |
gzip -n -df drivers/atm/pca200e.bin.gz gzip: invalid option -- n BusyBox v1.00 (2006.01.20-18:21+0000) multi-call binary Usage: gzip [OPTION]... [FILE]... Compress FILE(s) with maximum compression. When FILE is '-' or unspecified, reads standard input. Implies -c. Options: -c Write output to standard output instead of FILE.gz -d Decompress -f Force write when destination is a terminal make[2]: *** [drivers/atm/pca200e.bin] Error 1 make[1]: *** [drivers/atm] Error 2 make: *** [drivers] Error 2 root@0[linux-2.6.12.6]# |
Code Sample |
$ script compile_output $ make modules $ <ctrl d> $ beaver compile_output |
Code Sample |
#!/bin/bash # rm -f /lib/modules/2.6.12/modules.* cp /KNOPPIX/lib/modules/2.6.12/modules.* /lib/modules/2.6.12 # cp /mnt/sda2/download/kernel/linux-2.6.12.tar.gz /usr/src/ cd /usr/src tar -xzvf linux-2.6.12.tar.gz -C /usr/src rm -f linux-2.6.12.tar.gz # ln -s /usr/src/linux-2.6.12 /usr/src/linux ln -s /usr/src/linux-2.6.12/include/asm-i386 /usr/src/linux-2.6.12/include/asm rm -f /lib/modules/2.6.12/build ln -s /usr/src/linux-2.6.12 /lib/modules/2.6.12/build rm -f /lib/modules/2.6.12/source ln -s /usr/src/linux-2.6.12 /lib/modules/2.6.12/source # cp /mnt/sda2/download/kernel/autoconf.h /usr/src/linux-2.6.12/include/linux cp /mnt/sda2/download/kernel/version.h /usr/src/linux-2.6.12/include/linux cp /mnt/sda2/download/kernel/knoppix_cd/Module.symvers /usr/src/linux-2.6.12 cp /mnt/sda2/download/kernel/modpost /usr/src/linux-2.6.12/scripts/mod # cp -f /usr/src/linux-2.6.12/.config /usr/src/linux-2.6.12/arch/i386/defconfig cd /usr/src/linux-2.6.12 make oldconfig make modules_prepare # # EOF |