diff options
| -rwxr-xr-x | builder/dnbd3-rootfs/module-setup.sh | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/builder/dnbd3-rootfs/module-setup.sh b/builder/dnbd3-rootfs/module-setup.sh index c92f1294..4dd3f3dc 100755 --- a/builder/dnbd3-rootfs/module-setup.sh +++ b/builder/dnbd3-rootfs/module-setup.sh @@ -20,7 +20,7 @@ check() { depends() { echo base network bash kernel-modules - # Should be used if it would work btrfs + # NOTE: btrfs module should be used if it would work. } installkernel() { @@ -29,8 +29,22 @@ installkernel() { inst "$moddir/binaries/nbd/nbd.ko" \ /usr/lib/modules/current/extra/nbd.ko - # NOTE: btrfs crc32c are included by the btrfs dracut module - instmods ext4 dm_snapshot btrfs crc32c + # Debugging: + instmods cfg80211 rfkill vboxsf nls_iso8859_1 ppdev nls_cp437 iosf_mbi \ + vfat fat snd_intel8x0 crct10dif_pclmul crc32_pclmul input_leds \ + led_class aesni_intel evdev aes_x86_64 lrw joydev gf128mul \ + snd_ac97_codec glue_helper ablk_helper cryptd psmouse ac97_bus \ + snd_pcm vboxvideo mousedev serio_raw pcspkr mac_hid snd_timer battery \ + video snd ac acpi_cpufreq processor button parport_pc e1000 parport \ + drm intel_agp soundcore intel_gtt vboxguest i2c_piix4 sch_fq_codel \ + ip_tables x_tables hid_generic usbhid hid xor raid6_pq sr_mod \ + cdrom sd_mod ata_generic pata_acpi atkbd libps2 i8042 serio ohci_pci \ + ohci_hcd crc32c_intel usbcore ahci usb_common libahci ata_piix libata \ + scsi_mod \ + ext4 dm_snapshot btrfs crc32c + # Production: + # instmods ext4 dm_snapshot btrfs crc32c + # NOTE: btrfs crc32c should usually be included by the btrfs dracut module. } install() { @@ -82,8 +96,7 @@ install() { # 'prepare-disks' to do then format/mount/use them #inst "$moddir/udev/70-openslx-disk.rules" /etc/udev/rules.d/70-openslx-disk.rules - # Debugging Uncomment this version if you need some useful debugging tools - # in your iniramfs. + # Debugging: inst_multiple lsblk ping ip ifconfig sshd htop tail head cat vim \ touch sed lsmod sleep route wget find lsof strace chroot switch_root \ pivot_root mount fdisk mkfs.xfs \ |
