Skip to content

Fix UID conflict with Ubuntu:24.04#364

Open
alnI3S wants to merge 1 commit intoPX4:masterfrom
alnI3S:master
Open

Fix UID conflict with Ubuntu:24.04#364
alnI3S wants to merge 1 commit intoPX4:masterfrom
alnI3S:master

Conversation

@alnI3S
Copy link

@alnI3S alnI3S commented Jan 27, 2026

clean:

  • remove venv

fix:

  • replace serial by pyserial
  • fix UID conflict with Ubuntu:24.04
  • fix boaty installation command
  • add plugdev to user group

clean:
- remove venv

fix:
- replace serial by pyserial
- fix UID conflict with Ubuntu:24.04
- fix boaty installation command
- add plugdev tu user group
@alnI3S
Copy link
Author

alnI3S commented Jan 28, 2026

  • For Ubuntu Noble there is ubuntu user created by default, if $LOCAL_USER_ID's UID is 1000 it will conflict. So in entrypoint.sh I add a conflict detection and delete ubuntu user if any.
  • former python package serial is replaced by pyserial to fix make <target> upload not detect serial.Serial.
  • add user to plugdev group helps device detection when upload.
  • venv is not necessary.
  • fix bloaty installation with flag -B to create build folder.

In this PR only Jammy and Noble Dockerfiles are updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant