changeset 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 5555993a80c5
children f3e1afd794a5
files images/lfs-bootstrap/mnt/build/setup.nosrc
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/images/lfs-bootstrap/mnt/build/setup.nosrc	Thu Apr 19 00:14:51 2012 -0500
+++ b/images/lfs-bootstrap/mnt/build/setup.nosrc	Sun Jun 10 20:25:48 2012 -0500
@@ -2,6 +2,11 @@
 
 set +h
 
+# Remove commands that incompetent install scripts overwrite, thus overwriting
+# the busybox/toybox binary.
+
+rm -f /bin/{unset,dmesg,setsid,clear,cal} &&
+
 # Basic setup.  Create directories not in the aboriginal base system.
 
 cd / &&