summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2006-10-24 11:42:00 +0200
committerThomas Bächler <thomas@archlinux.org>2006-10-24 11:42:00 +0200
commit9d23efa73ae778e0e70f9bbc44f696d90da387f3 (patch)
treecf291a1df588558ff42b36baf3bdc61686a0304b /install.sh
parent8fe5878427767b06abc9378137f2c826fe610d8d (diff)
downloadmkinitcpio-9d23efa73ae778e0e70f9bbc44f696d90da387f3.tar.gz
mkinitcpio-9d23efa73ae778e0e70f9bbc44f696d90da387f3.tar.xz
- Added mkinitcpio.d to install.sh
- New tarball: 0.5.9 git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@183 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 465af40..401f97f 100755
--- a/install.sh
+++ b/install.sh
@@ -3,6 +3,7 @@
[ $# -ne 1 ] && echo "install.sh <root install path>" && exit 1
mkdir -p ${1}/sbin
mkdir -p ${1}/lib/initcpio
+mkdir -p ${1}/etc
sed -e 's|CONFIG="mkinitcpio.conf"|CONFIG="/etc/mkinitcpio.conf"|g' \
-e 's|FUNCTIONS="functions"|FUNCTIONS="/lib/initcpio/functions"|g' \
@@ -17,3 +18,4 @@ install -D -m755 init ${1}/lib/initcpio/init
install -D -m644 functions ${1}/lib/initcpio/functions
cp -r hooks/ ${1}/lib/initcpio/
cp -r install/ ${1}/lib/initcpio/
+cp -r mkinitcpio.d/ ${1}/etc/mkinitcpio.d