mirror of
https://github.com/tumillanino/miasma-os.git
synced 2026-04-11 07:15:31 +00:00
Compare commits
5 Commits
staging
...
3f52e6286f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3f52e6286f | ||
|
|
c6ffa3591f | ||
|
|
1c59f8a718 | ||
|
|
7e73dff9b7 | ||
|
|
f615d38e86 |
@@ -59,6 +59,9 @@ if [ ! -f "/usr/lib/modules/${NEW_KVER}/vmlinuz" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Rebuild kernel module dependency map before generating initramfs.
|
||||
depmod -a "${NEW_KVER}"
|
||||
|
||||
# Generate the initramfs inside the container image so that rpm-ostree and
|
||||
# bootc can use it directly at deploy time. Without this step, Kinoite boots
|
||||
# with no initramfs and hits a dracut emergency shell (the "wall of errors").
|
||||
@@ -71,7 +74,7 @@ dracut \
|
||||
--filesystems "btrfs" \
|
||||
--add-drivers "btrfs" \
|
||||
--force \
|
||||
"/usr/lib/modules/${NEW_KVER}/initrd" \
|
||||
"/usr/lib/modules/${NEW_KVER}/initramfs.img" \
|
||||
"${NEW_KVER}"
|
||||
|
||||
# Atomic images manage /boot via the bootloader layer; clear any kernel
|
||||
|
||||
Reference in New Issue
Block a user