Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/Makefile
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-03-17 10:43:11 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-03-17 11:12:46 -0300
commit830555f71a6ea4fcda93657e7a2220d753f26757 (patch)
treef852552991065beac6c2fb9dcdcb395ef2e01939 /archiso/Makefile
parentd875052f56f236ba2e8e6a7085ddb57258e1ead3 (diff)
[archiso] Add nbd hook, to make posible boot archiso from PXE via a NBD.
nbd (network block device utilities) package is required. This package is in AUR at this moment: http://aur.archlinux.org/packages.php?ID=9691 Also mkinitcpio-nfs-utils is required for ipconfig. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/Makefile')
-rw-r--r--archiso/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/archiso/Makefile b/archiso/Makefile
index a109547..ba887e6 100644
--- a/archiso/Makefile
+++ b/archiso/Makefile
@@ -8,6 +8,8 @@ install: all
# hooks/install are needed by mkinitcpio
install -D -m 644 hooks/archiso $(DESTDIR)/lib/initcpio/hooks/archiso
install -D -m 644 install/archiso $(DESTDIR)/lib/initcpio/install/archiso
+ install -D -m 644 hooks/nbd $(DESTDIR)/lib/initcpio/hooks/nbd
+ install -D -m 644 install/nbd $(DESTDIR)/lib/initcpio/install/nbd
# install docs and examples
install -d -m 644 $(DESTDIR)/usr/share/archiso/
cp -r ../configs $(DESTDIR)/usr/share/archiso/configs
@@ -18,5 +20,7 @@ uninstall:
rm -f $(DESTDIR)/usr/bin/testiso
rm -f $(DESTDIR)/lib/initcpio/hooks/archiso
rm -f $(DESTDIR)/lib/initcpio/install/archiso
+ rm -f $(DESTDIR)/lib/initcpio/hooks/nbd
+ rm -f $(DESTDIR)/lib/initcpio/install/nbd
rm -rf $(DESTDIR)/usr/share/archiso/
rm -rf $(DESTDIR)/usr/share/doc/archiso/