summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2018-09-13 12:28:36 +0200
committerJonas Smedegaard <dr@jones.dk>2018-09-13 12:28:36 +0200
commitb4b957638d773c1d04fc5c40e769c681dc6e11d6 (patch)
tree1c6c858d3df9e30b9161f62f93041f6fd87312bb
parent90aba74002a63d0fbacd60ede7224178caa2d6c1 (diff)
Add node core_teres1.1.0b13
-rw-r--r--nodes/core_teres1.yml65
1 files changed, 65 insertions, 0 deletions
diff --git a/nodes/core_teres1.yml b/nodes/core_teres1.yml
new file mode 100644
index 0000000..2bcb4d6
--- /dev/null
+++ b/nodes/core_teres1.yml
@@ -0,0 +1,65 @@
+# minimal system on Teres-I laptop
+# Targets: Debian 9 (Stretch) or newer
+# Depends: boxer-data (>= 10.6.4)
+
+# TODO: Drop flash-kernel when (U-boot and) flash-kernel supports Teres-I
+
+classes:
+ - Console.setup
+ - Console.filemanager
+ - Admin.etc.functions
+ - Admin
+ - Service.ssh
+ - Service.mail.mta.dma
+ - Service.time.openntpd.force
+# - Hardware.laptop.olimex.teres1 (Limits targets to Debian 10+)
+ - hw.soc.allwinner.a64
+ - Hardware.net.bluetooth
+ - Hardware.nic.realtek
+ - hw.firmware
+ - Hardware.bootloader.u-boot.sunxi
+ - Hardware.harden
+ - Hardware.net.interfaces.reset
+ - Framework.pkg.apt.autoremove-suggests
+ - Framework.pkg.apt.avoid-removals
+ - Framework.pkg.apt.aptitude.advance-on-action
+ - Framework.pkg.apt.aptitude.list-suite
+ - Framework.pkg.apt.proxy.reset
+ - Framework.pkg.apt.source.reset
+parameters:
+ doc:
+ gateway:
+ pkg:
+ - include network management service NetworkManager
+ pkg-nonfree:
+ - Include non-free firmware for Realtek devices (needed for wifi)
+ tweak:
+ - tell bootloader helper flash-kernel how to detect Teres-I
+ - run flash-kernel explicitly for Teres-I
+ - limit video buffers (freeing memory for general use)
+ pkg:
+ - network-manager
+ - iftop
+ - locales
+ - sudo
+ - whiptail
+# FIXME: fix Boxer "--nonfree" option
+# pkg-nonfree:
+ - firmware-realtek
+ pkg-avoid:
+ - xauth
+ tweak:
+ - >
+ file=/target/etc/flash-kernel/db;\
+ _backup "$file";\
+ echo "" > "$file";\
+ echo "Machine: Olimex A64 Teres-I" >> "$file";\
+ echo "DTB-Id: allwinner/sun50i-a64-teres-i.dtb" >> "$file";\
+ echo "Boot-Script-Path: /boot/boot.scr" >> "$file";\
+ echo "U-Boot-Script-Name: bootscr.uboot-generic" >> "$file"
+ - >
+ FK_MACHINE="Olimex A64 Teres-I" flash-kernel
+ - >
+ _setappendvar /target/etc/default/flash-kernel \
+ LINUX_KERNEL_CMDLINE_DEFAULTS \
+ '"sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16"'