From 98003246dc087541e1cf57441f25ca0a1cda03ed Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 11 May 2024 16:58:18 +0200 Subject: add more missing packages to rice.sh + update to kernel 6.6 --- 2/readme.md | 12 +++++++++--- 2/rice.sh | 4 ++-- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to '2') diff --git a/2/readme.md b/2/readme.md index 97acd9a..5231d8f 100644 --- a/2/readme.md +++ b/2/readme.md @@ -1,6 +1,6 @@ -I used [this][img] image as a base, and stripped it down using the steps -recorded in [rice.sh](./rice.sh). This script can be run from the above image -by doing the following: +I used [this][img] image as a base, and riced the shit out of it using the +steps recorded in [rice.sh](./rice.sh). This script can be run from the above +image by doing the following: ``` (login as `debian` with password `temppwd`) @@ -8,5 +8,11 @@ by doing the following: $ curl -sLo- https://git.pipeframe.xyz/school/drvo/plain/2/rice.sh | sudo sh -s ``` +This will upgrade the kernel to version `6.6.15-ti-rt-arm32-r1`, which supports +some fancy new features like the new `class_create` method introduced in 6.4. I +actually recommend you *do not do this*, and instead just start writing a +kernel module targeting version 5.10 from week 1, as this kernel version is way +more common. + [img]: https://www.beagleboard.org/distros/am335x-11-7-2023-09-02-4gb-emmc-xfce-flasher diff --git a/2/rice.sh b/2/rice.sh index b84d725..ea1e7d2 100755 --- a/2/rice.sh +++ b/2/rice.sh @@ -6,7 +6,7 @@ fi USER_NAME='loek' HOST_NAME='drvo' -KERNEL_VERSION='6.1.69-ti-rt-r22' +KERNEL_VERSION='6.6.15-ti-rt-arm32-r1' # latest i could find for ti # fail ok fok() { "$@" 1> /dev/null 2> /dev/null ; } @@ -84,7 +84,7 @@ echo "install newer linux kernel..." fok apt-get install -y linux-image-$KERNEL_VERSION linux-headers-$KERNEL_VERSION echo "install based software..." -fok apt-get install -y neovim zsh +fok apt-get install -y neovim zsh git systemd-resolved fok chsh -s /bin/zsh $USER_NAME fok chsh -s /bin/zsh root -- cgit v1.2.3