Kaydet (Commit) 9944b30e authored tarafından root's avatar root

fix for ventoy support

üst ac610401
...@@ -7,6 +7,7 @@ generate_rootfs(){ ...@@ -7,6 +7,7 @@ generate_rootfs(){
/busybox mkdir /run /busybox mkdir /run
/busybox --install -s /bin /busybox --install -s /bin
msg 'Creating initrd' msg 'Creating initrd'
/busybox mkdir /dev || true
/busybox mdev -s 2>/dev/null /busybox mdev -s 2>/dev/null
} }
run_modules(){ run_modules(){
......
...@@ -63,7 +63,9 @@ live_config(){ ...@@ -63,7 +63,9 @@ live_config(){
} }
live_boot(){ live_boot(){
# load loop module # load loop module
modprobe loop ||fallback_shell if find /lib/modules | grep "/loop.ko$" ; then
modprobe loop ||fallback_shell
fi
[ "${sfs}" == "" ] && sfs="/main.sfs" [ "${sfs}" == "" ] && sfs="/main.sfs"
if ! [ "${findiso}" == "" ] ; then if ! [ "${findiso}" == "" ] ; then
msg "findiso variable available." msg "findiso variable available."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment