aboutsummaryrefslogtreecommitdiff
path: root/in-chroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'in-chroot.sh')
-rwxr-xr-xin-chroot.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/in-chroot.sh b/in-chroot.sh
index 5dd23d6..4fedc03 100755
--- a/in-chroot.sh
+++ b/in-chroot.sh
@@ -25,6 +25,10 @@ adduser --disabled-password --gecos "" ubuntu
echo "ubuntu:password" | chpasswd
echo "ubuntu ALL=(ALL) NOPASSWD:ALL" | tee -a /etc/sudoers
sed -i -e 's/APT::Periodic::Update-Package-Lists "1"/APT::Periodic::Update-Package-Lists "0"/' /etc/apt/apt.conf.d/10periodic
+
+# Why do we futz with cat(z)?
+# https://bugs.linaro.org/show_bug.cgi?id=1275
+
mv /bin/cat /bin/cat.real
cat.real <<\EOF > /bin/cat
#!/bin/sh