]> git.zerfleddert.de Git - m1-debian/blobdiff - files/quickstart.txt
add notes from mps irc log
[m1-debian] / files / quickstart.txt
index f6e2a02086adf18aab679ed62159e76dc40ac4c1..28c159c11554806515f312b22e39b37e020537e7 100644 (file)
@@ -27,7 +27,7 @@ passwd username
 
 Lightweight desktop
 ===================
-apt-get install lightdm blackbox xterm firefox-esr
+apt-get install lightdm blackbox xterm firefox-esr big-cursor
 /etc/init.d/lightdm start
 
 Install gnome
@@ -80,7 +80,6 @@ Section "InputClass"
 EndSection
 EOF
 
-
 Install latest kernel and m1n1 stage 2 (m1n1, dtbs, u-boot)
 ===========================================================
 curl -sL tg.st/u/ksh | sudo bash
@@ -94,7 +93,7 @@ tune2fs -O extents,uninit_bg,dir_index -m 0 -c 0 -i 0 /dev/nvme0n1p5
 
 mount /dev/nvme0n1p5 /mnt
 
-debootstrap --arch=arch64 testing /mnt http://deb.debian.org/debian
+debootstrap --arch=arm64 testing /mnt http://deb.debian.org/debian
 
 mount -t sysfs none /mnt/sys
 mount -t efivarfs none /mnt/sys/firmware/efi/efivars
@@ -114,8 +113,8 @@ cat <<EOF > /etc/fstab
 EOF
 
 cat <<EOF > /etc/apt/sources.list
-deb http://ftp.debian.org/debian testing main contrib non-free
-deb-src http://ftp.debian.org/debian testing main contrib non-free
+deb http://den.debian.org/debian testing main contrib non-free
+deb-src http://den.debian.org/debian testing main contrib non-free
 EOF
 
 apt update
@@ -257,3 +256,14 @@ sudo parted /dev/nvme0n1 rm <n>
 
 # If you're asked if you want to proceed, say 'y'. If your asked if you want to
 # ignore, say, ignore.
+
+Control Charging
+================
+# Do not charge
+echo inhibit-charge > /sys/class/power_supply/macsmc-battery/charge_behaviour
+
+# Default
+echo auto > /sys/class/power_supply/macsmc-battery/charge_behaviour
+
+# Force discharge
+echo force-discharge > /sys/class/power_supply/macsmc-battery/charge_behaviour
Impressum, Datenschutz