Remove code for SSH server
This commit is contained in:
parent
2f9319ba46
commit
c21cc5bf08
5 changed files with 15 additions and 7 deletions
16
build.sh
16
build.sh
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue