Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion scripts/bb-build-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ CONFIG_CRYPTO_DEFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_KALLSYMS=y
CONFIG_EFI_PARTITION=y
CONFIG_ZFS=y
EOF

# Prepare the kernel source.
Expand All @@ -40,6 +39,12 @@ sh ./autogen.sh >>$MAKE_LOG 2>&1 || exit 1

# Build the kernel.
cd $LINUX_DIR
# if we don't do this, make prints a warning
grep -v 'CONFIG_ZFS' .config > .tmpconfig
mv .tmpconfig .config
cat >> .config << EOF
CONFIG_ZFS=y
EOF
make -j$(nproc) >>$MAKE_LOG 2>&1 || exit 1
make -j$(nproc) modules >>$MAKE_LOG 2>&1 || exit 1

Expand Down