Skip to content

pmb.config: add sudo to list of required programs

Administrator requested to merge required-program-sudo into master

Makes this not-so-nice error

/pmbootstrap # ./pmbootstrap.py --as-root init
[19:44:28] Location of the 'work' path. Multiple chroots (native, device arch, device rootfs) will be created in there.
[19:44:28] Work path [/root/.local/var/pmbootstrap]: 
[19:44:29] WARNING: Your work folder version needs to be migrated (from version 0 to 5)!
[19:44:29] Changelog:
[19:44:29] * Building chroots have a different username (#709)
[19:44:29] Migration will do the following:
[19:44:29] * Zap your chroots
[19:44:29] * Adjust '/root/.local/var/pmbootstrap/config_abuild/abuild.conf'
[19:44:29] Continue? (y/n) [n]: y
[19:44:31] ERROR: [Errno 2] No such file or directory: 'sudo'
[19:44:31] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.

into this nicer error

[19:45:43] ERROR: Can't find all programs required to run pmbootstrap. Please install first: sudo
[19:45:43] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.

Merge request reports

Loading