From 8db3cbda1e8944701a4d85d5f5688c4141e6207b Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 17 Jun 2009 13:44:33 +0200 Subject: [PATCH] 'changed to init_functions' --- etc/archboot/allinone-lowmem.conf | 1 + lib/initcpio/install/arch_base | 1 + lib/initcpio/install/arch_base_lowmem | 1 + usr/share/archboot/base/init | 5 +---- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/archboot/allinone-lowmem.conf b/etc/archboot/allinone-lowmem.conf index 2ca952863..2eb10ede3 100644 --- a/etc/archboot/allinone-lowmem.conf +++ b/etc/archboot/allinone-lowmem.conf @@ -31,3 +31,4 @@ LOCALSETUP="no" # enter here your custom/modified svn tree SVNTREE="" +COMPRESSION="lzma" \ No newline at end of file diff --git a/lib/initcpio/install/arch_base b/lib/initcpio/install/arch_base index 1682b56f3..3a1662fed 100644 --- a/lib/initcpio/install/arch_base +++ b/lib/initcpio/install/arch_base @@ -39,6 +39,7 @@ install () add_file "/usr/share/terminfo/l/linux" add_file "/usr/share/archboot/base/init" "/init" + add_file "/lib/initcpio/init_functions" "/init_functions" add_file "/etc/rc.d/functions" add_file "/usr/share/archboot/base/etc/rc.conf" "/etc/rc.conf" add_file "/etc/rc.d/syslog-ng" diff --git a/lib/initcpio/install/arch_base_lowmem b/lib/initcpio/install/arch_base_lowmem index 7d91f702d..90510eaee 100644 --- a/lib/initcpio/install/arch_base_lowmem +++ b/lib/initcpio/install/arch_base_lowmem @@ -38,6 +38,7 @@ install () add_file "${CONFIG}" "/config" add_file "/usr/share/archboot/base/init" "/init" + add_file "/lib/initcpio/init_functions" "/init_functions" add_file "/usr/share/terminfo/l/linux" add_file "/etc/rc.d/functions" add_file "/usr/share/archboot/base/etc/rc.conf" "/etc/rc.conf" diff --git a/usr/share/archboot/base/init b/usr/share/archboot/base/init index a9fac268d..73381343a 100755 --- a/usr/share/archboot/base/init +++ b/usr/share/archboot/base/init @@ -1,12 +1,9 @@ #!/bin/bash - +. /init_functions # add sh symlink ln -s /bin/bash /bin/sh ln -s /sbin/modprobe /bin/modprobe -msg () { [ "${quiet}" != "y" ] && echo "$@"; } -err () { echo "ERROR: $@"; } - msg ":: Loading Initramfs" /bin/mount -t sysfs none /sys