
- Adjusts how we remove pacakges. Gentoo maintains a list of packages that the user has requested be installed called "world". By deselecting the packages, we remove them from this list, and at the end, call depclean which will uninstall packages no longer selected or needed as dependencies. - Updates profile logic. We should theoretically be able to support any new gentoo profile, without having to maintain a static list ourself by just updating the base. - Updates CI job to use default profile as determined by the gentoo element. This basically eliminates one more place we need to update profiles on change. - Ensures we install installkernel with USE=+grub so we actually install the kernel - Do not use testing (~amd64) packages unless absolutely neccessary - Fix growroot openrc initscript to use /sbin/openrc-run instead of deprecated-and-now-removed /sbin/runscript. Change-Id: Ie9d2ab67d72114603034374854bb3a3d52de8ca4
devuser
Creates a user that is useful for development / debugging. The following environment variables can be useful for configuration:
Environment Variables
- DIB_DEV_USER_USERNAME
-
- Required
-
No
- Default
-
devuser
- Description
-
Username for the created user.
- DIB_DEV_USER_SHELL
-
- Required
-
No
- Default
-
System default (The useradd default is used)
- Description
-
Full path for the shell of the user. This is passed to useradd using the -s parameter. Note that this does not install the (possibly) required shell package.
- DIB_DEV_USER_PWDLESS_SUDO
-
- Required
-
No
- Default
-
No
- Description
-
Enable passwordless sudo for the user.
- DIB_DEV_USER_AUTHORIZED_KEYS
-
- Required
-
No
- Default
-
$HOME/.ssh/id{rsa,dsa}.pub
- Description
-
Path to a file to copy into this users' .ssh/authorized_keys If this is not specified then an attempt is made to use a the building user's public key. To disable this behavior specify an invalid path for this variable (such as /dev/null).
- DIB_DEV_USER_PASSWORD
-
- Required
-
No
- Default
-
Password is disabled
- Description
-
Set the default password for this user. This is a fairly insecure method of setting the password and is not advised.