updated rootfs_overlay for orangepi_pc

This commit is contained in:
wt
2026-02-26 05:25:11 +07:00
parent fba6a776ac
commit 0d7b9901b8
31 changed files with 283 additions and 20 deletions
+2 -1
View File
@@ -7,7 +7,7 @@
#--------------- Building Linux Kernel ---------------------
kernel() {
printf "$UGREEN** Building Linux Kernel\n$RESET"
rm -r $build/kernel # &>> $fulllogfile
[ -d $build/kernel ] && return 0
mkdir -p $build/kernel # &>> $fulllogfile
cd $build/kernel
printf "$UGREEN** Extracting Linux Kernel\n$RESET"
@@ -65,6 +65,7 @@ kernel_with_rootfs() {
kernel_headers() {
printf "$UGREEN** Building Linux Kernel headers\n$RESET"
[ -d $build/kernel-headers ] && return 0
[ ! -d $build/kernel-headers ] && mkdir $build/kernel-headers
cd $build/kernel-headers
tar -xf $root/downloads/linux-$KERNEL_VERSION.tar.xz