summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-04-25 07:34:44 +0200
committerAaron Griffin <aaron@archlinux.org>2006-04-25 07:34:44 +0200
commit97004aa82d44c0fc90c1b0b49a796cc9b1927032 (patch)
tree13e8bb955ffc77fe8a6aad69a96e1a2c27a17a5a /install
parentea20a441f8fecc9fa84e0e1f12c4b71bf436f872 (diff)
downloadmkinitcpio-97004aa82d44c0fc90c1b0b49a796cc9b1927032.tar.gz
mkinitcpio-97004aa82d44c0fc90c1b0b49a796cc9b1927032.tar.xz
Bug fixes - I broke some things with syntax errors
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@9 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install')
-rw-r--r--install/base8
-rw-r--r--install/ide2
2 files changed, 5 insertions, 5 deletions
diff --git a/install/base b/install/base
index 9cd2030..27edf15 100644
--- a/install/base
+++ b/install/base
@@ -6,11 +6,11 @@ install ()
add_dir "/sys"
add_dir "/dev"
- add_nod "/dev/null" 644 c 1 3
- add_nod "/dev/zero" 644 c 1 5
- add_nod "/dev/console" 644 c 5 1
+ add_device "/dev/null" c 1 3
+ add_device "/dev/zero" c 1 5
+ add_device "/dev/console" c 5 1
- for f in /lib -name klibc-*.so; do
+ for f in $(find /lib -name klibc-*.so); do
add_file $f
done
diff --git a/install/ide b/install/ide
index 1afedd9..cd9625a 100644
--- a/install/ide
+++ b/install/ide
@@ -3,7 +3,7 @@
install ()
{
MODULES=""
- for m in $(all_modules | grep "/ide/");
+ for m in $(all_modules "/ide/");
do
MODULES="$MODULES $(basename $m)"
done