Skip to content

Commit

Permalink
boot/drauct: Add erofs and overlayfs kernel modules
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 EROFS.
  • Loading branch information
ericcurtin authored and cgwalters committed Sep 20, 2023
1 parent cd606aa commit 38e463f
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 38e463f

Please sign in to comment.