index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-09-06 20:39:35 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-09-06 20:39:35 -0500 |
commit | 153550e23b76592e5bbdc1df809dcff196f42765 (patch) | |
tree | af31a5f30ce8e89bc605ce558ca8adaa7c2c4bb9 | |
parent | fa7257340e8b6b492420814efa520cc14c618275 (diff) |
-rw-r--r-- | archiso/Makefile | 20 | ||||
-rw-r--r-- | archiso/hooks/archiso (renamed from hooks/archiso) | 0 | ||||
-rw-r--r-- | archiso/hooks/boot-cd (renamed from hooks/boot-cd) | 0 | ||||
-rw-r--r-- | archiso/hooks/boot-usb (renamed from hooks/boot-usb) | 0 | ||||
-rw-r--r-- | archiso/install/archiso (renamed from install/archiso) | 0 | ||||
-rw-r--r-- | archiso/install/boot-cd (renamed from install/boot-cd) | 0 | ||||
-rw-r--r-- | archiso/install/boot-usb (renamed from install/boot-usb) | 0 |
diff --git a/archiso/Makefile b/archiso/Makefile new file mode 100644 index 0000000..72abd11 --- /dev/null +++ b/archiso/Makefile @@ -0,0 +1,20 @@ +all: + +install: all + # install to sbin since script only usable by root + mkdir -p $(DESTDIR)/usr/sbin + install -m 755 mkarchiso $(DESTDIR)/usr/sbin + install -m 755 mkusbimg $(DESTDIR)/usr/sbin + # testiso can be used by anyone + mkdir -p $(DESTDIR)/usr/bin + install -m 755 testiso $(DESTDIR)/usr/bin + # hooks/install are needed by mkinitcpio + mkdir -p $(DESTDIR)/lib/initcpio/{hooks,install} + install -m 644 hooks/{archiso,boot-cd,boot-usb} $(DESTDIR)/lib/initcpio/hooks/ + install -m 644 install/{archiso,boot-cd,boot-usb} $(DESTDIR)/lib/initcpio/install/ + +uninstall: + rm -f $(DESTDIR)/usr/sbin/mkarchiso + rm -f $(DESTDIR)/usr/bin/testiso + rm -f $(DESTDIR)/lib/initcpio/hooks/{archiso,boot-cd,boot-usb} + rm -f $(DESTDIR)/lib/initcpio/install/{archiso,boot-cd,boot-usb} diff --git a/hooks/archiso b/archiso/hooks/archiso index 8a6b648..8a6b648 100644 --- a/hooks/archiso +++ b/archiso/hooks/archiso diff --git a/hooks/boot-cd b/archiso/hooks/boot-cd index 1670c6b..1670c6b 100644 --- a/hooks/boot-cd +++ b/archiso/hooks/boot-cd diff --git a/hooks/boot-usb b/archiso/hooks/boot-usb index e84dd1c..e84dd1c 100644 --- a/hooks/boot-usb +++ b/archiso/hooks/boot-usb diff --git a/install/archiso b/archiso/install/archiso index 7b58831..7b58831 100644 --- a/install/archiso +++ b/archiso/install/archiso diff --git a/install/boot-cd b/archiso/install/boot-cd index 2d96869..2d96869 100644 --- a/install/boot-cd +++ b/archiso/install/boot-cd diff --git a/install/boot-usb b/archiso/install/boot-usb index 32d451f..32d451f 100644 --- a/install/boot-usb +++ b/archiso/install/boot-usb |