|
Bugzilla – Full Text Bug Listing |
| Summary: | dkms fails with getopt: unrecognized option '--no-initramfs' | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | Andreas Schwab <schwab> |
| Component: | Basesystem | Assignee: | Ferdinand Thiessen <rpm> |
| Status: | NEW --- | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | cliff.dugal |
| Version: | Leap 15.5 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
While more of a hack, I've at least been able to work around the issue by changing line 2374 of /usr/sbin/dkms to read:
weak_modules_no_initrd=""
I'm not sure if that results in any other issues, but I can at least build/install the system76-io module after altering dkms in that way.
|
Error messages from dkms: Adding any weak-modules getopt: unrecognized option '--no-initramfs' Usage: ${0##*/} [options] {--add-modules|--remove-modules} ${0##*/} [options] {--add-kernel|--remove-kernel} {kernel-release} --add-modules Add a list of modules read from standard input. Create symlinks in compatible kernel's weak-updates/ directory. The list of modules is read from standard input. --remove-modules Remove compatibility symlinks from weak-updates/ directories for a list of modules. The list of modules is read from standard input. --add-kernel Add compatibility symlinks for all compatible modules to the specified or running kernel. --remove-kernel Remove all compatibility symlinks for the specified or current kernel. --verbose Print the commands executed. -dry-run Do not create/remove any files. /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe