Skip to content

Usability suggestion: Installed Packages customization makes it easy to create a brick-able build #47

@itsthejb

Description

@itsthejb

Hi everyone,

First of all, thanks for the great work on this project and everything associated! I recently tried out some more advanced functionality (firmware selector customized builds), and managed to shoot myself in the foot rather easily. However, it seems like this could be inspiration for a user-friendliness improvement?

  • The customized build Installed Packages functionality allows adding additional packages to the image
  • However, the way this is implemented in the web interface makes it very easy to accidentally create a build that is missing critical packages

Steps

  • Attempt to paste a complete set of desired packages into the text field
  • Make some error, resulting in leaving out a critical package (for example procd)
  • Request Build
  • Flash image

Expected behaviour

  • Either it is not possible to remove critical packages, or some warning is emitted

Actual behaviour

  • Build validation is performed; however this does not do anything to protect against missed critical packages. The uninformed user may falsely assume that this validation provides some kind of protection of this kind

Suggested improvements

It seems this problem could be fixed in a simply (adjusting the UI) or more deeply (build validation). Probably it's enough to just adjust the UI:

  • Split Installed Packages into two boxes: one which is Essential Packages which is pre-filled with the contents for each device as now. Then have another Extra/User Packages which starts out empty. Here the user can add their desired packages and reduce the risk of accidentally changing the essential packages. Added packages then becomes the union of these two sets of packages
  • As an additional layer of protection, how about something like requiring a checkbox to enable the Essential Packages field?

Overall I understand that this is advanced functionality. However, mistakes can happen and it seems like this can protected against with some minor changes. I would create a patch myself, but I'm afraid web dev is not my speciality 🙃

Thanks in advance!

Related forum post: https://forum.openwrt.org/t/solved-bricked-fritz-box-7530-customized-sysupgrade-missing-critical-packages/211748

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions