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