gen_initramfs.sh: add /sbin/losetup symlink

This will make possible to remove hardcoded /dev/loop0 paths
master
Fabio Erculiani 11 years ago
parent e4426f1a80
commit 93f04c508b

@ -138,10 +138,11 @@ append_busybox() {
gen_die "Busybox error: could not link ${i}!"
done
local mod_applets="sbin/modprobe sbin/insmod sbin/rmmod bin/lsmod"
local sbin_applets="sbin/modprobe sbin/insmod"
sbin_applets+=" sbin/rmmod bin/lsmod sbin/losetup"
local dir=
local name=
for i in ${mod_applets}; do
for i in ${sbin_applets}; do
dir=$(dirname $i)
name=$(basename $i)
rm -f ${TEMP}/initramfs-busybox-temp/$dir/$name

Loading…
Cancel
Save