Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
initramfs-with-mca
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
initramfs-with-mca
Commits
053daa05
Commit
053daa05
authored
Jan 18, 2023
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
generation: Modify the kernel's .confifg file.
parent
adad0b19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
generation/20compile-kernel.sh
generation/20compile-kernel.sh
+10
-1
No files found.
generation/20compile-kernel.sh
View file @
053daa05
...
...
@@ -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
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment