Skip to content

Commit

Permalink
Add erofs and overlayfs kernel modules to initramfs
Browse files Browse the repository at this point in the history
These kernel modules are required for composefs usage in the initramfs.

The composefs use-case as of today uses an overlayfs on top of a erofs.
  • Loading branch information
ericcurtin committed Sep 20, 2023
1 parent 4dd3cb3 commit 6879176
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/boot/dracut/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
# You should have received a copy of the GNU Lesser General Public
# License along with this library. If not, see <https://www.gnu.org/licenses/>.

installkernel() {
instmods erofs overlay
}

check() {
if [[ -x $systemdutildir/systemd ]] && [[ -x /usr/lib/ostree/ostree-prepare-root ]]; then
return 255
Expand Down

0 comments on commit 6879176

Please sign in to comment.