[archiso] Rename nbd hook to archiso_nbd

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
Gerardo Exequiel Pozzi 2010-03-17 23:23:13 -03:00
parent 2c00b5508d
commit fffe690a73
5 changed files with 8 additions and 6 deletions

2
README
View File

@ -21,6 +21,8 @@ First off, Archiso has some dependencies:
- aufs2-util (only needed in target media)
- devtools for mkarchroot
- syslinux
- nbd
- mkinitcpio-nfs-utils
Archiso itself can be installed with the handy dandy included Makefile,
and the incantation 'make install'.

View File

@ -8,8 +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 -D -m 644 hooks/archiso_pxe_nbd $(DESTDIR)/lib/initcpio/hooks/archiso_pxe_nbd
install -D -m 644 install/archiso_pxe_nbd $(DESTDIR)/lib/initcpio/install/archiso_pxe_nbd
# install docs and examples
install -d -m 644 $(DESTDIR)/usr/share/archiso/
cp -r ../configs $(DESTDIR)/usr/share/archiso/configs
@ -20,7 +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 -f $(DESTDIR)/lib/initcpio/hooks/archiso_pxe_nbd
rm -f $(DESTDIR)/lib/initcpio/install/archiso_pxe_nbd
rm -rf $(DESTDIR)/usr/share/archiso/
rm -rf $(DESTDIR)/usr/share/doc/archiso/

View File

@ -6,7 +6,7 @@ install ()
BINARIES=""
FILES=""
SCRIPT="nbd"
SCRIPT="archiso_pxe_nbd"
add_binary "/usr/sbin/nbd-client" "/bin/nbd-client"
add_binary "/lib/initcpio/ipconfig" "/bin/ipconfig"

View File

@ -2,5 +2,5 @@
MODULES=""
BINARIES=""
FILES=""
HOOKS="base udev nbd archiso pata scsi sata usb fw pcmcia filesystems usbinput"
HOOKS="base udev archiso_pxe_nbd archiso pata scsi sata usb fw pcmcia filesystems usbinput"
COMPRESSION="lzma"