Disable autosuspend for USB devices, preventing usb drives to be stopped and then renamed (#1275)
This commit is contained in:
parent
f8d32aa9f1
commit
b2109b0cec
@ -551,7 +551,7 @@ menuentry '$demo_grub_entry' {
|
||||
insmod ext2
|
||||
linux /$image_dir/boot/vmlinuz-3.16.0-4-amd64 root=$grub_cfg_root rw $GRUB_CMDLINE_LINUX \
|
||||
loop=$image_dir/$FILESYSTEM_SQUASHFS loopfstype=squashfs \
|
||||
apparmor=1 security=apparmor varlog_size=$VAR_LOG_SIZE $ONIE_PLATFORM_EXTRA_CMDLINE_LINUX
|
||||
apparmor=1 security=apparmor varlog_size=$VAR_LOG_SIZE usbcore.autosuspend=-1 $ONIE_PLATFORM_EXTRA_CMDLINE_LINUX
|
||||
echo 'Loading $demo_volume_label $demo_type initial ramdisk ...'
|
||||
initrd /$image_dir/boot/initrd.img-3.16.0-4-amd64
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user