Updating to use dash instead of msh
This commit is contained in:
parent
ae38cd5a0c
commit
c0d5d5c171
@ -16,8 +16,8 @@ do
|
||||
ln -s busybox $STAGE_DIR/sbin/$i
|
||||
done
|
||||
|
||||
# We always get kpartx, dmsetup, lvm and mdadm
|
||||
for i in /sbin/lvm /sbin/kpartx /sbin/mdadm /sbin/dmsetup
|
||||
# We always get dash kpartx, dmsetup, lvm and mdadm
|
||||
for i in /sbin/dash /sbin/lvm /sbin/kpartx /sbin/mdadm /sbin/dmsetup
|
||||
do
|
||||
install_with_deps $i 755
|
||||
done
|
||||
@ -33,4 +33,7 @@ do
|
||||
fi
|
||||
done
|
||||
|
||||
# make dash our default shell
|
||||
$(cd $STAGE_DIR/bin; ln -s /bin/dash sh)
|
||||
|
||||
exit 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/msh
|
||||
#!/bin/sh
|
||||
|
||||
###################################################
|
||||
# Start by setting up the console to work as a user
|
||||
@ -19,7 +19,7 @@ start_udev
|
||||
# Load all the modules based on
|
||||
# /etc/module_load_list
|
||||
##################################################
|
||||
load_all_modules
|
||||
load_modules
|
||||
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/msh
|
||||
#!/bin/sh
|
||||
#kdump-requires: /etc/lvm/lvm.conf
|
||||
#
|
||||
echo "Scanning logical volumes"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/msh
|
||||
#!/bin/sh
|
||||
#kdump-requires: /etc/module_load_list
|
||||
|
||||
echo "Loading modules"
|
||||
|
@ -1,3 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -x /bin/udevd ]
|
||||
then
|
||||
echo "udev isn't installed in this initramfs!"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/msh
|
||||
#!/bin/sh
|
||||
#kdump-requires: /etc/critical-disks
|
||||
|
||||
echo "Waiting for critical disks"
|
||||
|
Loading…
Reference in New Issue
Block a user