From ea9df982212b5b9dbdc0d7f7c93d4910f59c7d2b Mon Sep 17 00:00:00 2001 From: GNU Date: Tue, 16 Aug 2022 21:50:29 +0800 Subject: [PATCH] Updated Create DevTerm A04 OS image from scratch (markdown) --- Create-DevTerm-A04-OS-image-from-scratch.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Create-DevTerm-A04-OS-image-from-scratch.md b/Create-DevTerm-A04-OS-image-from-scratch.md index 296b501..9c43698 100644 --- a/Create-DevTerm-A04-OS-image-from-scratch.md +++ b/Create-DevTerm-A04-OS-image-from-scratch.md @@ -47,9 +47,18 @@ sudo chroot . ``` ## Inside chroot (inside) +### import clockworpi apt +``` +curl https://raw.githubusercontent.com/clockworkpi/apt/main/debian/KEY.gpg | tee /etc/apt/trusted.gpg.d/clockworkpi.asc +echo "deb https://raw.githubusercontent.com/clockworkpi/apt/main/debian/ stable main" | tee /etc/apt/sources.list.d/clockworkpi.list +``` + ### Preset cpi username and password ``` sh /etc/profile.d/armbian-check-first-login.sh +``` +### Install kernel +``` sudo apt install -y devterm-kernel-current-cpi-a04 apt install -y xfce4-power-manager touch /home/cpi/.first_start