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
e975a2ac
Commit
e975a2ac
authored
Jan 06, 2023
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
generation/development-tools: Add tools and notes.
parent
debd518e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
generation/development-tools/_tools.sh
generation/development-tools/_tools.sh
+8
-0
generation/development-tools/generate-finds.sh
generation/development-tools/generate-finds.sh
+19
-0
No files found.
generation/development-tools/_tools.sh
0 → 100644
View file @
e975a2ac
exit
# this is not a script, but notes about useful tools
# display initramfs content
lsinitrd
# display a file in initramfs
lsinitrd
-f
usr/lib/modules-load.d/open-iscsi.conf
generation/development-tools/generate-finds.sh
0 → 100755
View file @
e975a2ac
#!/bin/bash
set
-e
simple_find_host
=
find-c2
simple_find_compiled
=
find-comp
find /usr/lib/modules/5.10.0-20-amd64/kernel/ |
cut
-d
'/'
-f6-
>
"
$simple_find_host
"
find ../kernel-compilation/extracted-image-package/lib/modules/5.10.158-amd64/kernel/ |
cut
-d
'/'
-f7-
>
"
$simple_find_compiled
"
find_size_host
=
size-find-c2
find_size_compiled
=
size-find-comp
find /usr/lib/modules/5.10.0-20-amd64/kernel/
-printf
'%p %s\n'
|
cut
-d
'/'
-f6-
>
"
$find_size_host
"
find ../kernel-compilation/extracted-image-package/lib/modules/5.10.158-amd64/kernel/
-printf
'%p %s\n'
|
cut
-d
'/'
-f7-
>
"
$find_size_compiled
"
echo
"diff simple_find_host simple_find_compiled:"
diff
"
$simple_find_host
"
"
$simple_find_compiled
"
|
wc
echo
echo
"diff find_size_host find_size_compiled:"
diff
"
$find_size_host
"
"
$find_size_compiled
"
|
wc
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