Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Adapted from the debian package
- build() {
- local mod
- add_runscript
- add_binary /sbin/iscsistart
- add_file /etc/iscsi/initiatorname.iscsi
- [ -e /etc/iscsi/iscsi.initramfs ] && \
- add_file /etc/iscsi/iscsi.initramfs
- # Add iscsi_ibft when arch add it to standard kernel image (see FS#30110)
- for mod in crc32c libcrc32c iscsi_tcp; do
- add_module $mod
- done
- }
- help() {
- cat <<HELPEOF
- This hook loads the necessary modules for an iscsi root device. Configuration will
- take place at runtime.
- HELPEOF
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement