mirror of
https://github.com/riptidewave93/UNVR-NAS.git
synced 2025-02-12 18:41:55 +00:00
feat: bump to 4.0.18 base and add fuse support
* Update to unifi's latest alpha FW 4.0.18 * Add fuse/cuse fs support for https://github.com/riptidewave93/UNVR-NAS/issues/16
This commit is contained in:
parent
6073549e7e
commit
54f083a1b0
4 changed files with 14 additions and 11 deletions
|
@ -309,6 +309,8 @@ CONFIG_BTRFS_FS_POSIX_ACL=y
|
||||||
# CONFIG_MANDATORY_FILE_LOCKING is not set
|
# CONFIG_MANDATORY_FILE_LOCKING is not set
|
||||||
CONFIG_QUOTA=y
|
CONFIG_QUOTA=y
|
||||||
# CONFIG_PRINT_QUOTA_WARNING is not set
|
# CONFIG_PRINT_QUOTA_WARNING is not set
|
||||||
|
CONFIG_FUSE_FS=m
|
||||||
|
CONFIG_CUSE=m
|
||||||
CONFIG_OVERLAY_FS=y
|
CONFIG_OVERLAY_FS=y
|
||||||
CONFIG_PROC_KCORE=y
|
CONFIG_PROC_KCORE=y
|
||||||
CONFIG_TMPFS=y
|
CONFIG_TMPFS=y
|
||||||
|
|
|
@ -31,6 +31,8 @@ rm "${build_path}/rootfs/lib/modules/4.19.152-alpine-unvr/extra/ubnt_common.ko"
|
||||||
# Now, for the old kernel we built, pull in our extra modules we need! (depmod is done in bootstrap)
|
# Now, for the old kernel we built, pull in our extra modules we need! (depmod is done in bootstrap)
|
||||||
cp "${build_path}/kernel/kernel-modules/lib/modules/4.19.152-alpine-unvr/kernel/lib/zstd/zstd_compress.ko" "${build_path}/rootfs/lib/modules/4.19.152-alpine-unvr/extra/"
|
cp "${build_path}/kernel/kernel-modules/lib/modules/4.19.152-alpine-unvr/kernel/lib/zstd/zstd_compress.ko" "${build_path}/rootfs/lib/modules/4.19.152-alpine-unvr/extra/"
|
||||||
cp "${build_path}/kernel/kernel-modules/lib/modules/4.19.152-alpine-unvr/kernel/fs/btrfs/btrfs.ko" "${build_path}/rootfs/lib/modules/4.19.152-alpine-unvr/extra/"
|
cp "${build_path}/kernel/kernel-modules/lib/modules/4.19.152-alpine-unvr/kernel/fs/btrfs/btrfs.ko" "${build_path}/rootfs/lib/modules/4.19.152-alpine-unvr/extra/"
|
||||||
|
cp "${build_path}/kernel/kernel-modules/lib/modules/4.19.152-alpine-unvr/kernel/fs/fuse/fuse.ko" "${build_path}/rootfs/lib/modules/4.19.152-alpine-unvr/extra/"
|
||||||
|
cp "${build_path}/kernel/kernel-modules/lib/modules/4.19.152-alpine-unvr/kernel/fs/fuse/cuse.ko" "${build_path}/rootfs/lib/modules/4.19.152-alpine-unvr/extra/"
|
||||||
cp "${build_path}/kernel/ubnt-mtd-lock.ko" "${build_path}/rootfs/lib/modules/4.19.152-alpine-unvr/extra/"
|
cp "${build_path}/kernel/ubnt-mtd-lock.ko" "${build_path}/rootfs/lib/modules/4.19.152-alpine-unvr/extra/"
|
||||||
|
|
||||||
# Copy over our overlay if we have one
|
# Copy over our overlay if we have one
|
||||||
|
|
|
@ -7,10 +7,10 @@ build_path="${root_path}/BuildEnv"
|
||||||
docker_tag=unvr-nas:builder
|
docker_tag=unvr-nas:builder
|
||||||
|
|
||||||
# Expected UNVR Firmware(s) and hash(s)
|
# Expected UNVR Firmware(s) and hash(s)
|
||||||
UNVR_firmware_filename="62f6-UNVR-4.0.6-19610d35-cd43-4844-ae5e-5420d6ff6279.bin"
|
UNVR_firmware_filename="df93-UNVR-4.0.18-45ee6a0c-32c9-4089-b4c0-3310196de7ae.bin"
|
||||||
UNVR_firmware_md5="dc2e1693fe44aae8437f8ebcd8f0c6c1"
|
UNVR_firmware_md5="8df8a9ea16c6e171a77cbb3bc096f1de"
|
||||||
UNVRPRO_firmware_filename="19bf-UNVRPRO-4.0.6-6dd303cb-cb6d-4904-a8ee-ef6e5353016d.bin"
|
UNVRPRO_firmware_filename="13b8-UNVRPRO-4.0.18-30952e81-b1e7-47fe-9bed-bd8d963d6048.bin"
|
||||||
UNVRPRO_firmware_md5="84476cd12b90ab8c5344d4ff66211b1b"
|
UNVRPRO_firmware_md5="4a6d1abb862a3d54a6f5a122497114e3"
|
||||||
|
|
||||||
# Render our board out
|
# Render our board out
|
||||||
fwfnvar="${BOARD}_firmware_filename"
|
fwfnvar="${BOARD}_firmware_filename"
|
||||||
|
@ -19,7 +19,7 @@ fwmd5var="${BOARD}_firmware_md5"
|
||||||
firmware_md5="${!fwmd5var}"
|
firmware_md5="${!fwmd5var}"
|
||||||
|
|
||||||
# Toolchain
|
# Toolchain
|
||||||
toolchain_url="https://developer.arm.com/-/media/Files/downloads/gnu/12.2.rel1/binrel/arm-gnu-toolchain-12.2.rel1-x86_64-aarch64-none-linux-gnu.tar.xz"
|
toolchain_url="https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-aarch64-none-linux-gnu.tar.xz"
|
||||||
toolchain_filename="$(basename ${toolchain_url})"
|
toolchain_filename="$(basename ${toolchain_url})"
|
||||||
toolchain_bin_path="${toolchain_filename%.tar.xz}/bin"
|
toolchain_bin_path="${toolchain_filename%.tar.xz}/bin"
|
||||||
toolchain_cross_compile="aarch64-none-linux-gnu-"
|
toolchain_cross_compile="aarch64-none-linux-gnu-"
|
||||||
|
@ -42,8 +42,7 @@ bluez_repopath="${bluez_filename%.tar.gz}"
|
||||||
|
|
||||||
# Distro
|
# Distro
|
||||||
distrib_name="debian"
|
distrib_name="debian"
|
||||||
#deb_mirror="http://ftp.us.debian.org/debian"
|
deb_mirror="http://ftp.us.debian.org/debian"
|
||||||
deb_mirror="http://debian.uchicago.edu/debian"
|
|
||||||
deb_release="bookworm"
|
deb_release="bookworm"
|
||||||
deb_arch="arm64"
|
deb_arch="arm64"
|
||||||
fs_overlay_dir="filesystem"
|
fs_overlay_dir="filesystem"
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
Please place the UNVR/UNVR Pro firmware in this directory.
|
Please place the UNVR/UNVR Pro firmware in this directory.
|
||||||
|
|
||||||
* UNVR:
|
* UNVR:
|
||||||
* Name: [62f6-UNVR-4.0.6-19610d35-cd43-4844-ae5e-5420d6ff6279.bin](https://community.ui.com/releases/UniFi-OS-Network-Video-Recorders-4-0-6/336c3537-cc1c-4049-891d-7d1bd205defd)
|
* Name: [df93-UNVR-4.0.18-45ee6a0c-32c9-4089-b4c0-3310196de7ae.bin](https://community.ui.com/releases/UniFi-OS-Network-Video-Recorders-4-0-18/68a757a3-2f25-45c4-912b-0c29c7e4bc06)
|
||||||
* MD5Sum: dc2e1693fe44aae8437f8ebcd8f0c6c1
|
* MD5Sum: 8df8a9ea16c6e171a77cbb3bc096f1de
|
||||||
|
|
||||||
|
|
||||||
* UNVR Pro:
|
* UNVR Pro:
|
||||||
* Name: [19bf-UNVRPRO-4.0.6-6dd303cb-cb6d-4904-a8ee-ef6e5353016d.bin](https://community.ui.com/releases/UniFi-OS-Network-Video-Recorders-4-0-6/336c3537-cc1c-4049-891d-7d1bd205defd)
|
* Name: [13b8-UNVRPRO-4.0.18-30952e81-b1e7-47fe-9bed-bd8d963d6048.bin](https://community.ui.com/releases/UniFi-OS-Network-Video-Recorders-4-0-18/68a757a3-2f25-45c4-912b-0c29c7e4bc06)
|
||||||
* MD5Sum: 84476cd12b90ab8c5344d4ff66211b1b
|
* MD5Sum: 4a6d1abb862a3d54a6f5a122497114e3
|
||||||
|
|
Loading…
Reference in a new issue