diff options
author | James Meyer <james.meyer@operamail.com> | 2012-09-05 18:29:20 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-09-05 18:29:20 (GMT) |
commit | 8212680e79996335e7546ab3910effd0db26f233 (patch) | |
tree | e7406351d224916d3362344b16af46dbd8c6b2ba /build_tools/archiso/archiso/install/archiso_pxe_nbd | |
parent | 3930cb05d2f26bb3af98591f171c79143c901b65 (diff) | |
download | linhes_dev-8212680e79996335e7546ab3910effd0db26f233.zip |
archiso: new way to build iso
Diffstat (limited to 'build_tools/archiso/archiso/install/archiso_pxe_nbd')
-rw-r--r-- | build_tools/archiso/archiso/install/archiso_pxe_nbd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/build_tools/archiso/archiso/install/archiso_pxe_nbd b/build_tools/archiso/archiso/install/archiso_pxe_nbd new file mode 100644 index 0000000..8d9552a --- /dev/null +++ b/build_tools/archiso/archiso/install/archiso_pxe_nbd @@ -0,0 +1,19 @@ +#!/bin/bash + +build() { + add_module "nbd" + + add_runscript + + add_binary nbd-client + + add_file /usr/lib/initcpio/archiso_pxe_nbd /archiso_pxe_nbd +} + +help() { +cat<<HELPEOF + This hook loads the necessary modules for boot via PXE and NBD. +HELPEOF +} + +# vim: set ft=sh ts=4 sw=4 et: |