Created
November 15, 2023 17:56
-
-
Save mherwig/eba41a3b840e938532e228021ae7f027 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p /synology/tarballs | |
cd /synology/tarballs | |
wget https://global.synologydownload.com/download/ToolChain/toolkit/7.1/base/base_env-7.1.txz | |
wget https://global.synologydownload.com/download/ToolChain/toolkit/7.1/apollolake/ds.apollolake-7.1.dev.txz | |
wget https://global.synologydownload.com/download/ToolChain/toolkit/7.1/apollolake/ds.apollolake-7.1.env.txz | |
wget https://global.synologydownload.com/download/ToolChain/Synology%20NAS%20GPL%20Source/7.1.1-42962/apollolake/linux-4.4.x.txz | |
mkdir /synology/env | |
cd /synology/env | |
tar Jxvf ../tarballs/base_env-7.1.txz | |
tar Jxvf ../tarballs/ds.apollolake-7.1.dev.txz | |
tar Jxvf ../tarballs/ds.apollolake-7.1.env.txz | |
tar Jxvf ../tarballs/linux-4.4.x.txz -C usr/local | |
chroot | |
cd /usr/local/linux-4.4.x/ | |
cp synoconfigs/apollolake .config | |
make menuconfig | |
# select IP_NF_TARGET_REJECT and NETFILTER_XT_MATCH_COMMENT | |
make modules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment