summaryrefslogtreecommitdiff
path: root/linux-basics/fromscratch_vs_debian/deb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'linux-basics/fromscratch_vs_debian/deb.sh')
-rwxr-xr-xlinux-basics/fromscratch_vs_debian/deb.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-basics/fromscratch_vs_debian/deb.sh b/linux-basics/fromscratch_vs_debian/deb.sh
index 2352c7f..3a3457f 100755
--- a/linux-basics/fromscratch_vs_debian/deb.sh
+++ b/linux-basics/fromscratch_vs_debian/deb.sh
@@ -31,3 +31,6 @@ mkdir /proc /sys
mount -t proc none /proc
mount -t sysfs none /sys
/debootstrap/debootstrap --second-stage
+passwd
+echo "T0:23:respawn:/sbin/getty -L ttyO2 115200 vt100" >> /etc/inittab
+mount -o remount,ro /dev/mmcblk0p2 /