Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dracut): don't apply aggressive strip to kernel modules #2673

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
9 changes: 7 additions & 2 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Harald Hoyer <[email protected]>
Victor Lowther <[email protected]>
Jóhann B. Guðmundsson <[email protected]>
Antonio Alvarez Feijoo <[email protected]>
Jóhann B. Guðmundsson <[email protected]>
Laszlo Gombos <[email protected]>
Amadeusz Żołnowski <[email protected]>
Daniel Molkentin <[email protected]>
Expand Down Expand Up @@ -48,13 +48,13 @@ Nicolas Chauvet <[email protected]>
Zoltán Böszörményi <[email protected]>
Colin Walters <[email protected]>
John Reiser <[email protected]>
Kairui Song <[email protected]>
Luca Berra <[email protected]>
Shreenidhi Shedi <[email protected]>
Xunlei Pang <[email protected]>
Daniel Drake <[email protected]>
David Teigland <[email protected]>
Dusty Mabe <[email protected]>
Kairui Song <[email protected]>
Angelo "pallotron" Failla <[email protected]>
Dan Horák <[email protected]>
Mike Gilbert <[email protected]>
Expand Down Expand Up @@ -128,6 +128,7 @@ Thomas Backlund <[email protected]>
Topi Miettinen <[email protected]>
Vasiliy Tolstov <[email protected]>
Wim Muskee <[email protected]>
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
keentux <[email protected]>
Alan Jenkins <[email protected]>
Alan Pevec <[email protected]>
Expand Down Expand Up @@ -226,7 +227,9 @@ Conrad Hoffmann <[email protected]>
Daan De Meyer <[email protected]>
Dan Fuhry <[email protected]>
Daniel McIlvaney <[email protected]>
Daniel P. Berrangé <[email protected]>
Dave Jones <[email protected]>
David Cassany <[email protected]>
David Hildenbrand <[email protected]>
David Michael <[email protected]>
Denis Volkov <[email protected]>
Expand Down Expand Up @@ -261,6 +264,7 @@ Hiroaki Mizuguchi <[email protected]>
Hongxu Jia <[email protected]>
Hui Wang <[email protected]>
Ignaz Forster <[email protected]>
Ihno Krumreich <[email protected]>
Jacob Wen <[email protected]>
James Laska <[email protected]>
James Morris <[email protected]>
Expand Down Expand Up @@ -365,6 +369,7 @@ foopub <[email protected]>
gaoyi <[email protected]>
gombi <gombi@>
honza801 <[email protected]>
innovara <[email protected]>
jbash aka John Bashinski <[email protected]>
jloeser <[email protected]>
joamonwx <unknown>
Expand Down
215 changes: 215 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,220 @@
[Rendered view](https://github.com/dracutdevs/dracut/blob/master/NEWS.md)

dracut-048
==========
#### Contributors

- Harald Hoyer <[email protected]>
- Antonio Alvarez Feijoo <[email protected]>
- Jóhann B. Guðmundsson <[email protected]>
- Laszlo Gombos <[email protected]>
- Kairui Song <[email protected]>
- Daniel Molkentin <[email protected]>
- Martin Wilck <[email protected]>
- Lubomir Rintel <[email protected]>
- Henrik Gombos <[email protected]>
- Lukas Nykryn <[email protected]>
- Beniamino Galvani <[email protected]>
- наб <[email protected]>
- Jonathan Lebon <[email protected]>
- David Tardon <[email protected]>
- Frantisek Sumsal <[email protected]>
- David Disseldorp <[email protected]>
- Frederick Grose <[email protected]>
- Pavel Valena <[email protected]>
- Benjamin Drung <[email protected]>
- Thomas Blume <[email protected]>
- Marcos Mello <[email protected]>
- Renaud Métrich <[email protected]>
- Alexander Tsoy <[email protected]>
- Zoltán Böszörményi <[email protected]>
- Kairui Song <[email protected]>
- Shreenidhi Shedi <[email protected]>
- David Teigland <[email protected]>
- Dusty Mabe <[email protected]>
- Tomasz Paweł Gajc <[email protected]>
- Adrien Thierry <[email protected]>
- Böszörményi Zoltán <[email protected]>
- Hannes Reinecke <[email protected]>
- Mikhail Novosyolov <[email protected]>
- Ondrej Mosnacek <[email protected]>
- Tao Liu <[email protected]>
- Javier Martinez Canillas <[email protected]>
- Jonas Witschel <[email protected]>
- Nathan Rini <[email protected]>
- Nicolas Chauvet <[email protected]>
- Đoàn Trần Công Danh <[email protected]>
- Colin Walters <[email protected]>
- Mike Gilbert <[email protected]>
- q66 <[email protected]>
- Andrew Ammerlaan <[email protected]>
- Masahiro Matsuya <[email protected]>
- Norbert Lange <[email protected]>
- Peter Robinson <[email protected]>
- Takashi Iwai <[email protected]>
- Tony Asleson <[email protected]>
- Zbigniew Jędrzejewski-Szmek <[email protected]>
- Zoltán Böszörményi <[email protected]>
- Brian C. Lane <[email protected]>
- Doan Tran Cong Danh <[email protected]>
- Gaël PORTAY <[email protected]>
- Jiri Konecny <[email protected]>
- Matt Coleman <[email protected]>
- Max Resch <[email protected]>
- Nicolas Porcel <[email protected]>
- Pingfan Liu <[email protected]>
- Stefan Berger <[email protected]>
- Topi Miettinen <[email protected]>
- Yu Watanabe <[email protected]>
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- keentux <[email protected]>
- Adam Williamson <[email protected]>
- Alberto Planas <[email protected]>
- Alexander Wenzel <[email protected]>
- Alexey Shabalin <[email protected]>
- Andre Russ <[email protected]>
- Andreas Schwab <[email protected]>
- Coiby Xu <[email protected]>
- Cornelius Hoffmann <[email protected]>
- Daniel Cordero <[email protected]>
- German Maglione <[email protected]>
- Hari Bathini <[email protected]>
- Jan Macku <[email protected]>
- José María Fernández <[email protected]>
- Lee Duncan <[email protected]>
- LinkTed <[email protected]>
- Luiz Angelo Daros de Luca <[email protected]>
- Mariusz Tkaczyk <[email protected]>
- Michal Koutný <[email protected]>
- Patrick Talbert <[email protected]>
- Pedro Monreal <[email protected]>
- Petr Pavlu <[email protected]>
- Tianhao Chai <[email protected]>
- nkraetzschmar <[email protected]>
- Érico Rolim <[email protected]>
- “Masahiro <[email protected]>
- 0x5c <[email protected]>
- A. Wilcox <[email protected]>
- Adam Alves <[email protected]>
- Alexander Miroshnichenko <[email protected]>
- Alexander Sosedkin <[email protected]>
- Alexey Kodanev <[email protected]>
- Andrew Halaney <[email protected]>
- Andrew J. Hesford <[email protected]>
- Andrey Sokolov <[email protected]>
- Anjali Kulkarni <[email protected]>
- Antz <[email protected]>
- Arnaud Rebillout <[email protected]>
- Attila Bruncsak <[email protected]>
- B. Wilson <[email protected]>
- Ben Howard <[email protected]>
- Benjamin Gilbert <[email protected]>
- Benjamin Marzinski <[email protected]>
- Brandon Sloane <[email protected]>
- Bruno E. O. Meneguele <[email protected]>
- Charles Rose <[email protected]>
- Cole Robinson <[email protected]>
- Conrad Hoffmann <[email protected]>
- Daan De Meyer <[email protected]>
- Dan Horák <[email protected]>
- Daniel McIlvaney <[email protected]>
- Daniel P. Berrangé <[email protected]>
- David Cassany <[email protected]>
- David Hildenbrand <[email protected]>
- Denis Volkov <[email protected]>
- Derek Hageman <[email protected]>
- Dirk Müller <[email protected]>
- Dmitry Klochkov <[email protected]>
- Donovan Tremura <[email protected]>
- Emanuele Giuseppe Esposito <[email protected]>
- Enno Boland <[email protected]>
- Enzo Matsumiya <[email protected]>
- Eugene S. Sobolev <[email protected]>
- Eugene Syromiatnikov <[email protected]>
- Evgeni Golov <[email protected]>
- Fabian Vogt <[email protected]>
- Frank Deng <[email protected]>
- Frederick Grose <[email protected]>
- Glenn Morris <[email protected]>
- GuoChuang <[email protected]>
- Hans de Goede <[email protected]>
- Hendrik Brueckner <[email protected]>
- Hiroaki Mizuguchi <[email protected]>
- Hongxu Jia <[email protected]>
- Hui Wang <[email protected]>
- Ihno Krumreich <[email protected]>
- Jacob Wen <[email protected]>
- James Morris <[email protected]>
- Jaroslav Jindrak <[email protected]>
- Jens Heise <[email protected]>
- Jeremy Linton <[email protected]>
- Jeremy Linton <[email protected]>
- John Meneghini <[email protected]>
- Jonas Jelten <[email protected]>
- Jonas Witschel <[email protected]>
- Kenneth D'souza <[email protected]>
- Khem Raj <[email protected]>
- Lars Wendler <[email protected]>
- Laura Hild <[email protected]>
- Lennart Poettering <[email protected]>
- Lev Veyde <[email protected]>
- Lianbo Jiang <[email protected]>
- Luca BRUNO <[email protected]>
- Lucas C. Villa Real <[email protected]>
- Marek Marczykowski-Górecki <[email protected]>
- Marko Myllynen <[email protected]>
- Matthew Thode <[email protected]>
- Matthias Berndt <[email protected]>
- Michael McCracken <[email protected]>
- Michal Hecko <[email protected]>
- Michał Zegan <[email protected]>
- Morten Linderud <[email protected]>
- Neal Gompa <[email protected]>
- Nicolas Saenz Julienne <[email protected]>
- Ondrej Dubaj <[email protected]>
- Paul Robins <[email protected]>
- Peter Georg <[email protected]>
- Peter Levine <[email protected]>
- Petr Tesarik <[email protected]>
- Petr Vorel <[email protected]>
- Radek Vykydal <[email protected]>
- Rumbaut Thomas <[email protected]>
- Sam James <[email protected]>
- Savyasachee Jha <[email protected]>
- Scott Moser <[email protected]>
- Sebastian Mitterle <[email protected]>
- Sergei Iudin <[email protected]>
- Sergio E. Nemirowski <[email protected]>
- Sullivan (CTR), Austin <[email protected]>
- Thierry Vignaud <[email protected]>
- Thomas Abraham <[email protected]>
- Thomas Haller <[email protected]>
- Tobias Klauser <[email protected]>
- Valentin Lefebvre <[email protected]>
- Vitaly Kuznetsov <[email protected]>
- Vladius25 <[email protected]>
- Wenchao Hao <[email protected]>
- Yang Liu <[email protected]>
- foopub <[email protected]>
- gaoyi <[email protected]>
- gombi <gombi@>
- innovara <[email protected]>
- jbash aka John Bashinski <[email protected]>
- joamonwx <unknown>
- joshuacov1 <[email protected]>
- lapseofreason <[email protected]>
- leo-lb <[email protected]>
- lilinjie <[email protected]>
- logan <[email protected]>
- masem <[email protected]>
- mulhern <[email protected]>
- mwberry <[email protected]>
- nabijaczleweli <[email protected]>
- realtime-neil <[email protected]>
- runsisi <[email protected]>
- tupper <[email protected]>
- Дамјан Георгиевски <[email protected]>

dracut-060
==========

Expand Down
2 changes: 1 addition & 1 deletion dracut-version.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
# shellcheck disable=SC2034
DRACUT_VERSION=060
DRACUT_VERSION=048
3 changes: 2 additions & 1 deletion dracut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2111,6 +2111,7 @@ if [[ $do_strip == yes ]]; then
fi
done

kstrip_args=(-g)
if [[ $aggressive_strip == yes ]]; then
# `eu-strip` and `strip` both strips all unneeded parts by default
strip_args=(-p)
Expand Down Expand Up @@ -2260,7 +2261,7 @@ if [[ $do_strip == yes ]] && ! [[ $DRACUT_FIPS_MODE ]]; then
| while read -r -d $'\0' f || [ -n "$f" ]; do
SIG=$(tail -c 28 "$f" | tr -d '\000')
[[ $SIG == '~Module signature appended~' ]] || { printf "%s\000" "$f"; }
done | xargs -r -0 $strip_cmd "${strip_args[@]}"
done | xargs -r -0 $strip_cmd "${kstrip_args[@]}"
dinfo "*** Stripping files done ***"
fi

Expand Down