Skip to content

Latest commit

 

History

History
101 lines (75 loc) · 3.01 KB

9Upgrade-Notes.md

File metadata and controls

101 lines (75 loc) · 3.01 KB

Migrating to sdm v9

This page should answer most questions about switching from sdm v8 or earlier to v9.

Why convert all these switches to plugins?

As sdm has acquired functionality, the number of switches grew without bound, which creates user adoption issues (wow! there are so many switches), as well as adding complexity to adding new features. In the non-plugin model, at least 3, and sometimes more scripts required modification to add a new feature.

Now, all the functionality for a particular plugin is encapsulated in a single script. This simplifies usage, code, documentation, and future improvements.

What plugin is this switch in?

Each relocated switch is an argument with the same name, unless specifically mentioned otherwise. The values for each argument are the same as the switch values, with a couple of special notes:

  • Each argument can only be specified once in a plugin argument list, but many of the arguments take a list of something or another. See the plugin documentation for details.
  • Plugins can be provided multiple times on the command line if desired, and can be used on both customize and burn

These switches have relocated to the system plugin (Documentation)

  • --cron-d
  • --cron-hourly
  • --cron-daily
  • --cron-weekly
  • --cron-monthly
  • --cron-systemd
  • --eeprom
  • --exports
  • --fstab
  • --journal
  • --modprobe
  • --motd
  • --rclocal
  • --sysctl
  • --systemd-config
  • --swap
  • --udev
  • --svc*disable
  • --svc*enable

These switches have relocated to the bootconfig plugin (Documentation)

  • --bootadd
  • --bootconfig
  • --dtoverlay
  • --dtparam
  • --hdmigroup
  • --hdmimode
  • --hdmi-force-hotplug
  • --hdmi-ignore-edid

This switch is in the disables plugin (Documentation)

  • --disable

This switch is in the raspiconfig plugin (Documentation)

  • --bootset

These switches have relocated to the L10n plugin (Documentation)

  • --keymap
  • --locale
  • --timezone
  • --L10n

These switches have relocated to the user plugin (Documentation)

  • --user
  • --nouser
  • --nopassword
  • --uid
  • --password-pi
  • --password-user
  • --password-root
  • --password-same
  • --rename-pi
  • --rootpwd

These switches are in the lxde plugin (Documentation)

  • --lxde-config
  • --lhmouse

These switches are in the network plugin (Documentation)

  • --netman
  • --dhcpcdwait
  • --dhcpcd
  • --ssh
  • --wificountry
  • --wpa

What is the replacement for this plugin?

  • adduser — The adduser plugin is now the user plugin
  • burnpwd — The user plugin includes the ability to prompt for a user's password