Commit 053daa05 authored by Ophélie Gagnard's avatar Ophélie Gagnard

generation: Modify the kernel's .confifg file.

parent adad0b19
......@@ -26,7 +26,12 @@ make olddefconfig
-d CONFIG_MODULE_SIG_ALL \
-d CONFIG_MODULE_SIG_KEY \
-d CONFIG_SYSTEM_TRUSTED_KEYS \
-d CONFIG_DEBUG_INFO
-d CONFIG_DEBUG_INFO \
-m CONFIG_NLS_CODEPAGE_437 \
-m CONFIG_MSDOS_FS \
-m CONFIG_NTFS_FS
#-d ASHMEM \
#-d ANDROID_BINDER_IPC
#-e CONFIG_EFI_STUB
cp .config .config.backup
......@@ -34,9 +39,13 @@ cp .config .config.backup
#sed -i "s/CONFIG_EXT4_FS=m/CONFIG_EXT4_FS=y/g" .config
# embed all "iscsi"/"scsi"-related modules in the kernel
#sed -i 's/CONFIG_\(.*\)SCSI\(.*\)=m/CONFIG_\1SCSI\2=y/g' .config
# embed all "fat" and "vfat"-related modules in the kernel
sed -i 's/CONFIG_\(.*\)FAT\(.*\)=y/CONFIG_\1FAT\2=m/g' .config
# embed every modules in the kernel
#sed -i 's/=m$/=y/g' .config
make menuconfig # keep the options consistent: manually choose exit immediately
make deb-pkg -j"$(nproc)" LOCALVERSION=-"$(dpkg --print-architecture)" KDEB_PKGVERSION="$(make kernelversion)-1"
cd ..
dpkg -x linux-image-"$KERNEL_VERSION"-amd64_"$KERNEL_VERSION"-1_amd64.deb "$KERNEL_DIR"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment