summaryrefslogtreecommitdiff
path: root/baserock-bootstrap
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2011-12-14 10:45:05 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-12-14 14:31:44 +0000
commitf6bcb363aad315e710a90f810c33341a9d502da2 (patch)
treec9db1b7b272a10dda4e271540c540f8ba7aefd36 /baserock-bootstrap
parent462e7ffc911e592a310f4ae24ab5e87f308ec224 (diff)
downloadmorph-f6bcb363aad315e710a90f810c33341a9d502da2.tar.gz
remove fake fakeroot and sudo from chroot and make morph not use them when running as root
This is just sufficient to get stuff working for bootstrapping.
Diffstat (limited to 'baserock-bootstrap')
-rwxr-xr-xbaserock-bootstrap7
1 files changed, 0 insertions, 7 deletions
diff --git a/baserock-bootstrap b/baserock-bootstrap
index ef765bf1..16a4367f 100755
--- a/baserock-bootstrap
+++ b/baserock-bootstrap
@@ -741,13 +741,6 @@ pass2_prepare_for_chroot()
/usr/lib/64
/usr/lib
EOF
-
- cat <<EOF > "$tools/bin/sudo"
-#!/bin/sh
-exec "\$@"
-EOF
- /bin/chmod +x "$tools/bin/sudo"
- /bin/cp "$tools/bin/sudo" "$tools/bin/fakeroot"
$HOST_MKDIR -p "$LFS/etc"
echo 'root::0:0:root:/root:/bin/bash' > "$LFS/etc/passwd"