Skip to content

Commit

Permalink
Disable autosuspend for USB devices, preventing usb drives to be stop…
Browse files Browse the repository at this point in the history
…ped and then renamed (#1275)
  • Loading branch information
pavel-shirshov authored Jan 3, 2018
1 parent f8d32aa commit b2109b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/x86_64/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit b2109b0

Please sign in to comment.