diff options
Diffstat (limited to 'sid-arm64-developer/customization/includes.chroot/etc')
5 files changed, 37 insertions, 0 deletions
diff --git a/sid-arm64-developer/customization/includes.chroot/etc/default/locale b/sid-arm64-developer/customization/includes.chroot/etc/default/locale new file mode 100644 index 0000000..f9c983c --- /dev/null +++ b/sid-arm64-developer/customization/includes.chroot/etc/default/locale @@ -0,0 +1 @@ +LANG=C.UTF-8 diff --git a/sid-arm64-developer/customization/includes.chroot/etc/hostname b/sid-arm64-developer/customization/includes.chroot/etc/hostname new file mode 100644 index 0000000..bafc623 --- /dev/null +++ b/sid-arm64-developer/customization/includes.chroot/etc/hostname @@ -0,0 +1 @@ +linaro-developer diff --git a/sid-arm64-developer/customization/includes.chroot/etc/hosts b/sid-arm64-developer/customization/includes.chroot/etc/hosts new file mode 100644 index 0000000..135dd9d --- /dev/null +++ b/sid-arm64-developer/customization/includes.chroot/etc/hosts @@ -0,0 +1,7 @@ +127.0.0.1 localhost +::1 localhost ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters +127.0.1.1 linaro-developer diff --git a/sid-arm64-developer/customization/includes.chroot/etc/kernel-img.conf b/sid-arm64-developer/customization/includes.chroot/etc/kernel-img.conf new file mode 100644 index 0000000..d24d4df --- /dev/null +++ b/sid-arm64-developer/customization/includes.chroot/etc/kernel-img.conf @@ -0,0 +1,6 @@ +# Kernel image management overrides +# See kernel-img.conf(5) for details +do_symlinks = yes +do_bootloader = no +do_initrd = yes +link_in_boot = yes diff --git a/sid-arm64-developer/customization/includes.chroot/etc/rc.local b/sid-arm64-developer/customization/includes.chroot/etc/rc.local new file mode 100755 index 0000000..39d1427 --- /dev/null +++ b/sid-arm64-developer/customization/includes.chroot/etc/rc.local @@ -0,0 +1,22 @@ +#!/bin/sh -e +# +# rc.local +# +# This script is executed at the end of each multiuser runlevel. +# Make sure that the script will "exit 0" on success or any other +# value on error. +# +# In order to enable or disable this script just change the execution +# bits. +# +# By default this script does nothing. + +# Generate the SSH keys if non-existent +if [ ! -f /etc/ssh/ssh_host_rsa_key ] +then + # else ssh service start in dpkg-reconfigure will fail + systemctl stop ssh.socket||true + dpkg-reconfigure openssh-server +fi + +exit 0 |