mirror of
https://github.com/riptidewave93/UNVR-NAS.git
synced 2025-03-09 15:40:13 +00:00
fix: add btrfs support using magic (#5)
* Use old GPL release from https://github.com/fabianishere/udm-kernel/tree/master to build and steal it's btrfs kernel module + depends. * Can't use full kernel, NIC issues everywhere, so we will just use it for btrfs for OMV. Will move to our own kernel fully if I can get an updated GPL release from Ui. * BONUS: Fixup issue where system would reboot when shutdown from touch screen
This commit is contained in:
parent
be235b00ac
commit
f399e13958
13 changed files with 495 additions and 8 deletions
27
scripts/02_download_dependencies.sh
Executable file
27
scripts/02_download_dependencies.sh
Executable file
|
@ -0,0 +1,27 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Source our common vars
|
||||
scripts_path="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
. ${scripts_path}/vars.sh
|
||||
|
||||
debug_msg "Starting 02_download_dependencies.sh"
|
||||
|
||||
# Make sure our BuildEnv dir exists
|
||||
if [ ! -d ${root_path}/downloads ]; then
|
||||
mkdir ${root_path}/downloads
|
||||
fi
|
||||
|
||||
# Toolchain
|
||||
if [ ! -f ${root_path}/downloads/${toolchain_filename} ]; then
|
||||
debug_msg "Downloading toolchain..."
|
||||
wget ${toolchain_url} -P ${root_path}/downloads
|
||||
fi
|
||||
|
||||
# Kernel
|
||||
if [ ! -f ${root_path}/downloads/${kernel_filename} ]; then
|
||||
debug_msg "Downloading Kernel..."
|
||||
wget ${kernel_src} -O ${root_path}/downloads/${kernel_filename}
|
||||
fi
|
||||
|
||||
debug_msg "Finished 02_download_dependencies.sh"
|
Loading…
Add table
Add a link
Reference in a new issue