1
0
Fork 0

Remove code for SSH server

This commit is contained in:
Braiden Vasco 2017-07-05 07:31:01 +00:00
parent 2f9319ba46
commit c21cc5bf08
5 changed files with 15 additions and 7 deletions

View File

@ -195,16 +195,24 @@ install -m 644 files/config.txt "$ROOTFS_DIR/boot/"
#
install -m 755 files/rc.local "$ROOTFS_DIR/etc/rc.local"
##
# Install SSH server
#
on_chroot << EOF
apt-get install -y ssh
EOF
apply_patches '01-no-root-login.diff'
##
# Common system configuration.
#
on_chroot << EOF
apt-get install -y raspberrypi-bootloader ssh
apt-get install -y raspberrypi-bootloader
EOF
apply_patches '01-bashrc.diff'
apply_patches '02-persistant-net.diff'
apply_patches '03-no-root-login.diff'
apply_patches '02-bashrc.diff'
apply_patches '03-persistant-net.diff'
install -m 644 files/fstab "$ROOTFS_DIR/etc/fstab"
install -m 644 files/ipv6.conf "$ROOTFS_DIR/etc/modprobe.d/ipv6.conf"

View File

@ -1,6 +1,6 @@
01-bashrc.diff
02-persistant-net.diff
03-no-root-login.diff
01-no-root-login.diff
02-bashrc.diff
03-persistant-net.diff
04-useradd.diff
05-swap.diff
06-path.diff