diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-05-06 04:20:43 +0200 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-05-06 04:20:43 +0200 |
commit | 69ac59622b5a8c2023f8667966f31a0dd1675adc (patch) | |
tree | c0c9af5aac7b8b1b2fbecec37ba70155c6bbc54b | |
parent | b96bede4d476b5636c14a48b3db529fe26aa758c (diff) | |
download | mkinitcpio-69ac59622b5a8c2023f8667966f31a0dd1675adc.tar.gz mkinitcpio-69ac59622b5a8c2023f8667966f31a0dd1675adc.tar.xz |
Make real source tarball for mkinitcpio
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@72 880c04e9-e011-0410-abf7-b926e227c9cd
-rwxr-xr-x | install.sh | 18 | ||||
-rw-r--r-- | mkinitcpio-0.1-1.pkg.tar.gz | bin | 15418 -> 0 bytes | |||
-rw-r--r-- | mkinitcpio.tar.bz2 | bin | 30087 -> 0 bytes |
3 files changed, 18 insertions, 0 deletions
diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..a704f29 --- /dev/null +++ b/install.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +[ $# -ne 1 ] && echo "install.sh <root install path>" && exit 1 +mkdir -p ${1}/sbin +mkdir -p ${1}/lib/initcpio + +sed -e 's|CONFIG="mkinitcpio.conf"|CONFIG="/etc/mkinitcpio.conf"|g' \ + -e 's|FUNCTIONS="functions"|FUNCTIONS="/lib/initcpio/functions"|g' \ + -e 's|HOOKDIR="hooks"|HOOKDIR="/lib/initcpio/hooks"|g' \ + -e 's|INSTDIR="install"|INSTDIR="/lib/initcpio/install"|g' \ + < mkinitcpio > ${1}/sbin/mkinitcpio +chmod 755 ${1}/sbin/mkinitcpio + +install -D -m644 mkinitcpio.conf ${1}/etc/mkinitcpio.conf +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/ diff --git a/mkinitcpio-0.1-1.pkg.tar.gz b/mkinitcpio-0.1-1.pkg.tar.gz Binary files differdeleted file mode 100644 index 454a6d1..0000000 --- a/mkinitcpio-0.1-1.pkg.tar.gz +++ /dev/null diff --git a/mkinitcpio.tar.bz2 b/mkinitcpio.tar.bz2 Binary files differdeleted file mode 100644 index 2316768..0000000 --- a/mkinitcpio.tar.bz2 +++ /dev/null |