comparison images/lfs-bootstrap/mnt/build/setup.nosrc @ 28:7e6935234d63

Remove commands that incompetent install scripts overwrite, thus corrupting the busybox/toybox binary.
author Rob Landley <rob@landley.net>
date Sun, 10 Jun 2012 20:25:48 -0500
parents bcd2e358d57f
children
comparison
equal deleted inserted replaced
27:5555993a80c5 28:7e6935234d63
1 #!/bin/bash 1 #!/bin/bash
2 2
3 set +h 3 set +h
4
5 # Remove commands that incompetent install scripts overwrite, thus overwriting
6 # the busybox/toybox binary.
7
8 rm -f /bin/{unset,dmesg,setsid,clear,cal} &&
4 9
5 # Basic setup. Create directories not in the aboriginal base system. 10 # Basic setup. Create directories not in the aboriginal base system.
6 11
7 cd / && 12 cd / &&
8 13