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
|
@ -7,6 +7,18 @@ scripts_path="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|||
|
||||
debug_msg "Starting 03_docker.sh"
|
||||
|
||||
# Start with things we can do now
|
||||
if [ ! -d ${build_path}/toolchain ]; then
|
||||
debug_msg "Setting up the toolchain for docker..."
|
||||
mkdir -p ${build_path}/toolchain
|
||||
tar -xf ${root_path}/downloads/${toolchain_filename} -C ${build_path}/toolchain
|
||||
fi
|
||||
|
||||
if [ ! -d ${build_path}/kernel ]; then
|
||||
debug_msg "Docker: Building Kernel..."
|
||||
docker run --ulimit nofile=1024 --rm -v "${root_path}:/repo:Z" -it ${docker_tag} /repo/scripts/docker/build_kernel.sh
|
||||
fi
|
||||
|
||||
debug_msg "Doing safety checks... please enter your password for sudo if prompted..."
|
||||
# Before we do anything, make our dirs, and validate they are not mounted atm. If they are, exit!
|
||||
if mountpoint -q ${build_path}/rootfs/boot; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue