updated rootfs_overlay for orangepi_pc
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user