Commit b52751e
committed
Dockerfile: address review on strip-exploit-modules patch
Reword the comment: "modules used only as exploit paths" implied
they were written to be exploited. Reframe as "unused in the VM
but expose known CVEs".
Move the strip logic into /usr/local/lib/strip-exploit-modules.sh.
The sed payload reduces to a single source injection, and the
module list becomes a real loop.
Verified on aarch64: rebuilt the builder image and a fresh std
ISO; boot/modloop-virt has the four modules absent and modules.dep
clean.
Signed-off-by: Jan Dubois <jan.dubois@suse.com>1 parent 745597a commit b52751e
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
0 commit comments