From: Ian Kelling Date: Sun, 11 Oct 2020 13:21:09 +0000 (-0400) Subject: misc config changes X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=dd9b3506bc63b26a5e58590dd615688809c6c14d;p=automated-distro-installer misc config changes --- diff --git a/README b/README index 12d3b06..5f78075 100644 --- a/README +++ b/README @@ -268,6 +268,19 @@ umount dev umount sys reboot +# pine rock64 notes +# the only useful image is ubuntu 18.04 ayafun or something. +# using emmc usb: +s mount /dev/sdb7 /mnt/1 +s cp `which qemu-arm-static` /mnt/1/usr/bin +s chroot /mnt/1 qemu-arm-static /bin/bash +usermod --login iank --move-home --home /home/iank rock46 +groupmod --new-name iank rock64 +passwd iank +# boot it +s apt-get update +s apt dist-upgrade + # TODO Change arch to archlike and to support arch and parabola diff --git a/fai/config/scripts/GRUB_PC/11-iank b/fai/config/scripts/GRUB_PC/11-iank index 19be284..863c991 100755 --- a/fai/config/scripts/GRUB_PC/11-iank +++ b/fai/config/scripts/GRUB_PC/11-iank @@ -125,7 +125,7 @@ f=/etc/ssh/sshd_config grep -xFq "$line" $f || tee -a $f <<<"$line" -# default debian groups (jessie through buster) + adm, sudo +# default debian groups (jessie through buster) + adm, sudo, root for g in cdrom floppy audio dip video plugdev netdev adm sudo; do if getent gropu $g >/dev/null; then usermod -aG $g iank @@ -160,6 +160,10 @@ if [[ $FAI_ACTION != dirinstall ]] && ! ifclass NOCRYPT; then else speed=115200 cmdline="rd.luks.crypttab=no net.ifnames=0 console=ttyS0,${speed}n8 console=tty0" + case $HOSTNAME in + # per rubens suggestion to make a d16 more stable + kd|kw) cmdline+=" pci=realloc=off" ;; + esac fi cat >$FAI_ROOT/etc/grub.d/40_custom <